Add check for task templates on dataset load
{'login': 'lewtun', 'id': 26859204, 'node_id': 'MDQ6VXNlcjI2ODU5MjA0', 'avatar_url': 'https://avatars.githubusercontent.com/u/26859204?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/lewtun', 'html_url': 'https://github.com/lewtun', 'followers_url': 'https://api.github.com/users/lewtun/followers', 'following_url': 'https://api.github.com/users/lewtun/following{/other_user}', 'gists_url': 'https://api.github.com/users/lewtun/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/lewtun/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/lewtun/subscriptions', 'organizations_url': 'https://api.github.com/users/lewtun/orgs', 'repos_url': 'https://api.github.com/users/lewtun/repos', 'events_url': 'https://api.github.com/users/lewtun/events{/privacy}', 'received_events_url': 'https://api.github.com/users/lewtun/received_events', 'type': 'User', 'site_admin': False}
[]
[]
LGTM now, thank you =)
This PR adds a check that the features of a dataset match the schema of each compatible task template.
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/2390/reactions', 'total_count': 1, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 1, 'rocket': 0, 'eyes': 0}
{'url': 'https://api.github.com/repos/huggingface/datasets/pulls/2390', 'html_url': 'https://github.com/huggingface/datasets/pull/2390', 'diff_url': 'https://github.com/huggingface/datasets/pull/2390.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/2390.patch', 'merged_at': '2021-05-21T15:49:06Z'}