Instructions to use ModelTC/bart-base-mnli with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ModelTC/bart-base-mnli with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="ModelTC/bart-base-mnli")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("ModelTC/bart-base-mnli") model = AutoModelForSequenceClassification.from_pretrained("ModelTC/bart-base-mnli", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
7c24058 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:c063beffa5629baa9fe8e38412f704068d6a4c30a34c5cc70d4866f81fac8eb5
size 2991
|