Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Oct 14, 2025

Updates the requirements on sentence-transformers to permit the latest version.

Release notes

Sourced from sentence-transformers's releases.

v5.1.1 - Explicit incorrect arguments, fixes for multi-GPU, evaluator, and hard negative

This patch makes Sentence Transformers more explicit with incorrect arguments and introduces some fixes for multi-GPU processing, evaluators, and hard negatives mining.

Install this version with

# Training + Inference
pip install sentence-transformers[train]==5.1.1
Inference only, use one of:
pip install sentence-transformers==5.1.1
pip install sentence-transformers[onnx-gpu]==5.1.1
pip install sentence-transformers[onnx]==5.1.1
pip install sentence-transformers[openvino]==5.1.1

Error if unused kwargs is passed & get_model_kwargs (#3500)

Some SentenceTransformer or SparseEncoder models support custom model-specific keyword arguments, such as jinaai/jina-embeddings-v4. As of this release, calling model.encode with keyword arguments that aren't used by the model will result in an error.

>>> from sentence_transformers import SentenceTransformer
>>> model = SentenceTransformer("all-MiniLM-L6-v2")
>>> model.encode("Who is Amelia Earhart?", normalize=True)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "[sic]/torch/utils/_contextlib.py", line 116, in decorate_context
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "[sic]/SentenceTransformer.py", line 983, in encode
    raise ValueError(
ValueError: SentenceTransformer.encode() has been called with additional keyword arguments that this model does not use: ['normalize']. As per SentenceTransformer.get_model_kwargs(), this model does not accept any additional keyword arguments.

Quite useful when you, for example, accidentally forget that the parameter to get normalized embeddings is normalize_embeddings. Prior to this version, this parameter would simply quietly be ignored.

To check which custom extra keyword arguments may be used for your model, you can call the new get_model_kwargs method:

>>> from sentence_transformers import SentenceTransformer, SparseEncoder
>>> SentenceTransformer("all-MiniLM-L6-v2").get_model_kwargs()
[]
>>> SentenceTransformer("jinaai/jina-embeddings-v4", trust_remote_code=True).get_model_kwargs()
['task', 'truncate_dim']
>>> SparseEncoder("opensearch-project/opensearch-neural-sparse-encoding-doc-v3-distill").get_model_kwargs()
['task']

Note: You can always pass the task parameter, it's the only model-specific parameter that will be quietly ignored. This means that you can always use model.encode(..., task="query") and model.encode(..., task="document").

Minor Features

... (truncated)

Commits
  • 22ff509 Release v5.1.1
  • 5ad8a44 Merge branch 'master' into v5.1-release
  • 1def8d3 Fix the number of missing negatives in mine_hard_negatives (#3504)
  • 2e077fb fix: add makedirs to informationretrievalevaluator (#3516)
  • 20c4820 Fix:Import SentenceTransformer class explicitly in losses module (#3521)
  • 7240b33 [feat] add get_model_kwargs method; throw error if unused kwarg is passed (...
  • 560cc33 always pass input_ids, attention_mask, token_type_ids, inputs_embeds ...
  • bd91098 Update rasyosef/splade-mini MSMARCO and BEIR-13 benchmark scores in pretraine...
  • ad8d27d Add Support for Knowledgeable Passage Retriever (KPR) (#3495)
  • 5b18f36 [feat] Use encode_document and encode_query in mine_hard_negatives (#3502)
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

isc-tdyar and others added 30 commits June 21, 2025 06:09
Production-ready RAG system with multiple techniques:
- Basic RAG, ColBERT, NodeRAG, GraphRAG, HyDE, CRAG, Hybrid IFind
- Schema Manager with automated migrations
- Environment-aware configuration system
- IRISVectorStore with LangChain compatibility
- ObjectScript integration via Embedded Python
- Comprehensive test coverage with real data validation
- Developer-focused APIs and documentation

Built on InterSystems IRIS with enterprise-scale performance.
Content updated:

Files:
- docs/README.md
- .dockerignore
- .gitignore

Directories:
- iris_rag/
- config/
- data/
- nodejs/
- objectscript/
- tests/

Synced at: 2025-06-24 14:16:13
Content updated:

Files:
- README.md
- module.xml

Synced at: 2025-06-24 14:32:14
Content updated:

Files:
- docs/MCP_INTEGRATION_GUIDE.md
- module.xml

Synced at: 2025-06-24 15:12:14
Content updated:

Files:
- README.md
- docs/README.md
- docs/MCP_INTEGRATION_GUIDE.md
- pyproject.toml
- setup.py
- requirements.txt
- docker-compose.yml
- .dockerignore
- .gitignore
- .gitattributes
- activate_env.sh
- module.xml

Directories:
- common/
- iris_rag/
- rag_templates/
- config/
- schema/
- data/
- eval/
- nodejs/
- objectscript/
- tests/
- scripts/examples/

Synced at: 2025-07-18 11:35:20
Content updated:

Files:
- .gitignore
- module.xml

Directories:
- iris_rag/

Synced at: 2025-07-22 15:04:05
sync: update from internal GitLab repository
refactor: remove node modules and .vscode from github, dos2unix to ch…
Content updated:

Files:
- README.md
- ROADMAP.md
- pyproject.toml
- requirements.txt
- Makefile
- pytest.ini
- .gitignore
- module.xml
- CHANGELOG.md

Directories:
- common/
- iris_rag/
- rag_templates/
- config/
- docs/
- quick_start/
- tools/
- examples/
- scripts/
- data/
- nodejs/
- objectscript/
- tests/

Synced at: 2025-08-02 13:49:29
Content updated:

Files:
- README.md
- module.xml

Directories:
- docs/

Synced at: 2025-08-02 14:08:12
Content updated:

Files:
- module.xml

Synced at: 2025-08-02 14:19:33
Content updated:

Files:
- module.xml

Synced at: 2025-08-02 14:33:47
Content updated:

Files:
- module.xml

Synced at: 2025-08-02 14:50:24
Content updated:

Files:
- module.xml

Synced at: 2025-08-02 14:54:09
Content updated:

Files:
- module.xml

Synced at: 2025-08-02 15:02:55
tom-dyar and others added 23 commits August 2, 2025 20:40
Content updated:

Directories:
- objectscript/

Synced at: 2025-08-02 20:40:51
Content updated:

Directories:
- objectscript/

Synced at: 2025-08-02 21:12:29
Content updated:

Files:
- docker-compose.yml

Synced at: 2025-08-02 21:17:52
Content updated:

Files:
- ROADMAP.md

Directories:
- docs/
- objectscript/

Synced at: 2025-08-02 21:38:15
Content updated:

Directories:
- objectscript/

Synced at: 2025-08-02 23:06:29
Content updated:

Files:
- module.xml

Directories:
- scripts/
- objectscript/
- tests/

Synced at: 2025-08-03 07:28:14
Content updated:

Files:
- module.xml

Synced at: 2025-08-03 07:36:29
Content updated:

Files:
- module.xml

Synced at: 2025-08-03 07:39:15
Content updated:

Directories:
- objectscript/

Synced at: 2025-08-03 07:51:11
- Intelligent brace validation prevents compilation errors
- Handles legitimate ObjectScript Try/Catch patterns
- Catches problematic consecutive closing braces
- Closes validation gap that allowed GitHub CI failures
Content updated:

Directories:
- objectscript/

Synced at: 2025-08-03 08:15:39
Content updated:

Files:
- docker-compose.yml

Directories:
- common/
- iris_rag/
- config/
- docs/
- scripts/
- objectscript/
- tests/

Synced at: 2025-08-03 16:11:14
Content updated:

Files:
- module.xml

Directories:
- scripts/
- objectscript/

Synced at: 2025-08-03 16:51:07
Content updated:

Directories:
- objectscript/

Synced at: 2025-08-03 17:04:50
Content updated:

Directories:
- objectscript/

Synced at: 2025-08-03 17:19:54
Content updated:

Files:
- module.xml

Directories:
- docs/
- objectscript/

Synced at: 2025-08-04 08:05:35
…tory

- OBJECTSCRIPT_SYNTAX_LEARNING_REPORT.md contains internal learning notes
- Should not be publicly visible in community repository
- Added to sync script exclusion patterns to prevent future syncing
Content updated:

Files:
- module.xml

Synced at: 2025-08-04 08:29:45
Content updated:

Files:
- module.xml

Directories:
- scripts/

Synced at: 2025-08-04 09:03:57
- Create requirements-docker.txt with minimal dependencies for IRIS compilation
- Remove invalid PyTorch 2.7.0 version requirement that doesn't exist
- Eliminate heavy ML dependencies that cause Docker build memory issues
- Keep only essential IRIS and database connectivity packages
- Update Dockerfile to use requirements-docker.txt instead of full requirements.txt
- This fixes the Docker build failure: 'pip3 install -r requirements.txt' step

The Docker CI now focuses on ObjectScript/ZPM compilation rather than full ML environment setup.
Content updated:

Files:
- .gitignore

Directories:
- objectscript/

Synced at: 2025-08-05 15:38:51
Implemented production-ready fixture management system providing:
- Fast .DAT fixture loading (100-200x faster than JSON)
- SHA256 checksum validation for data integrity
- Semantic versioning with migration history tracking
- Session-wide state tracking to prevent schema loops
- pytest integration with automatic cleanup

Core Implementation:
- FixtureManager class (1048 lines) with complete API
- Support for .DAT, JSON, and programmatic fixtures
- Version management and incremental migrations
- iris-devtools integration for binary fixture loading

Test Coverage:
- 40 unit tests (100% passing)
- 105 contract tests (all validated)
- 6 integration tests (migrations, state tracking)

Documentation:
- tests/fixtures/USAGE_GUIDE.md - comprehensive usage guide
- tests/fixtures/TROUBLESHOOTING.md - problem-solving guide
- tests/fixtures/README.md - main documentation
- Updated CLAUDE.md with fixture infrastructure section

Performance:
- .DAT loading: 0.05-2.5s for 10-1000 entities
- JSON loading: 5-450s for same data
- Speedup: 100-200x faster

Public Repository Sync Infrastructure:
- Automated redaction system (614 replacements across 92 files)
- One-command sync script (scripts/sync_to_sanitized.sh)
- Complete documentation (docs/PUBLIC_REPOSITORY_SYNC.md)
- Strategy analysis for public repository approaches
- AI assistant files excluded from public sync

API Example:
  manager = FixtureManager()
  result = manager.load_fixture('medical-graphrag-20')

See tests/fixtures/README.md for complete documentation.
Updates the requirements on [sentence-transformers](https://github.com/UKPLab/sentence-transformers) to permit the latest version.
- [Release notes](https://github.com/UKPLab/sentence-transformers/releases)
- [Commits](huggingface/sentence-transformers@v2.3.0...v5.1.1)

---
updated-dependencies:
- dependency-name: sentence-transformers
  dependency-version: 5.1.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Oct 14, 2025

Labels

The following labels could not be found: dependencies, python. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@dependabot dependabot bot changed the base branch from master to main November 6, 2025 17:25
@isc-tdyar isc-tdyar closed this Nov 8, 2025
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Nov 8, 2025

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/pip/sentence-transformers-gte-2.3-and-lt-6 branch November 8, 2025 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants