liujiarik commited on
Commit
268222b
1 Parent(s): f139b09

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +26 -0
README.md CHANGED
@@ -1,3 +1,29 @@
1
  ---
2
  license: apache-2.0
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: apache-2.0
3
  ---
4
+ ## Model Details
5
+ Lim is a general text embedding model(chinese),We are continuously optimizing it.
6
+
7
+ ## History
8
+ 『2023-12-22』Published lim_base_zh_v0 model
9
+
10
+
11
+ ## Usage (Sentence-Transformers)
12
+
13
+ Using this model becomes easy when you have [sentence-transformers](https://www.SBERT.net) installed:
14
+
15
+ ```
16
+ pip install -U sentence-transformers
17
+ ```
18
+
19
+ Then you can use the model like this:
20
+
21
+ ```python
22
+ model_name="liujiarik/lim_base_zh"
23
+ from sentence_transformers import SentenceTransformer
24
+ sentences = ['我换手机号了', '如果我换手机怎么办?']
25
+
26
+ model = SentenceTransformer('{MODEL_NAME}')
27
+ embeddings = model.encode(sentences)
28
+ print(embeddings)
29
+ ```