Sentence Similarity
sentence-transformers
Safetensors
English
Spanish
xlm-roberta
feature-extraction
Generated from Trainer
dataset_size:58270
loss:MultipleNegativesRankingLoss
loss:CoSENTLoss
dataset_size:38270
dataset_size:18270
text-embeddings-inference
Instructions to use saraleivam/GURU-model2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use saraleivam/GURU-model2 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("saraleivam/GURU-model2") sentences = [ "The men are outside.", "Two men with backpacks hiking up a trail.", "Two men are leaning out of a window and looking at something to the right of them.", "Two men are trying to plow some dirt, behind a red motorcycle." ] 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!