load_dataset() should load all subsets, if no specific subset is specified
NONE
@xianbaoqian 
2024-06-04T11:02:48Z
https://github.com/huggingface/datasets/issues/6951#issuecomment-2147248475
https://api.github.com/repos/huggingface/datasets/issues/6951
IC_kwDODunzps5__Glb
https://api.github.com/repos/huggingface/datasets/issues/comments/2147248475/reactions
2024-06-04T11:02:48Z
https://api.github.com/repos/huggingface/datasets/issues/comments/2147248475
https://avatars.githubusercontent.com/u/5577741?v=4
https://api.github.com/users/windmaple/events{/privacy}
https://api.github.com/users/windmaple/followers
https://api.github.com/users/windmaple/following{/other_user}
https://api.github.com/users/windmaple/gists{/gist_id}
https://github.com/windmaple
windmaple
MDQ6VXNlcjU1Nzc3NDE=
https://api.github.com/users/windmaple/orgs
https://api.github.com/users/windmaple/received_events
https://api.github.com/users/windmaple/repos
https://api.github.com/users/windmaple/starred{/owner}{/repo}
https://api.github.com/users/windmaple/subscriptions
User
https://api.github.com/users/windmaple
public
MEMBER
Feel free to open a PR in `m-a-p/COIG-CQIA` to define a default subset. Currently there is no default.

You can find some documentation at https://huggingface.co/docs/hub/datasets-manual-configuration#multiple-configurations
2024-06-13T16:06:19Z
https://github.com/huggingface/datasets/issues/6951#issuecomment-2166111721
https://api.github.com/repos/huggingface/datasets/issues/6951
IC_kwDODunzps6BHD3p
https://api.github.com/repos/huggingface/datasets/issues/comments/2166111721/reactions
2024-06-13T16:06:19Z
https://api.github.com/repos/huggingface/datasets/issues/comments/2166111721
https://avatars.githubusercontent.com/u/42851186?v=4
https://api.github.com/users/lhoestq/events{/privacy}
https://api.github.com/users/lhoestq/followers
https://api.github.com/users/lhoestq/following{/other_user}
https://api.github.com/users/lhoestq/gists{/gist_id}
https://github.com/lhoestq
lhoestq
MDQ6VXNlcjQyODUxMTg2
https://api.github.com/users/lhoestq/orgs
https://api.github.com/users/lhoestq/received_events
https://api.github.com/users/lhoestq/repos
https://api.github.com/users/lhoestq/starred{/owner}{/repo}
https://api.github.com/users/lhoestq/subscriptions
User
https://api.github.com/users/lhoestq
public
NONE
@lhoestq 

Whilst having a default subset readily available (e.g. `all`) by the dataset author is an ideal solution, it is not always the reality.

Without the ability to fork the dataset, this can be problematic.

As far as I know, it is not possible at all to specify multiple subsets in a generalized programmatic way without hard coding subset names for a specific dataset.

Even the ability to fetch subset names and loop over them would be sufficient.
2024-06-24T23:12:19Z
https://github.com/huggingface/datasets/issues/6951#issuecomment-2187582734
https://api.github.com/repos/huggingface/datasets/issues/6951
IC_kwDODunzps6CY90O
https://api.github.com/repos/huggingface/datasets/issues/comments/2187582734/reactions
2024-06-24T23:12:19Z
https://api.github.com/repos/huggingface/datasets/issues/comments/2187582734
https://avatars.githubusercontent.com/u/14280892?v=4
https://api.github.com/users/brthor/events{/privacy}
https://api.github.com/users/brthor/followers
https://api.github.com/users/brthor/following{/other_user}
https://api.github.com/users/brthor/gists{/gist_id}
https://github.com/brthor
brthor
MDQ6VXNlcjE0MjgwODky
https://api.github.com/users/brthor/orgs
https://api.github.com/users/brthor/received_events
https://api.github.com/users/brthor/repos
https://api.github.com/users/brthor/starred{/owner}{/repo}
https://api.github.com/users/brthor/subscriptions
User
https://api.github.com/users/brthor
public
MEMBER
Please note that each subset can have different feature columns, thus making it impossible to load them all into a unique Dataset instance.

That is why subsets were created: to support different but related datasets to coexist in a single dataset repository.

