File size: 472 Bytes
f8ba9c3 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
---
license: mit
---
`sentence-transformers==2.7.0`
```
$ cat load.py
from sentence_transformers import SentenceTransformer
model = SentenceTransformer("sentence-transformers/all-MiniLM-L6-v2")
$ TRANSFORMERS_CACHE=$PWD/cache python load.py
```
```
./llama.cpp/convert-hf-to-gguf.py \
cache/models--sentence-transformers--all-MiniLM-L6-v2/snapshots/e4ce9877abf3edfe10b0d82785e83bdcb973e22e/ \
--outfile all-MiniLM-L6-v2.e4ce9877.{ftype}.gguf \
--outtype=f32
``` |