Instructions to use facebook/bart-large-mnli with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use facebook/bart-large-mnli with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-classification", model="facebook/bart-large-mnli")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("facebook/bart-large-mnli") model = AutoModelForSequenceClassification.from_pretrained("facebook/bart-large-mnli", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md (#22)
- Update README.md (2ce57c184aab62bc6ee5fe4f17192f57c185c569) Co-authored-by: Rian Dolphin <rdolphin@users.noreply.huggingface.co>d7645e1
-
Adding `safetensors` variant of this model (#5)
- Adding `safetensors` variant of this model (ce49c685ce050ea4a821cfdb1418eceacf39e88d) Co-authored-by: Nicolas Patry <Narsil@users.noreply.huggingface.co>9fc9c4e
-
Update README.md
c626438
-
add flax model
df7df4d
-
Move tokenizer.json from roberta-large
6a35c49
-
Migrate model card from transformers-repo
Read announcement at /static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fannouncement-all-model-cards-will-be-migrated-to-hf-co-model-repos%2F2755 Original file history: https://github.com/huggingface/transformers/commits/master/model_cards/facebook/bart-large-mnli/README.md231de06
-
Update rust_model.ot
a4deec4
-
Update vocab.json
210c835 -
Update merges.txt
bffd62b -
Update tokenizer_config.json
e96ffdb
-
Update config.json
048916a
-
Update config.json
a9aaa74
-
Update config.json
e086d2b
-
Update pytorch_model.bin
18895f3 -
initial commit
6797198