Downloads · 30 days
35
1% of all-time downloads
Pristinenlp/alime-embedding-large-zh
alime-embedding-large-zh is a feature extraction model from Pristinenlp. Use it when you need embeddings to search or compare text. It is set up for transformers.
Downloads · 30 days
35
1% of all-time downloads
All-time downloads
6.6K
Public
Repo size
2.6 GB
Likes
4
Public
Click a slice to open those files.
.bin1.3 GB · 100%
From the Hugging Face model README
The alime embedding model.
<!--- Describe your model here -->Using this model becomes easy when you have sentence-transformers installed:
pip install -U sentence-transformers
Then you can use the model like this:
from sentence_transformers import SentenceTransformer
sentences = ["西湖在哪?", "西湖风景名胜区位于浙江省杭州市"]
model = SentenceTransformer('Pristinenlp/alime-embedding-large-zh')
embeddings = model.encode(sentences, normalize_embeddings=True)
print(embeddings)