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")# pip install -U transformers accelerate # 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
Download pytorch_model.bin from hf-internal-testing/tiny-random-BartForSequenceClassification: direct link, hf CLI and curl.
- Browser
- Download file 140 kB
-
https://huggingface.co/hf-internal-testing/tiny-random-BartForSequenceClassification/resolve/ea452fd9a928cfebd71723afa50feb20326917bc/pytorch_model.bin
- Command line
-
hf download hf://hf-internal-testing/tiny-random-BartForSequenceClassification@ea452fd9a928cfebd71723afa50feb20326917bc/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/hf-internal-testing/tiny-random-BartForSequenceClassification/resolve/ea452fd9a928cfebd71723afa50feb20326917bc/pytorch_model.bin
140 kB
- Xet hash:
- ae0c075355a2caff4419f5bb769e039cdf4c4d93b49099cccbf5d7e66e81d710
- Size of remote file:
- 140 kB
- SHA256:
- 4172ea6f86ca3babe5722fc8739c5183c654f7c7c5887d239b7e4551f054ea96
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.