`xnli` dataset creating a tuple key while yielding instead of `str` or `int`
{'login': 'NikhilBartwal', 'id': 42388668, 'node_id': 'MDQ6VXNlcjQyMzg4NjY4', 'avatar_url': 'https://avatars.githubusercontent.com/u/42388668?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/NikhilBartwal', 'html_url': 'https://github.com/NikhilBartwal', 'followers_url': 'https://api.github.com/users/NikhilBartwal/followers', 'following_url': 'https://api.github.com/users/NikhilBartwal/following{/other_user}', 'gists_url': 'https://api.github.com/users/NikhilBartwal/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/NikhilBartwal/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/NikhilBartwal/subscriptions', 'organizations_url': 'https://api.github.com/users/NikhilBartwal/orgs', 'repos_url': 'https://api.github.com/users/NikhilBartwal/repos', 'events_url': 'https://api.github.com/users/NikhilBartwal/events{/privacy}', 'received_events_url': 'https://api.github.com/users/NikhilBartwal/received_events', 'type': 'User', 'site_admin': False}
[]
[]
Hi ! Sure sounds good. Also if you find other datasets that use tuples instead of str/int, you can also fix them !
thanks :) @lhoestq I have sent a PR for fixing the issue. Would be great if you could have a look! Thanks!
When using  `ds = datasets.load_dataset('xnli', 'ar')`, the dataset generation script uses the following section of code in the egging, which yields a tuple key instead of the specified `str` or `int` key:
https://github.com/huggingface/datasets/blob/56346791aed417306d054d89bd693d6b7eab17f7/datasets/xnli/xnli.py#L196

Since, community datasets in Tensorflow Datasets also use HF datasets, this causes a Tuple key error while loading HF's `xnli` dataset. 
I'm up for sending a fix for this, I think we can simply use `file_idx + "_" + row_idx` as a unique key instead of a tuple.
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/2229/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}