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 tf_model.h5 from sshleifer/bart-tiny-random: direct link, hf CLI and curl.
- Browser
- Download file 5.2 MB
-
https://huggingface.co/sshleifer/bart-tiny-random/resolve/main/tf_model.h5
- Command line
-
hf download hf://sshleifer/bart-tiny-random/tf_model.h5
-
curl -L -o tf_model.h5 https://huggingface.co/sshleifer/bart-tiny-random/resolve/main/tf_model.h5
5.2 MB
- Xet hash:
- 74c6f12d4ff9f2c8a16605e6462df0723782e9b5b0cfb81b6e8e82078969ffbd
- Size of remote file:
- 5.2 MB
- SHA256:
- c484a6d6a6f81c867af721ea1aeab4da7cfa7a4204c9d9fbfbc55d97deacc43f
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.