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/Finetune2-MiniLM-L12-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Nessrine9/Finetune2-MiniLM-L12-v2 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Nessrine9/Finetune2-MiniLM-L12-v2") sentences = [ "A woman wearing a yellow shirt is holding a plate which contains a piece of cake.", "The woman in the yellow shirt might have cut the cake and placed it on the plate.", "Male bicyclists compete in the Tour de France.", "The man is walking" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Ctrl+K