Cannot access the model
#6
by
szhf
- opened
I tried to download the model with the codes:
model = AutoModelForCausalLM.from_pretrained("LaMini-GPT-124M")
And it says:
OSError: LaMini-GPT-124M is not a local folder and is not a valid model identifier listed on 'https://huggingface.co/models'
If this is a private repository, make sure to pass a token having permission to this repo with use_auth_token
or log in with huggingface-cli login
and pass use_auth_token=True
.
How should I fix this issue?
Thank you in advance!
You should use model = AutoModelForCausalLM.from_pretrained("MBZUAI/LaMini-GPT-124M")
minghaowu
changed discussion status to
closed