Sentence Similarity
sentence-transformers
Safetensors
roberta
feature-extraction
Generated from Trainer
dataset_size:11498
loss:CosineSimilarityLoss
Eval Results (legacy)
Instructions to use tranhuudan-fullstack-ai-engineer/model_stage4_v2_new_draft with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use tranhuudan-fullstack-ai-engineer/model_stage4_v2_new_draft with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("tranhuudan-fullstack-ai-engineer/model_stage4_v2_new_draft") sentences = [ "Prince, người đứng đầu ngân hàng đầu tư và doanh nghiệp toàn cầu của Citigroup, sẽ thay thế Sanford Weill làm CEO.", "Lực lượng Israel bắt giữ nghị sĩ Palestine ở Hebron", "Chứng khoán Trung Quốc đóng cửa cao hơn vào thứ Ba", "Trung Quốc không còn là điểm đến đầu tư hàng đầu: thăm dò ý kiến" ] 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!