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 ?

Sign up or log in to comment