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:
- 89b920ea5ce42effed312dd2c19ae30131334d683b778832e21ff5e04fe270a3
- Size of remote file:
- 140 kB
- SHA256:
- 53cb617d6b9aaf10c5e89022c66fc45d132640089ebfe76b9f4fc0c6f71729f1
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.