asg017 commited on
Commit
f8ba9c3
1 Parent(s): 6e72bc1

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +20 -3
README.md CHANGED
@@ -1,3 +1,20 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ ---
4
+
5
+
6
+ `sentence-transformers==2.7.0`
7
+
8
+ ```
9
+ $ cat load.py
10
+ from sentence_transformers import SentenceTransformer
11
+ model = SentenceTransformer("sentence-transformers/all-MiniLM-L6-v2")
12
+ $ TRANSFORMERS_CACHE=$PWD/cache python load.py
13
+ ```
14
+
15
+ ```
16
+ ./llama.cpp/convert-hf-to-gguf.py \
17
+ cache/models--sentence-transformers--all-MiniLM-L6-v2/snapshots/e4ce9877abf3edfe10b0d82785e83bdcb973e22e/ \
18
+ --outfile all-MiniLM-L6-v2.e4ce9877.{ftype}.gguf \
19
+ --outtype=f32
20
+ ```