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