Missing original answers in kilt-TriviaQA
{'login': 'PaulLerner', 'id': 25532159, 'node_id': 'MDQ6VXNlcjI1NTMyMTU5', 'avatar_url': 'https://avatars.githubusercontent.com/u/25532159?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/PaulLerner', 'html_url': 'https://github.com/PaulLerner', 'followers_url': 'https://api.github.com/users/PaulLerner/followers', 'following_url': 'https://api.github.com/users/PaulLerner/following{/other_user}', 'gists_url': 'https://api.github.com/users/PaulLerner/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/PaulLerner/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/PaulLerner/subscriptions', 'organizations_url': 'https://api.github.com/users/PaulLerner/orgs', 'repos_url': 'https://api.github.com/users/PaulLerner/repos', 'events_url': 'https://api.github.com/users/PaulLerner/events{/privacy}', 'received_events_url': 'https://api.github.com/users/PaulLerner/received_events', 'type': 'User', 'site_admin': False}
[{'id': 1935892857, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODU3', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/bug', 'name': 'bug', 'color': 'd73a4a', 'default': True, 'description': "Something isn't working"}]
[]
That could be useful indeed! Feel free to open a PR on the dataset card if you already have some code that runs, otherwise we'll take care of it soon :)  I can open a PR but there is 2 details to fix:
- the name for the corresponding key (e.g. `original_answer`)
- how to implement it: I’m not sure what happens when you map `lambda x: {'input': ...}` as it keeps the other keys (e.g. `output`) intact but here since we want to set a nested value (e.g. `x['output']['original_answer']`) I implemented it with a regular function (not lambda), see below

```py
def add_original_answer(x, trivia_qa, triviaqa_map):
    i = triviaqa_map[x['id']]
    x['output']['original_answer'] = trivia_qa['validation'][i]['answer']['value']
    return x
```
I previously opened an issue at https://github.com/facebookresearch/KILT/issues/42 but from the answer of @fabiopetroni it seems that the problem comes from HF-datasets

## Describe the bug
The `answer` field in kilt-TriviaQA, e.g. `kilt_tasks['train_triviaqa'][0]['output']['answer']` contains a list of alternative answer which are accepted for the question.  
However it'd be nice to know the original answer to the question (the only fields in `output` are `'answer', 'meta', 'provenance'`)

## How to fix
It can be fixed by retrieving the original answer from the original TriviaQA (e.g. `trivia_qa['train'][0]['answer']['value']`), perhaps at the same place as here where one retrieves the questions https://github.com/huggingface/datasets/blob/master/datasets/kilt_tasks/README.md#loading-the-kilt-knowledge-source-and-task-data

cc @yjernite who previously answered to an issue about KILT and TriviaQA :)

{'url': 'https://api.github.com/repos/huggingface/datasets/issues/2391/reactions', 'total_count': 1, '+1': 1, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}