Allow download only some files from the Wikipedia dataset
{'login': 'jvanz', 'id': 1514798, 'node_id': 'MDQ6VXNlcjE1MTQ3OTg=', 'avatar_url': 'https://avatars.githubusercontent.com/u/1514798?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/jvanz', 'html_url': 'https://github.com/jvanz', 'followers_url': 'https://api.github.com/users/jvanz/followers', 'following_url': 'https://api.github.com/users/jvanz/following{/other_user}', 'gists_url': 'https://api.github.com/users/jvanz/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/jvanz/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/jvanz/subscriptions', 'organizations_url': 'https://api.github.com/users/jvanz/orgs', 'repos_url': 'https://api.github.com/users/jvanz/repos', 'events_url': 'https://api.github.com/users/jvanz/events{/privacy}', 'received_events_url': 'https://api.github.com/users/jvanz/received_events', 'type': 'User', 'site_admin': False}
[{'id': 1935892871, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODcx', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/enhancement', 'name': 'enhancement', 'color': 'a2eeef', 'default': True, 'description': 'New feature or request'}]
[]
Hi @jvanz, thank you for your proposal.

In fact, we are aware that it is very common the problem you mention. Because of that, we are currently working in implementing a new version of wikipedia on the Hub, with all data preprocessed (no need to use Apache Beam), from where you will be able to use `data_files` to load only a specific subset of the data files.

See:
- #3401  
**Is your feature request related to a problem? Please describe.**
The Wikipedia dataset can be really big. This is a problem if you want to use it locally in a laptop with the Apache Beam `DirectRunner`. Even if your laptop have a considerable amount of memory (e.g. 32gb).


**Describe the solution you'd like**
I would like to use the `data_files` argument in the `load_dataset` function to define which file in the wikipedia dataset I would like to download. Thus, I can work with the dataset in a smaller machine using the Apache Beam `DirectRunner`.

**Describe alternatives you've considered**
I've tried to use the `simple` Wikipedia dataset. But it's in English and I would like to use Portuguese texts in my model. 

{'url': 'https://api.github.com/repos/huggingface/datasets/issues/3776/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}