huggingface_hub
huggingface_hub copied to clipboard
ValueError: Unable to retrieve user and repo ID from the passed HF ID: https://huggingface.co/MonolithFoundation/Bumblebee-Light
I have loggined, the repo https://huggingface.co/MonolithFoundation/Bumblebee-Light exist.
Just can not push models, why?
Just can not push models, why?
Can you explain more why you can't? Here is some docs that should help you getting started:
- how to authenticate with the Python client: https://huggingface.co/docs/huggingface_hub/quick-start#authentication
- how to upload with the Python client: https://huggingface.co/docs/huggingface_hub/guides/upload
- how to upload with the web interface: https://huggingface.co/docs/hub/models-uploading
I just keep getting error:
ValueError: Unable to retrieve user and repo ID from the passed HF ID: https://huggingface.co/MonolithFoundation/Bumblebee-Light
But the url just exist, the error message could be more clear what's exactly goes on?
With a full stack trace it'll be easiest to point you toward to correct point. Anyway, when upload files or doing anything else on the Hub, you must pass a repo_id, not a URL. In your case the repo id is MonolithFoundation/Bumblebee-Light.
Hi, am just exactly provide the id, otherwise the logging messages. concated would repeat the url prefix.
Can u tell me what could be the reason behind? Clearly it's not my repo id doesn't exist.
At 2024-05-03 18:43:53, "Lucain" @.***> wrote:
With a full stack trace it'll be easiest to point you toward to correct point. Anyway, when upload files or doing anything else on the Hub, you must pass a repo_id, not a URL. In your case the repo id is MonolithFoundation/Bumblebee-Light.
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
Please provide:
- the Python script that is causing your error
- the error with full traceback it produces
Won't be able to help further without those 2.
Looks like there is a double-dash in your command line MonolithFoundation/Bumblebee--Ligth, isn't it?
Hi, thanksfor the reply, it is not
huggingface-cli upload MonolithFoundation/Bumblebee-Light ./ ./
I just copyed the id from my huggingace dashboard...
Could you try to run this in a separate python terminal?
>>> from huggingface_hub import repo_type_and_id_from_hf_id
>>> repo_type_and_id_from_hf_id("MonolithFoundation/Bumblebee-Light")
(None, 'MonolithFoundation', 'Bumblebee-Light')
@Wauplin Hi
Any further steps?
Hi, not that I can think of no. It's very weird that you get this error while using the CLI but not if you run it manually in a snippet. Could you try uninstalling completely the package (and CLI) and reinstall it again?
To be honest this is not an expected error and it's appearing on a command that is very widely used and for which I've never seen this reported. That's why I'm a bit confused about what to do/how to explain it 😕
Shit, I found the reason.
I would suggest your guys delete this package.
If it doesn't provided by huggingface, contact the author to delete it. thanks.