Sentence Similarity
sentence-transformers
Safetensors
xlm-roberta
feature-extraction
dense
Generated from Trainer
dataset_size:8352
loss:MultipleNegativesRankingLoss
Eval Results (legacy)
text-embeddings-inference
Instructions to use thaiquangphat/edukg_retrieval with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use thaiquangphat/edukg_retrieval with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("thaiquangphat/edukg_retrieval") sentences = [ "Cậu bé Wilkins là kẻ ngu_ngốc lớn nhất mà tôi từng thấy .", "Ông nhìn vào nó cẩn_thận trong khi xoay nó trong tay của mình .", "Tôi nghĩ Wilkins là một kẻ ngốc .", "Tôi coi Wilkins là một trong những người thông_minh nhất thế_giới ." ] 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!