Sentence Similarity
sentence-transformers
Safetensors
xlm-roberta
feature-extraction
dense
Generated from Trainer
dataset_size:127618
loss:MultipleNegativesRankingLoss
Eval Results (legacy)
text-embeddings-inference
Instructions to use meandyou200175/E5_v3_4_instruct_topic with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use meandyou200175/E5_v3_4_instruct_topic with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("meandyou200175/E5_v3_4_instruct_topic") sentences = [ "task: sentence similarity | query: Cho dù bạn đang gia hạn bảo hiểm hiện tại, là người mới đủ tiêu chuẩn hay là người mới học lái xe, nếu bạn mua một chiếc xe được xếp hạng bảo hiểm ô tô nhóm 1 thì phí bảo hiểm của bạn sẽ thấp nhất có thể đối với bất kỳ loại ô tô nào có sẵn ở Vương quốc Anh.", "Bảo hiểm ô tô nhóm 1 ở Anh", "Du lịch Việt Nam", "đồng đảng với lũ kẻ cướp" ] 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!