Documentation links to examples are broken
COLLABORATOR
These docs are outdated (version 1.2.1 is over two years old). Please refer to [this](https://huggingface.co/docs/datasets/dataset_script) version instead.

Initially, we hosted datasets in this repo, but now you can find them [on the HF Hub](https://huggingface.co/datasets) (e.g. the [`ag_news`](https://huggingface.co/datasets/ag_news/blob/main/ag_news.py) script)
2023-07-17T15:10:22Z
https://github.com/huggingface/datasets/issues/6037#issuecomment-1638347577
https://api.github.com/repos/huggingface/datasets/issues/6037
IC_kwDODunzps5hpzM5
https://api.github.com/repos/huggingface/datasets/issues/comments/1638347577/reactions
2023-07-17T15:10:22Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1638347577
https://avatars.githubusercontent.com/u/47462742?v=4
https://api.github.com/users/mariosasko/events{/privacy}
https://api.github.com/users/mariosasko/followers
https://api.github.com/users/mariosasko/following{/other_user}
https://api.github.com/users/mariosasko/gists{/gist_id}
https://github.com/mariosasko
mariosasko
MDQ6VXNlcjQ3NDYyNzQy
https://api.github.com/users/mariosasko/orgs
https://api.github.com/users/mariosasko/received_events
https://api.github.com/users/mariosasko/repos
https://api.github.com/users/mariosasko/starred{/owner}{/repo}
https://api.github.com/users/mariosasko/subscriptions
User
https://api.github.com/users/mariosasko
public
NONE
Sorry I thought I'd selected the latest version.
2023-07-17T22:35:14Z
https://github.com/huggingface/datasets/issues/6037#issuecomment-1638980406
https://api.github.com/repos/huggingface/datasets/issues/6037
IC_kwDODunzps5hsNs2
https://api.github.com/repos/huggingface/datasets/issues/comments/1638980406/reactions
2023-07-17T22:35:14Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1638980406
https://avatars.githubusercontent.com/u/5028974?v=4
https://api.github.com/users/david-waterworth/events{/privacy}
https://api.github.com/users/david-waterworth/followers
https://api.github.com/users/david-waterworth/following{/other_user}
https://api.github.com/users/david-waterworth/gists{/gist_id}
https://github.com/david-waterworth
david-waterworth
MDQ6VXNlcjUwMjg5NzQ=
https://api.github.com/users/david-waterworth/orgs
https://api.github.com/users/david-waterworth/received_events
https://api.github.com/users/david-waterworth/repos
https://api.github.com/users/david-waterworth/starred{/owner}{/repo}
https://api.github.com/users/david-waterworth/subscriptions
User
https://api.github.com/users/david-waterworth
public
### Describe the bug

The links at the bottom of [add_dataset](https://huggingface.co/docs/datasets/v1.2.1/add_dataset.html) to examples of specific datasets are all broken, for example

- text classification: [ag_news](https://github.com/huggingface/datasets/blob/master/datasets/ag_news/ag_news.py) (original data are in csv files)

### Steps to reproduce the bug

Click on links to examples from latest documentation

### Expected behavior

Links should be up to date - it might be more stable to link to https://huggingface.co/datasets/ag_news/blob/main/ag_news.py

### Environment info

dataset v1.2.1