Instructions to use OFA-Sys/ofa-tiny with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use OFA-Sys/ofa-tiny with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("OFA-Sys/ofa-tiny", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from OFA-Sys/ofa-tiny: direct link, hf CLI and curl.
- Browser
- Download file 323 MB
-
https://huggingface.co/OFA-Sys/ofa-tiny/resolve/refs%2Fpr%2F3/pytorch_model.bin
- Command line
-
hf download hf://OFA-Sys/ofa-tiny@refs/pr/3/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/OFA-Sys/ofa-tiny/resolve/refs%2Fpr%2F3/pytorch_model.bin
323 MB
- Xet hash:
- 982a834d2ad91f27ce166ea05a37640090f35febd5d21371a0055f9aeb73d7da
- Size of remote file:
- 323 MB
- SHA256:
- fb77204415ae2366be8c3e07ecc31bfe300a0d8ce20a2f2fa4cebfa73bb4a5f5
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.