Instructions to use mtreviso/roberta-base-snli with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mtreviso/roberta-base-snli with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="mtreviso/roberta-base-snli")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("mtreviso/roberta-base-snli") model = AutoModelForSequenceClassification.from_pretrained("mtreviso/roberta-base-snli") - Notebooks
- Google Colab
- Kaggle
Forked from: https://huggingface.co/boychaboy/SNLI_roberta-base
- Downloads last month
- 15