Skip to content

Commit

Permalink
ci: bump Transformers to 4.37.2 in 1.x (#6849)
Browse files Browse the repository at this point in the history
* bump transformers to 4.37.2

* rename relnotes

* use 4.37.2

* upgrade inference group
  • Loading branch information
anakin87 authored Jan 30, 2024
1 parent 956bb63 commit 29f95be
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ dependencies = [
"requests",
"httpx",
"pydantic<2",
"transformers==4.36.2",
"transformers==4.37.2",
"pandas",
"rank_bm25",
"scikit-learn>=1.3.0", # TF-IDF and metrics
Expand Down Expand Up @@ -86,7 +86,7 @@ dependencies = [

[project.optional-dependencies]
inference = [
"transformers[torch,sentencepiece]==4.36.2",
"transformers[torch,sentencepiece]==4.37.2",
"sentence-transformers>=2.2.0", # See haystack/nodes/retriever/_embedding_encoder.py, _SentenceTransformersEmbeddingEncoder
"huggingface-hub>=0.5.0",
]
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
enhancements:
- |
Upgrade Transformers to the latest version 4.37.2.
This version adds support for the Phi-2 and Qwen2 models and improves support for quantization.

0 comments on commit 29f95be

Please sign in to comment.