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", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
0cc1895 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:e25aca90058b828e8681314d06a4c93dc8871b4ac24c52382b111dd5c3b8b040
size 2415
|