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
Commit History
-
Update README.md
fea9c34 -
Update README.md
70fbef0 -
Update README.md
a435fd4
-
Update README.md
reformat code of generator90e0293 -
Update README.md
update example335e715
-
change use_cache to false by default
43ab48f
-
Upload config.json
b860188
-
Update README.md
00043aa
-
Update README.md
60d03d8 -
Update README.md
31aa84f -
Update README.md
74391db -
Update config.json
a4b8a6c -
Update README.md
2a70c3d -
Upload merges.txt
c99c5ee -
Upload vocab.json
67a3158 -
Upload config.json
e5f16f5 -
Upload pytorch_model.bin with git-lfs
3daddba -
initial commit
0be4d34