Repository Not Found for url: https://huggingface.co/api/models/mllmTeam/MobileViews/revision/main
Hello, thanks for your great work.
When I run snapshot_download(repo_id="mllmTeam/MobileViews")
,it doesn't work and raise the error Repository Not Found for url: https://huggingface.co/api/models/mllmTeam/MobileViews/revision/main
. How can I solve it?
Thank you for your comment and for pointing this out! The issue arises because the repo_type
parameter in the snapshot_download
function defaults to "model"
if not explicitly specified. Since this repository is a dataset, you need to set repo_type="dataset"
to download it correctly.
To resolve the issue, please log in with your Hugging Face token using:
huggingface-cli login
Then, use the following code snippet to download the dataset:
from huggingface_hub import snapshot_download
snapshot_download(repo_id="mllmTeam/MobileViews", repo_type="dataset")
I’ve also updated the README with the correct instructions in the How to Download section. You can now refer to it for step-by-step guidance on downloading the dataset, either via a Python script or the Hugging Face CLI.
If you encounter any further issues, please feel free to leave another comment. We're here to help!
Hello, thanks for your great work.
When I runsnapshot_download(repo_id="mllmTeam/MobileViews")
,it doesn't work and raise the errorRepository Not Found for url: https://huggingface.co/api/models/mllmTeam/MobileViews/revision/main
. How can I solve it?
Thanks your very much~