Unable to upload "community provided" dataset - 400 Client Error
{'login': 'mwrzalik', 'id': 1376337, 'node_id': 'MDQ6VXNlcjEzNzYzMzc=', 'avatar_url': 'https://avatars.githubusercontent.com/u/1376337?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/mwrzalik', 'html_url': 'https://github.com/mwrzalik', 'followers_url': 'https://api.github.com/users/mwrzalik/followers', 'following_url': 'https://api.github.com/users/mwrzalik/following{/other_user}', 'gists_url': 'https://api.github.com/users/mwrzalik/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/mwrzalik/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/mwrzalik/subscriptions', 'organizations_url': 'https://api.github.com/users/mwrzalik/orgs', 'repos_url': 'https://api.github.com/users/mwrzalik/repos', 'events_url': 'https://api.github.com/users/mwrzalik/events{/privacy}', 'received_events_url': 'https://api.github.com/users/mwrzalik/received_events', 'type': 'User', 'site_admin': False}
[]
[]
Hi ! We're in the process of switching the community datasets to git repos, exactly like what we're doing for models.
You can find an example here:
https://huggingface.co/datasets/lhoestq/custom_squad/tree/main

We'll update the CLI in the coming days and do a new release :)

Also cc @julien-c maybe we can make improve the error message ?
Hi,
i'm trying to a upload a dataset as described [here](https://huggingface.co/docs/datasets/v1.2.0/share_dataset.html#sharing-a-community-provided-dataset). This is what happens:

``` 
$ datasets-cli login
$ datasets-cli upload_dataset my_dataset
About to upload file /path/to/my_dataset/dataset_infos.json to S3 under filename my_dataset/dataset_infos.json and namespace username
About to upload file /path/to/my_dataset/my_dataset.py to S3 under filename my_dataset/my_dataset.py and namespace username
Proceed? [Y/n] Y
Uploading... This might take a while if files are large
400 Client Error: Bad Request for url: https://huggingface.co/api/datasets/presign
huggingface.co migrated to a new model hosting system.
You need to upgrade to transformers v3.5+ to upload new models.
More info at https://discuss.hugginface.co or https://twitter.com/julien_c. Thank you! 
```
I'm using the latest releases of datasets and transformers.
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/1857/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}