mbochniak01 Claude Sonnet 4.6 commited on
Commit ·
b2eeefb
1
Parent(s): a42a9e0
Pin transformers<4.46.0 to fix Vectara HHEM v2 compatibility
Browse filestransformers 4.46+ added all_tied_weights_keys to PreTrainedModel;
Vectara's custom modeling_hhem_v2.py only implements _tied_weights_keys,
causing an AttributeError at model load time.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- requirements.txt +1 -0
requirements.txt
CHANGED
|
@@ -3,6 +3,7 @@ fastapi>=0.115.0
|
|
| 3 |
uvicorn[standard]>=0.30.0
|
| 4 |
pyyaml>=6.0
|
| 5 |
sentence-transformers>=3.0.0
|
|
|
|
| 6 |
scikit-learn>=1.5.0
|
| 7 |
numpy>=1.26.0
|
| 8 |
python-multipart>=0.0.9
|
|
|
|
| 3 |
uvicorn[standard]>=0.30.0
|
| 4 |
pyyaml>=6.0
|
| 5 |
sentence-transformers>=3.0.0
|
| 6 |
+
transformers>=4.40.0,<4.46.0
|
| 7 |
scikit-learn>=1.5.0
|
| 8 |
numpy>=1.26.0
|
| 9 |
python-multipart>=0.0.9
|