Sentence Similarity
sentence-transformers
Safetensors
modernbert
feature-extraction
dense
Generated from Trainer
dataset_size:21543
loss:CoSENTLoss
Eval Results (legacy)
text-embeddings-inference
Instructions to use 8Opt/mmbert-sts-0003-0001 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use 8Opt/mmbert-sts-0003-0001 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("8Opt/mmbert-sts-0003-0001") sentences = [ "Đó là sự thật, tôi rất mong được rời đi.", "Đó là sự thật, tôi mong chờ được thả họ.", "Một cô bé mặc áo khoác màu xanh lá cây và một cậu bé cầm một chiếc xe trượt tuyết màu đỏ đang nằm trong tuyết", "điều tra cáo buộc sử dụng vũ khí hóa học ở Syria" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!