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 | |
``` |