Skip to content

Commit 355a77b

Browse files
authored
fix: pin huggingface_hub<0.16 for sentence-transformers 2.2.2 compatibility
sentence-transformers==2.2.2 imports cached_download from huggingface_hub, which was removed in huggingface_hub 0.26. Fresh builds have been failing at get_vectors.py import time since late 2024; this pin restores the previously-working dependency set. Verified end-to-end with docker build --no-cache and the bundled tests/data/ sample: the full pipeline embeds, aligns, and produces non-empty .train_cleaned output.
1 parent c5a0d77 commit 355a77b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
sentence-transformers==2.2.2
22
pyewts==0.2.0
33
Cython==0.29.34
4+
huggingface_hub<0.16

0 commit comments

Comments
 (0)