@kykim Thanks for your question/feedback, this is helpful!
Can you copy the command you’re launching here?
To instantiate a private model from
transformers you need to add a
use_auth_token=True param (should be mentioned when clicking the “Use in transformers” button on the model page):
tokenizer = AutoTokenizer.from_pretrained("username/model_name", use_auth_token=True)
model = AutoModelForMaskedLM.from_pretrained("username/model_name", use_auth_token=True)
If you’re using a fine-tuning script, for now you will have to modify it to add this parameter yourself (to all the
We’ll make sure to update the code in the repo in the coming weeks too (cc @sgugger)