Sentence Similarity
sentence-transformers
bert
feature-extraction
dense
Generated from Trainer
dataset_size:50000
loss:MultipleNegativesRankingLoss
text-embeddings-inference
Instructions to use AdrianTheLegend/mnli-bert-cased with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use AdrianTheLegend/mnli-bert-cased with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("AdrianTheLegend/mnli-bert-cased") sentences = [ "Sometimes the people who represent themselves don't even know the significant facts of their case.", "The law is very easy to understand, so representing yourself in court is the best way to win a case.", "Sewage poured into upstairs windows from the streets while people whispered to each other.", "His faith may be lacking." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Commit History
15 days ago
-
Upload 5 files
Verified signature3aa228e