Instructions to use textattack/roberta-base-MNLI with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use textattack/roberta-base-MNLI with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="textattack/roberta-base-MNLI")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("textattack/roberta-base-MNLI") model = AutoModelForSequenceClassification.from_pretrained("textattack/roberta-base-MNLI") - Inference
- Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
b5a5f7d | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:8791589bf3dd2025eff17f635e43bec0b842a1f3a35f2f47aa73afc8c178e0e9
size 501006086
|