404 when instantiating private model/tokenizer
I think I might be missing something obvious, but when I attempt to load my private model checkpoint with the Auto* classes anduse_auth=TrueI’m getting a 404 response. I couldn’t find anything in the docs about the token/auth setup for the library so I’m not sure what’s wrong.from transformers import AutoTokenizer, AutoModelWithLMHead

tokenizer = AutoTokenizer.from_pretrained("jodiak/mymodel", use_auth=True)

model = AutoModelWithLMHead.from_pretrained("jodiak/mymodel", use_auth=True)
# 404 Client Error: Not Found for url: https://huggingface.co/jodiak/model/resolve/main/config.jsonI’ve verified that I can load this directory locally and also that the path in model hub is correct. Any help here is appreciated.
2021-03-05T13:32:10Z
Hi@jodiak, did you do the login phase ?https://huggingface.co/transformers/model_sharing.html?highlight=login#basic-stepsThat should create a~/.huggingface/tokenfile (that is being used to see your private model).