Sentence Similarity
sentence-transformers
Safetensors
roberta
feature-extraction
Generated from Trainer
dataset_size:102174
loss:TripletLoss
Eval Results (legacy)
Instructions to use tranhuudan-fullstack-ai-engineer/model_stage1 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_stage1 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("tranhuudan-fullstack-ai-engineer/model_stage1") sentences = [ "tôi nghĩ là tôi đã đọc rất nhiều về những đứa trẻ cồn của hội_chứng nghiện rượu mà tôi không biết cô có nghe nói về điều đó hay không", "Tôi đã đọc rất nhiều về cách uống rượu là thực_sự tốt cho trẻ_em .", "Tôi đã đọc về những đứa trẻ của Alcoholics , anh có quen với hội_chứng đó không ?", "Bộ trang_phục cá_nhân không phải là giá rẻ ." ] 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!