Sentence Similarity
sentence-transformers
Safetensors
xlm-roberta
feature-extraction
dataset_size:1K<n<10K
loss:MultipleNegativesRankingLoss
text-embeddings-inference
Instructions to use khathathorn/modelforreccomendation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use khathathorn/modelforreccomendation with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("khathathorn/modelforreccomendation") sentences = [ "อยากกินของหวานที่มีรสส้ม", "อยากกินของหวานที่มีกลิ่นส้ม", "อยากได้ของหวานที่มีมะนาวที่มีรสชาติหวาน", "แนะนำเมนูของหวานที่ใส่ผลไม้และน้ำผึ้งด้วยหน่อย" ] 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!