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