Instructions to use hf-internal-testing/tiny-random-MBartForSequenceClassification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-MBartForSequenceClassification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="hf-internal-testing/tiny-random-MBartForSequenceClassification")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("hf-internal-testing/tiny-random-MBartForSequenceClassification") model = AutoModelForSequenceClassification.from_pretrained("hf-internal-testing/tiny-random-MBartForSequenceClassification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from hf-internal-testing/tiny-random-MBartForSequenceClassification: direct link, hf CLI and curl.
- Browser
- Download file 142 kB
-
https://huggingface.co/hf-internal-testing/tiny-random-MBartForSequenceClassification/resolve/05ed9ea84c02f4a5347f5c235d38f9df891cb811/pytorch_model.bin
- Command line
-
hf download hf://hf-internal-testing/tiny-random-MBartForSequenceClassification@05ed9ea84c02f4a5347f5c235d38f9df891cb811/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/hf-internal-testing/tiny-random-MBartForSequenceClassification/resolve/05ed9ea84c02f4a5347f5c235d38f9df891cb811/pytorch_model.bin
142 kB
- Xet hash:
- d2d0f2887cd5211121220eb5b0f52ccf04d526bbb0021ff1dc77470d739456a0
- Size of remote file:
- 142 kB
- SHA256:
- 9f143a5c23a4b22e17e2b12c89e1d28ce532d10a9555f4fefbaa0a0d872d6f87
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.