Instructions to use symanto/mpnet-base-snli-mnli with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use symanto/mpnet-base-snli-mnli with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-classification", model="symanto/mpnet-base-snli-mnli")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("symanto/mpnet-base-snli-mnli") model = AutoModelForSequenceClassification.from_pretrained("symanto/mpnet-base-snli-mnli", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Revert "Init commit."
Thomas MüllerThis reverts commit a6238829b0b4425c7490be7a40e47824b6bf7c71.12123cf -
Init commit.
Thomas Müllera623882 -
Adds tokenizer.
Thomas Müllere4012f8