Skip to content

Commit 5ede346

Browse files
authored
Merge branch 'main' into main
2 parents 0e14f12 + 882336b commit 5ede346

File tree

2 files changed

+15
-18
lines changed

2 files changed

+15
-18
lines changed

README.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@
22

33
This is a fork for the Instructor model becuase the original repository isn't kept up anymore. I've also made some improvements to their source code:
44

5-
1) Fixing it to work with versions of the ```sentence-transformers``` library after version 2.2.2
6-
> The original only supports version 2.2.2.
7-
2) Properly download the models from huggingface.
8-
3) Ability to use the model downloaded to a folder on your computer - not ALWAYS having to download from Huggingface.
5+
1) Fixing it to work with the ```sentence-transformers``` library above 2.2.2.
6+
2) Properly download the models from huggingface using the new "snapshot download" API.
7+
3) Ability to specify where you want the model donwloaded with the "cache_dir" parameter.
98

109
## What follows is the original repository's readme file. Ignore the quantization section, however, becuase pytorch has changed its API since then.
1110

requirements.txt

+12-14
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
1-
transformers==4.20.0
2-
datasets>=2.2.0
3-
pyarrow==8.0.0
4-
jsonlines
5-
numpy
6-
requests>=2.26.0
7-
scikit_learn>=1.0.2
8-
scipy
9-
sentence_transformers>=2.3.0
10-
torch
11-
tqdm
12-
rich
13-
tensorboard
14-
huggingface-hub>=0.19.0
1+
transformers>=4.20,<5.0
2+
datasets>=2.20,<3.0
3+
pyarrow>=17.0,<18.0
4+
numpy>=1.0,<=1.26.4
5+
requests>=2.26,<3.0
6+
scikit_learn>=1.0.2,<2.0
7+
scipy>=1.14,<2.0
8+
sentence-transformers>=3.0.1,<4.0
9+
torch>=2.0
10+
tqdm>=4.0,<5.0
11+
rich>=13.0,<14.0
12+
huggingface-hub>=0.24.1

0 commit comments

Comments
 (0)