JSONDecodeError with HuggingFace dataset viewer
MEMBER
Hi ! I think the issue comes from the dataset_infos.json file: it has the "flat" field twice.

Can you try deleting this file and regenerating it please ?
2021-12-17T13:51:58Z
https://github.com/huggingface/datasets/issues/3448#issuecomment-996738468
https://api.github.com/repos/huggingface/datasets/issues/3448
IC_kwDODunzps47aQWk
https://api.github.com/repos/huggingface/datasets/issues/comments/996738468/reactions
2021-12-17T13:51:58Z
https://api.github.com/repos/huggingface/datasets/issues/comments/996738468
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
Thanks! That fixed that, but now I am getting:
Server Error
Status code:   400
Exception:     KeyError
Message:       'feature'

I checked the dataset_infos.json and pubmed_neg.py script, I don't use 'feature' anywhere as a key. Is the dataset viewer expecting that I do?
2021-12-17T14:12:54Z
https://github.com/huggingface/datasets/issues/3448#issuecomment-996753214
https://api.github.com/repos/huggingface/datasets/issues/3448
IC_kwDODunzps47aT8-
https://api.github.com/repos/huggingface/datasets/issues/comments/996753214/reactions
2021-12-17T14:12:54Z
https://api.github.com/repos/huggingface/datasets/issues/comments/996753214
https://avatars.githubusercontent.com/u/57716109?v=4
https://api.github.com/users/kathrynchapman/events{/privacy}
https://api.github.com/users/kathrynchapman/followers
https://api.github.com/users/kathrynchapman/following{/other_user}
https://api.github.com/users/kathrynchapman/gists{/gist_id}
https://github.com/kathrynchapman
kathrynchapman
MDQ6VXNlcjU3NzE2MTA5
https://api.github.com/users/kathrynchapman/orgs
https://api.github.com/users/kathrynchapman/received_events
https://api.github.com/users/kathrynchapman/repos
https://api.github.com/users/kathrynchapman/starred{/owner}{/repo}
https://api.github.com/users/kathrynchapman/subscriptions
User
https://api.github.com/users/kathrynchapman
public
MEMBER
It seems that the `feature` key is missing from some feature type definition in your dataset_infos.json:
```json
			"tokens": {
				"dtype": "list",
				"id": null,
				"_type": "Sequence"
			},
			"tags": {
				"dtype": "list",
				"id": null,
				"_type": "Sequence"
			}
```
They should be
```json
			"tokens": {
				"dtype": "list",
				"id": null,
				"_type": "Sequence"
                                 "feature": {"dtype": "string", "id": null, "_type": "Value"}
			},
			"tags": {
				"dtype": "list",
				"id": null,
				"_type": "Sequence",
                                 "feature": {"num_classes": 5, "names": ["-", "S", "H", "N", "C"], "names_file": null, "id": null, "_type": "ClassLabel"}
			}
```

Note that you can generate the dataset_infos.json automatically to avoid mistakes:
```bash
datasets-cli test ./path/to/dataset --save_infos
```
2021-12-20T14:00:52Z
https://github.com/huggingface/datasets/issues/3448#issuecomment-997949062
https://api.github.com/repos/huggingface/datasets/issues/3448
IC_kwDODunzps47e36G
https://api.github.com/repos/huggingface/datasets/issues/comments/997949062/reactions
2021-12-20T14:00:52Z
https://api.github.com/repos/huggingface/datasets/issues/comments/997949062
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
## Dataset viewer issue for 'pubmed_neg'

**Link:** https://huggingface.co/datasets/IGESML/pubmed_neg

I am getting the error: 
Status code:   400
Exception:     JSONDecodeError
Message:       Expecting property name enclosed in double quotes: line 61 column 2 (char 1202)

I have checked all files - I am not using single quotes anywhere. Not sure what is causing this issue.

Am I the one who added this dataset ? Yes