If you would like to programmatically get the list of subset names, you can use `datasets.get_dataset_config_names`: https://huggingface.co/docs/datasets/v2.20.0/en/load_hub#configurations
2024-06-25T05:58:21Z
https://github.com/huggingface/datasets/issues/6951#issuecomment-2188041256
https://api.github.com/repos/huggingface/datasets/issues/6951
IC_kwDODunzps6Catwo
https://api.github.com/repos/huggingface/datasets/issues/comments/2188041256/reactions
2024-06-25T05:58:21Z
https://api.github.com/repos/huggingface/datasets/issues/comments/2188041256
https://avatars.githubusercontent.com/u/8515462?v=4
https://api.github.com/users/albertvillanova/events{/privacy}
https://api.github.com/users/albertvillanova/followers
https://api.github.com/users/albertvillanova/following{/other_user}
https://api.github.com/users/albertvillanova/gists{/gist_id}
https://github.com/albertvillanova
albertvillanova
MDQ6VXNlcjg1MTU0NjI=
https://api.github.com/users/albertvillanova/orgs
https://api.github.com/users/albertvillanova/received_events
https://api.github.com/users/albertvillanova/repos
https://api.github.com/users/albertvillanova/starred{/owner}{/repo}
https://api.github.com/users/albertvillanova/subscriptions
User
https://api.github.com/users/albertvillanova
public
NONE
found a better method in another link that can not only obtain the subset but also get the corresponding split
https://huggingface.co/docs/dataset-viewer/splits
2024-11-26T08:32:17Z
https://github.com/huggingface/datasets/issues/6951#issuecomment-2499985466
https://api.github.com/repos/huggingface/datasets/issues/6951
IC_kwDODunzps6VAsA6
https://api.github.com/repos/huggingface/datasets/issues/comments/2499985466/reactions
2024-11-26T08:32:17Z
https://api.github.com/repos/huggingface/datasets/issues/comments/2499985466
https://avatars.githubusercontent.com/u/12268675?v=4
https://api.github.com/users/zhuwenxing/events{/privacy}
https://api.github.com/users/zhuwenxing/followers
https://api.github.com/users/zhuwenxing/following{/other_user}
https://api.github.com/users/zhuwenxing/gists{/gist_id}
https://github.com/zhuwenxing
zhuwenxing
MDQ6VXNlcjEyMjY4Njc1
https://api.github.com/users/zhuwenxing/orgs
https://api.github.com/users/zhuwenxing/received_events
https://api.github.com/users/zhuwenxing/repos
https://api.github.com/users/zhuwenxing/starred{/owner}{/repo}
https://api.github.com/users/zhuwenxing/subscriptions
User
https://api.github.com/users/zhuwenxing
public
### Feature request

Currently load_dataset() is forcing users to specify a subset. Example

`from datasets import load_dataset
dataset = load_dataset("m-a-p/COIG-CQIA")`

```---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
[<ipython-input-10-c0cb49385da6>](https://localhost:8080/#) in <cell line: 2>()
      1 from datasets import load_dataset
----> 2 dataset = load_dataset("m-a-p/COIG-CQIA")

3 frames
[/usr/local/lib/python3.10/dist-packages/datasets/builder.py](https://localhost:8080/#) in _create_builder_config(self, config_name, custom_features, **config_kwargs)
    582                     if not config_kwargs:
    583                         example_of_usage = f"load_dataset('{self.dataset_name}', '{self.BUILDER_CONFIGS[0].name}')"
--> 584                         raise ValueError(
    585                             "Config name is missing."
    586                             f"\nPlease pick one among the available configs: {list(self.builder_configs.keys())}"

ValueError: Config name is missing.
Please pick one among the available configs: ['chinese_traditional', 'coig_pc', 'exam', 'finance', 'douban', 'human_value', 'logi_qa', 'ruozhiba', 'segmentfault', 'wiki', 'wikihow', 'xhs', 'zhihu']
Example of usage:
	`load_dataset('coig-cqia', 'chinese_traditional')`
```
This means a dataset cannot contain all the subsets at the same time. I guess one workaround is to manually specify the subset files like in [here](https://huggingface.co/datasets/m-a-p/COIG-CQIA/discussions/1#658698b44bb41498f75c5622), which is clumsy.




### Motivation

Ideally, if not subset is specified, the API should just try to load all subsets. This makes it much easier to handle datasets w/ subsets.

### Your contribution

Not sure since I'm not familiar w/ the lib src.