Sentence Similarity
sentence-transformers
Safetensors
xlm-roberta
feature-extraction
dataset_size:100K<n<1M
loss:TripletLoss
Eval Results (legacy)
text-embeddings-inference
Instructions to use slimaneMakh/triplet_CloseHlabel_farLabel_andnegativ-1M-5eps-XLMR_29may with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use slimaneMakh/triplet_CloseHlabel_farLabel_andnegativ-1M-5eps-XLMR_29may with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("slimaneMakh/triplet_CloseHlabel_farLabel_andnegativ-1M-5eps-XLMR_29may") sentences = [ "Skip", "Ships", "Kapital akcyjny", "Other finance income" ] 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!