Downloads · 30 days
27
1% of all-time downloads
liujiarik/lim_base_zh
lim_base_zh is a feature extraction model from liujiarik. Use it when you need embeddings to search or compare text. It is set up for transformers. The card lists the license as apache-2.0.
Lim is a general text embedding model(chinese),We are continuously optimizing it.
Downloads · 30 days
27
1% of all-time downloads
All-time downloads
4.6K
Public
Repo size
818 MB
Likes
1
Public
Click a slice to open those files.
.bin409 MB · 100%
From the Hugging Face model README
Lim is a general text embedding model(chinese),We are continuously optimizing it.
『2023-12-22』Published lim_base_zh_v0 model
Using this model becomes easy when you have sentence-transformers installed:
pip install -U sentence-transformers
Then you can use the model like this:
model_name="liujiarik/lim_base_zh"
from sentence_transformers import SentenceTransformer
sentences = ['我换手机号了', '如果我换手机怎么办?']
model = SentenceTransformer(model_name)
embeddings = model.encode(sentences)
print(embeddings)