Instructions to use hf-internal-testing/tiny-random-BartForSequenceClassification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-BartForSequenceClassification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="hf-internal-testing/tiny-random-BartForSequenceClassification")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("hf-internal-testing/tiny-random-BartForSequenceClassification") model = AutoModelForSequenceClassification.from_pretrained("hf-internal-testing/tiny-random-BartForSequenceClassification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 342e28a769e319e313ab00e988fee1f0bb455c776591791dc18eb53bed848f53
- Size of remote file:
- 140 kB
- SHA256:
- 343d995bc413500a2f4e089af0a27b2010f356e6bb05acc27339759e99062f29
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.