Instructions to use sshleifer/bart-tiny-random with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use sshleifer/bart-tiny-random with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("sshleifer/bart-tiny-random") model = AutoModelForSeq2SeqLM.from_pretrained("sshleifer/bart-tiny-random", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download model.safetensors from sshleifer/bart-tiny-random: direct link, hf CLI and curl.
- Browser
- Download file 5.11 MB
-
https://huggingface.co/sshleifer/bart-tiny-random/resolve/refs%2Fpr%2F1/model.safetensors
- Command line
-
hf download hf://sshleifer/bart-tiny-random@refs/pr/1/model.safetensors
-
curl -L -o model.safetensors https://huggingface.co/sshleifer/bart-tiny-random/resolve/refs%2Fpr%2F1/model.safetensors
5.11 MB
- Xet hash:
- 442a02d9239025112cf9c95db01415bf491ee2d1c6403a4c85773435a61228bb
- Size of remote file:
- 5.11 MB
- SHA256:
- 99047d3abb51de0c62523a52c5dff7b23dac662be02767fdf18730ff5a107eb7
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.