Sentence Similarity
sentence-transformers
bert
feature-extraction
dense
Generated from Trainer
dataset_size:50000
loss:MultipleNegativesRankingLoss
text-embeddings-inference
Run this model with HF Jobs
Run AdrianTheLegend/mnli-bert-cased on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/AdrianTheLegend/mnli-bert-cased. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/AdrianTheLegend/mnli-bert-cased on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
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
Ctrl+K