huggingface / huggingface_hub

The official Python client for the Huggingface Hub.
https://huggingface.co/docs/huggingface_hub
Apache License 2.0
2.15k stars 562 forks source link

Model "xxx" was not found on hub! #1794

Closed zyh3826 closed 1 year ago

zyh3826 commented 1 year ago

Describe the bug

I use git to push my model to the hub, my model it can be seen on the web, but when I submit it to the Leaderboard, this error happened: image and I try it this way:

from transformers import AutoConfig, AutoModel, AutoTokenizer
save_dir = 'zyh3826/llama2-13b-ft-openllm-leaderboard-v1'
config = AutoConfig.from_pretrained(save_dir)
tokenizer = AutoTokenizer.from_pretrained(save_dir)

everything is ok

企业微信截图_5dda03f8-18f3-468a-8a37-60bf433067ba

anyone can help me? thanks a lot

Reproduction

submit it on the openllm leaderboard

Logs

Model "zyh3826/llama2-13b-ft-openllm-leaderboard-v1" was not found on hub!

System info

None
Wauplin commented 1 year ago

Hey @zyh3826 , this issue seems to be related to the Open LLM Leaderboard, not the huggingface_hub library itself. It would be better to open a discussion directly on the Space community tab (here).

Regarding the issue, I think it is because your model is gated, meaning users have to accept the license to download the model. So the Open LLM Leaderboard cannot evaluate it properly. Maybe a more explicitly error message would be better though (cc @clefourrier)

zyh3826 commented 1 year ago

Hey @zyh3826 , this issue seems to be related to the Open LLM Leaderboard, not the huggingface_hub library itself. It would be better to open a discussion directly on the Space community tab (here).

Regarding the issue, I think it is because your model is gated, meaning users have to accept the license to download the model. So the Open LLM Leaderboard cannot evaluate it properly. Maybe a more explicitly error message would be better though (cc @clefourrier)

thanks for your reply @Wauplin , I will check the gate

clefourrier commented 1 year ago

Closing since an issue was also opened on the Leaderboard. @Wauplin good intuition, it is indeed because the base model is gated

Wauplin commented 1 year ago

Thanks for taking care of it @clefourrier !

julien-c commented 1 year ago

question was also posted in the Forums. Please do not post same question to multiple channels @zyh3826, thanks!