Remove `extended` field from dataset tagger
MEMBER
The tagger also doesn't insert the value for the `size_categories` field automatically, so this should be fixed too
2021-06-01T17:19:27Z
https://github.com/huggingface/datasets/issues/2440#issuecomment-852300715
https://api.github.com/repos/huggingface/datasets/issues/2440
MDEyOklzc3VlQ29tbWVudDg1MjMwMDcxNQ==
https://api.github.com/repos/huggingface/datasets/issues/comments/852300715/reactions
2021-06-01T17:19:27Z
https://api.github.com/repos/huggingface/datasets/issues/comments/852300715
https://avatars.githubusercontent.com/u/26859204?v=4
https://api.github.com/users/lewtun/events{/privacy}
https://api.github.com/users/lewtun/followers
https://api.github.com/users/lewtun/following{/other_user}
https://api.github.com/users/lewtun/gists{/gist_id}
https://github.com/lewtun
lewtun
MDQ6VXNlcjI2ODU5MjA0
https://api.github.com/users/lewtun/orgs
https://api.github.com/users/lewtun/received_events
https://api.github.com/users/lewtun/repos
https://api.github.com/users/lewtun/starred{/owner}{/repo}
https://api.github.com/users/lewtun/subscriptions
User
https://api.github.com/users/lewtun
public
MEMBER
Thanks for reporting. Indeed the `extended` tag doesn't exist. Not sure why we had that in the tagger.
The repo of the tagger is here if someone wants to give this a try: https://github.com/huggingface/datasets-tagging
Otherwise I can probably fix it next week
2021-06-04T09:00:21Z
https://github.com/huggingface/datasets/issues/2440#issuecomment-854499138
https://api.github.com/repos/huggingface/datasets/issues/2440
MDEyOklzc3VlQ29tbWVudDg1NDQ5OTEzOA==
https://api.github.com/repos/huggingface/datasets/issues/comments/854499138/reactions
2021-06-04T09:00:21Z
https://api.github.com/repos/huggingface/datasets/issues/comments/854499138
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
MEMBER
I've opened a PR on `datasets-tagging` to fix the issue 🚀 
2021-06-08T12:29:42Z
https://github.com/huggingface/datasets/issues/2440#issuecomment-856723307
https://api.github.com/repos/huggingface/datasets/issues/2440
MDEyOklzc3VlQ29tbWVudDg1NjcyMzMwNw==
https://api.github.com/repos/huggingface/datasets/issues/comments/856723307/reactions
2021-06-08T12:29:42Z
https://api.github.com/repos/huggingface/datasets/issues/comments/856723307
https://avatars.githubusercontent.com/u/26859204?v=4
https://api.github.com/users/lewtun/events{/privacy}
https://api.github.com/users/lewtun/followers
https://api.github.com/users/lewtun/following{/other_user}
https://api.github.com/users/lewtun/gists{/gist_id}
https://github.com/lewtun
lewtun
MDQ6VXNlcjI2ODU5MjA0
https://api.github.com/users/lewtun/orgs
https://api.github.com/users/lewtun/received_events
https://api.github.com/users/lewtun/repos
https://api.github.com/users/lewtun/starred{/owner}{/repo}
https://api.github.com/users/lewtun/subscriptions
User
https://api.github.com/users/lewtun
public
MEMBER
thanks ! this is fixed now
2021-06-09T09:06:30Z
https://github.com/huggingface/datasets/issues/2440#issuecomment-857524015
https://api.github.com/repos/huggingface/datasets/issues/2440
MDEyOklzc3VlQ29tbWVudDg1NzUyNDAxNQ==
https://api.github.com/repos/huggingface/datasets/issues/comments/857524015/reactions
2021-06-09T09:06:30Z
https://api.github.com/repos/huggingface/datasets/issues/comments/857524015
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
While working on #2435 I used the [dataset tagger](https://huggingface.co/datasets/tagging/) to generate the missing tags for the YAML metadata of each README.md file. However, it seems that our CI raises an error when the `extended` field is included:

```
dataset_name = 'arcd'

    @pytest.mark.parametrize("dataset_name", get_changed_datasets(repo_path))
    def test_changed_dataset_card(dataset_name):
        card_path = repo_path / "datasets" / dataset_name / "README.md"
        assert card_path.exists()
        error_messages = []
        try:
            ReadMe.from_readme(card_path)
        except Exception as readme_error:
            error_messages.append(f"The following issues have been found in the dataset cards:\nREADME:\n{readme_error}")
        try:
            DatasetMetadata.from_readme(card_path)
        except Exception as metadata_error:
            error_messages.append(
                f"The following issues have been found in the dataset cards:\nYAML tags:\n{metadata_error}"
            )
    
        if error_messages:
>           raise ValueError("\n".join(error_messages))
E           ValueError: The following issues have been found in the dataset cards:
E           YAML tags:
E           __init__() got an unexpected keyword argument 'extended'

tests/test_dataset_cards.py:70: ValueError
```

Consider either removing this tag from the tagger or including it as part of the validation step in the CI.

cc @yjernite 