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") - Notebooks
- Google Colab
- Kaggle
File size: 135 Bytes
7c24058 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:a636fceca81567feda9a97fbe87c300bda3efc94e30c8a6536c17722054d1c3b
size 1120272635
|