nlp-with-transformers / notebooks

Jupyter notebooks for the Natural Language Processing with Transformers book
https://transformersbook.com/
Apache License 2.0
3.92k stars 1.23k forks source link

Ch10 cannot create repositories #60

Open ManqingLiu opened 2 years ago

ManqingLiu commented 2 years ago

Information

The problem arises in chapter:

Describe the bug

In the section **Adding Datasets to the HuggingFace Hub**, after I logged in the HuggingFace account, I could not create repositories using this line of code: `huggingface-cli repo create --type dataset --organization transformersbook codeparrot-train` Instead, I got this error: `403 Client Error: Forbidden for url: https://huggingface.co/api/repos/create (Request ID: hsKOgZ5w0izNyONWMl-wl) - You don't have the rights to create a dataset under this namespace {"error":"You don't have the rights to create a dataset under this namespace"}` Wondering if anyone else has encountered this issue.
JamesCHub commented 1 year ago

just omit the --organization flag. (since you don't own that namespace)