Errors when I use 
{'login': 'mchari', 'id': 30506151, 'node_id': 'MDQ6VXNlcjMwNTA2MTUx', 'avatar_url': 'https://avatars.githubusercontent.com/u/30506151?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/mchari', 'html_url': 'https://github.com/mchari', 'followers_url': 'https://api.github.com/users/mchari/followers', 'following_url': 'https://api.github.com/users/mchari/following{/other_user}', 'gists_url': 'https://api.github.com/users/mchari/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/mchari/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/mchari/subscriptions', 'organizations_url': 'https://api.github.com/users/mchari/orgs', 'repos_url': 'https://api.github.com/users/mchari/repos', 'events_url': 'https://api.github.com/users/mchari/events{/privacy}', 'received_events_url': 'https://api.github.com/users/mchari/received_events', 'type': 'User', 'site_admin': False}
[]
[]
Looks like an issue with 3.0.2 transformers version. Works fine when I use "master" version of transformers.
I tried the following example code from https://huggingface.co/deepset/roberta-base-squad2 and got errors 
I am using **transformers 3.0.2** code .


from transformers.pipelines import pipeline
from transformers.modeling_auto import AutoModelForQuestionAnswering
from transformers.tokenization_auto import AutoTokenizer

model_name = "deepset/roberta-base-squad2"

nlp = pipeline('question-answering', model=model_name, tokenizer=model_name)
QA_input = {
    'question': 'Why is model conversion important?',
    'context': 'The option to convert models between FARM and transformers gives freedom to the user and let people easily switch between frameworks.'
}
res = nlp(QA_input)

The errors are :

res = nlp(QA_input)
  File ".local/lib/python3.6/site-packages/transformers/pipelines.py", line 1316, in __call__
    for s, e, score in zip(starts, ends, scores)
  File ".local/lib/python3.6/site-packages/transformers/pipelines.py", line 1316, in <listcomp>
    for s, e, score in zip(starts, ends, scores)
KeyError: 0


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