Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
Generated from Trainer
dataset_size:10000
loss:SoftmaxLoss
Eval Results (legacy)
text-embeddings-inference
Instructions to use jilangdi/bert-base-uncased-nli-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use jilangdi/bert-base-uncased-nli-v1 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("jilangdi/bert-base-uncased-nli-v1") sentences = [ "A man selling donuts to a customer during a world exhibition event held in the city of Angeles", "The man is doing tricks.", "A woman drinks her coffee in a small cafe.", "The building is made of logs." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Ctrl+K