Skip to content

Commit

Permalink
Update transformers
Browse files Browse the repository at this point in the history
  • Loading branch information
vblagoje committed Nov 11, 2024
1 parent a7005f6 commit 1bc3940
Showing 1 changed file with 2 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.39.3",
"transformers>=4.46,<5.0",
"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.39.3",
"transformers[torch,sentencepiece]>=4.46,<5.0",
"sentence-transformers<=3.0.0,>=2.3.1", # See haystack/nodes/retriever/_embedding_encoder.py, _SentenceTransformersEmbeddingEncoder
"huggingface-hub>=0.5.0",
]
Expand Down

0 comments on commit 1bc3940

Please sign in to comment.