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