Sentence Similarity
sentence-transformers
Safetensors
Transformers
bert
text-classification
feature-extraction
text-embeddings-inference
Instructions to use Borsa356/NLI_MNRL_EN_ with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Borsa356/NLI_MNRL_EN_ with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Borsa356/NLI_MNRL_EN_") sentences = [ "The weather is lovely today.", "It's so sunny outside!", "He drove to the stadium." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [3, 3] - Transformers
How to use Borsa356/NLI_MNRL_EN_ with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Borsa356/NLI_MNRL_EN_") model = AutoModelForSequenceClassification.from_pretrained("Borsa356/NLI_MNRL_EN_") - Notebooks
- Google Colab
- Kaggle
Ctrl+K