Instructions to use AyoubChLin/BART-mnli_cnn_256 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AyoubChLin/BART-mnli_cnn_256 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-classification", model="AyoubChLin/BART-mnli_cnn_256")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("AyoubChLin/BART-mnli_cnn_256") model = AutoModelForSequenceClassification.from_pretrained("AyoubChLin/BART-mnli_cnn_256", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
498cf4f | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:6562bfde0c91dc21882b1f84a2bbf5bf9518fcc597bcc0dcd032dbe7a1bdaa2f
size 3323
|