Instructions to use typeform/roberta-large-mnli with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use typeform/roberta-large-mnli with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-classification", model="typeform/roberta-large-mnli")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("typeform/roberta-large-mnli") model = AutoModelForSequenceClassification.from_pretrained("typeform/roberta-large-mnli", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Revert "Update config.json"
David ChuUnverified signatureThis reverts commit 98eb63cb3fc071be75fb468f967adb6549110ac7.3bf7b83 -
Update config.json
David Chu98eb63c
-
upload model
David ChuUnverified signatured66bd7f -
Update README.md
David Chuec1ddff -
Update README.md
David Chu9ad5ea6 -
Create README.md
David Chu3a074ff -
initial commit
a4b0803