File tree 2 files changed +15
-18
lines changed
2 files changed +15
-18
lines changed Original file line number Diff line number Diff line change 2
2
3
3
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:
4
4
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.
9
8
10
9
## What follows is the original repository's readme file. Ignore the quantization section, however, becuase pytorch has changed its API since then.
11
10
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments