`load_dataset("snli")` is different from dataset viewer
COLLABORATOR
Yes, we decided to replace the encoded label with the corresponding label when possible in the dataset viewer. But
1. maybe it's the wrong default
2. we could find a way to show both (with a switch, or showing both ie. `0 (neutral)`).

2022-02-03T13:48:03Z
https://github.com/huggingface/datasets/issues/3673#issuecomment-1029008349
https://api.github.com/repos/huggingface/datasets/issues/3673
IC_kwDODunzps49VWvd
https://api.github.com/repos/huggingface/datasets/issues/comments/1029008349/reactions
2022-02-03T13:48:03Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1029008349
https://avatars.githubusercontent.com/u/1676121?v=4
https://api.github.com/users/severo/events{/privacy}
https://api.github.com/users/severo/followers
https://api.github.com/users/severo/following{/other_user}
https://api.github.com/users/severo/gists{/gist_id}
https://github.com/severo
severo
MDQ6VXNlcjE2NzYxMjE=
https://api.github.com/users/severo/orgs
https://api.github.com/users/severo/received_events
https://api.github.com/users/severo/repos
https://api.github.com/users/severo/starred{/owner}{/repo}
https://api.github.com/users/severo/subscriptions
User
https://api.github.com/users/severo
public
NONE
Hi @severo,

Thanks for clarifying. 

I think this default is a bit counterintuitive for the user. However, this is a personal opinion that might not be general. I think it is nice to have the actual (non-encoded) labels in the viewer. On the other hand, it would be nice to match what the user sees with what they get when they download a dataset. I don't know - I can see the difficulty of choosing a default :)
Maybe having non-encoded labels as a default can be useful?

Anyway, I think the issue has been addressed. Thanks a lot for your super-quick answer!

 
2022-02-03T15:46:43Z
https://github.com/huggingface/datasets/issues/3673#issuecomment-1029125421
https://api.github.com/repos/huggingface/datasets/issues/3673
IC_kwDODunzps49VzUt
https://api.github.com/repos/huggingface/datasets/issues/comments/1029125421/reactions
2022-02-03T15:46:43Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1029125421
https://avatars.githubusercontent.com/u/61748653?v=4
https://api.github.com/users/pietrolesci/events{/privacy}
https://api.github.com/users/pietrolesci/followers
https://api.github.com/users/pietrolesci/following{/other_user}
https://api.github.com/users/pietrolesci/gists{/gist_id}
https://github.com/pietrolesci
pietrolesci
MDQ6VXNlcjYxNzQ4NjUz
https://api.github.com/users/pietrolesci/orgs
https://api.github.com/users/pietrolesci/received_events
https://api.github.com/users/pietrolesci/repos
https://api.github.com/users/pietrolesci/starred{/owner}{/repo}
https://api.github.com/users/pietrolesci/subscriptions
User
https://api.github.com/users/pietrolesci
public
COLLABORATOR
Thanks for the 👍  in https://github.com/huggingface/datasets/issues/3673#issuecomment-1029008349 @mariosasko @gary149 @pietrolesci, but as I proposed various solutions, it's not clear to me which you prefer. Could you write your preferences as a comment?

_(note for myself: one idea per comment in the future)_
2022-02-03T15:56:54Z
https://github.com/huggingface/datasets/issues/3673#issuecomment-1029135553
https://api.github.com/repos/huggingface/datasets/issues/3673
IC_kwDODunzps49V1zB
https://api.github.com/repos/huggingface/datasets/issues/comments/1029135553/reactions
2022-02-03T15:59:08Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1029135553
https://avatars.githubusercontent.com/u/1676121?v=4
https://api.github.com/users/severo/events{/privacy}
https://api.github.com/users/severo/followers
https://api.github.com/users/severo/following{/other_user}
https://api.github.com/users/severo/gists{/gist_id}
https://github.com/severo
severo
MDQ6VXNlcjE2NzYxMjE=
https://api.github.com/users/severo/orgs
https://api.github.com/users/severo/received_events
https://api.github.com/users/severo/repos
https://api.github.com/users/severo/starred{/owner}{/repo}
https://api.github.com/users/severo/subscriptions
User
https://api.github.com/users/severo
public
NONE
As I am working with seq2seq, I prefer having the label in string form rather than numeric. So the viewer is fine and the underlying dataset should be "decoded" (from int to str). In this way, the user does not have to search for a mapping `int -> original name` (even though is trivial to find, I reckon). Also, encoding labels is rather easy.

I hope this is useful
2022-02-03T16:04:41Z
https://github.com/huggingface/datasets/issues/3673#issuecomment-1029143384
https://api.github.com/repos/huggingface/datasets/issues/3673
IC_kwDODunzps49V3tY
https://api.github.com/repos/huggingface/datasets/issues/comments/1029143384/reactions
2022-02-03T16:04:41Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1029143384
https://avatars.githubusercontent.com/u/61748653?v=4
https://api.github.com/users/pietrolesci/events{/privacy}
https://api.github.com/users/pietrolesci/followers
https://api.github.com/users/pietrolesci/following{/other_user}
https://api.github.com/users/pietrolesci/gists{/gist_id}
https://github.com/pietrolesci
pietrolesci
MDQ6VXNlcjYxNzQ4NjUz
https://api.github.com/users/pietrolesci/orgs
https://api.github.com/users/pietrolesci/received_events
https://api.github.com/users/pietrolesci/repos
https://api.github.com/users/pietrolesci/starred{/owner}{/repo}
https://api.github.com/users/pietrolesci/subscriptions
User
https://api.github.com/users/pietrolesci
public
MEMBER
I like the idea of "0 (neutral)". The label name can even be greyed to make it clear that it's not part of the actual item in the dataset, it's just the meaning.
2022-02-03T16:08:34Z
https://github.com/huggingface/datasets/issues/3673#issuecomment-1029147233
https://api.github.com/repos/huggingface/datasets/issues/3673
IC_kwDODunzps49V4ph
https://api.github.com/repos/huggingface/datasets/issues/comments/1029147233/reactions
2022-02-03T16:08:34Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1029147233
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
COLLABORATOR
I like @lhoestq's idea of having grayed-out labels.
2022-02-03T16:17:52Z
https://github.com/huggingface/datasets/issues/3673#issuecomment-1029156715
https://api.github.com/repos/huggingface/datasets/issues/3673
IC_kwDODunzps49V69r
https://api.github.com/repos/huggingface/datasets/issues/comments/1029156715/reactions
2022-02-03T16:17:52Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1029156715
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
COLLABORATOR
Proposals by @gary149. Which one do you prefer? Please vote with the thumbs

- 👍 

    ![image](https://user-images.githubusercontent.com/1676121/152387949-883c7d7e-a9f3-48aa-bff9-11a691555e6e.png)

- 👎 

    ![image (1)](https://user-images.githubusercontent.com/1676121/152388061-32d95e42-cade-4ae4-9a77-7365e7b72b8f.png)


2022-02-03T16:45:41Z
https://github.com/huggingface/datasets/issues/3673#issuecomment-1029184824
https://api.github.com/repos/huggingface/datasets/issues/3673
IC_kwDODunzps49WB04
https://api.github.com/repos/huggingface/datasets/issues/comments/1029184824/reactions
2022-02-03T16:45:41Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1029184824
https://avatars.githubusercontent.com/u/1676121?v=4
https://api.github.com/users/severo/events{/privacy}
https://api.github.com/users/severo/followers
https://api.github.com/users/severo/following{/other_user}
https://api.github.com/users/severo/gists{/gist_id}
https://github.com/severo
severo
MDQ6VXNlcjE2NzYxMjE=
https://api.github.com/users/severo/orgs
https://api.github.com/users/severo/received_events
https://api.github.com/users/severo/repos
https://api.github.com/users/severo/starred{/owner}{/repo}
https://api.github.com/users/severo/subscriptions
User
https://api.github.com/users/severo
public
NONE
I like Option 1 better as it shows clearly what the user is downloading
2022-02-03T16:48:28Z
https://github.com/huggingface/datasets/issues/3673#issuecomment-1029187459
https://api.github.com/repos/huggingface/datasets/issues/3673
IC_kwDODunzps49WCeD
https://api.github.com/repos/huggingface/datasets/issues/comments/1029187459/reactions
2022-02-03T16:48:28Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1029187459
https://avatars.githubusercontent.com/u/61748653?v=4
https://api.github.com/users/pietrolesci/events{/privacy}
https://api.github.com/users/pietrolesci/followers
https://api.github.com/users/pietrolesci/following{/other_user}
https://api.github.com/users/pietrolesci/gists{/gist_id}
https://github.com/pietrolesci
pietrolesci
MDQ6VXNlcjYxNzQ4NjUz
https://api.github.com/users/pietrolesci/orgs
https://api.github.com/users/pietrolesci/received_events
https://api.github.com/users/pietrolesci/repos
https://api.github.com/users/pietrolesci/starred{/owner}{/repo}
https://api.github.com/users/pietrolesci/subscriptions
User
https://api.github.com/users/pietrolesci
public
COLLABORATOR
Thanks! 
2022-02-03T21:10:40Z
https://github.com/huggingface/datasets/issues/3673#issuecomment-1029405251
https://api.github.com/repos/huggingface/datasets/issues/3673
IC_kwDODunzps49W3pD
https://api.github.com/repos/huggingface/datasets/issues/comments/1029405251/reactions
2022-02-03T21:10:40Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1029405251
https://avatars.githubusercontent.com/u/1676121?v=4
https://api.github.com/users/severo/events{/privacy}
https://api.github.com/users/severo/followers
https://api.github.com/users/severo/following{/other_user}
https://api.github.com/users/severo/gists{/gist_id}
https://github.com/severo
severo
MDQ6VXNlcjE2NzYxMjE=
https://api.github.com/users/severo/orgs
https://api.github.com/users/severo/received_events
https://api.github.com/users/severo/repos
https://api.github.com/users/severo/starred{/owner}{/repo}
https://api.github.com/users/severo/subscriptions
User
https://api.github.com/users/severo
public
COLLABORATOR
It's [live](https://huggingface.co/datasets/glue/viewer/cola/train):

<img width="1126" alt="Capture d’écran 2022-02-14 à 10 26 03" src="https://user-images.githubusercontent.com/1676121/153836716-25f6205b-96af-42d8-880a-7c09cb24c420.png">

Thanks all for the help to improve the UI!
2022-02-14T09:28:46Z
https://github.com/huggingface/datasets/issues/3673#issuecomment-1038853868
https://api.github.com/repos/huggingface/datasets/issues/3673
IC_kwDODunzps4966bs
https://api.github.com/repos/huggingface/datasets/issues/comments/1038853868/reactions
2022-02-14T09:28:46Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1038853868
https://avatars.githubusercontent.com/u/1676121?v=4
https://api.github.com/users/severo/events{/privacy}
https://api.github.com/users/severo/followers
https://api.github.com/users/severo/following{/other_user}
https://api.github.com/users/severo/gists{/gist_id}
https://github.com/severo
severo
MDQ6VXNlcjE2NzYxMjE=
https://api.github.com/users/severo/orgs
https://api.github.com/users/severo/received_events
https://api.github.com/users/severo/repos
https://api.github.com/users/severo/starred{/owner}{/repo}
https://api.github.com/users/severo/subscriptions
User
https://api.github.com/users/severo
public
MEMBER
Love it ! thanks :)
2022-02-16T11:22:31Z
https://github.com/huggingface/datasets/issues/3673#issuecomment-1041386024
https://api.github.com/repos/huggingface/datasets/issues/3673
IC_kwDODunzps4-Ekoo
https://api.github.com/repos/huggingface/datasets/issues/comments/1041386024/reactions
2022-02-16T11:22:31Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1041386024
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
## Describe the bug
The dataset that is downloaded from the Hub via `load_dataset("snli")` is different from what is available in the dataset viewer. In the viewer the labels are not encoded (i.e., "neutral", "entailment", "contradiction"), while the downloaded dataset shows the encoded labels (i.e., 0, 1, 2).

Is this expected? 


## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version:
- Platform: Ubuntu 20.4
- Python version: 3.7
