Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
Generated from Trainer
dataset_size:100000
loss:CosineSimilarityLoss
Eval Results (legacy)
text-embeddings-inference
Instructions to use Nessrine9/finetuned-snli-MiniLM-L12-v2-100k-en-fr with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Nessrine9/finetuned-snli-MiniLM-L12-v2-100k-en-fr with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Nessrine9/finetuned-snli-MiniLM-L12-v2-100k-en-fr") sentences = [ "The church has granite statues of Jesus and the Apostles adorning its porch .", "There were no statues in the church .", "L' Afrique du sud et le reste de l' Afrique sont les mêmes .", "Tours on foot are a great way to see LA ." ] 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!