Run this model with HF Jobs
Run OFA-Sys/ofa-huge on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/OFA-Sys/ofa-huge. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/OFA-Sys/ofa-huge on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use OFA-Sys/ofa-huge with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use OFA-Sys/ofa-huge with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("OFA-Sys/ofa-huge", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Getting HTTPError: 401 Client Error: Unauthorized for url: https://huggingface.co/OFA-huge/resolve/main/vocab.json
#2
by dutta18 - opened
Im trying to use the OFA-huge from the huggingface but on loading the tokenizer I'm greeted with this error.
HTTPError: 401 Client Error: Unauthorized for url: https://huggingface.co/OFA-huge/resolve/main/vocab.json
on this lines
ckpt_dir='./OFA-huge'
tokenizer = OFATokenizer.from_pretrained(ckpt_dir)
Why it is showing me "Unauthorized" ? What is the correct checkpoint path ?