Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
dense
Generated from Trainer
dataset_size:12800
loss:MultipleNegativesRankingLoss
text-embeddings-inference
Instructions to use Borsa356/bert_mnr_5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Borsa356/bert_mnr_5 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Borsa356/bert_mnr_5") sentences = [ "A man in an orange shirt and a man in a white shirt are at a vegetable stand, and the man in the orange shirt gives a woman wearing red some vegetables.", "Two men at a food stand.", "Two teams play each other in a soccer game.", "Two men are outside working on a building." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Ctrl+K