TypeError when computing bertscore
{'login': 'willywsm1013', 'id': 13269577, 'node_id': 'MDQ6VXNlcjEzMjY5NTc3', 'avatar_url': 'https://avatars.githubusercontent.com/u/13269577?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/willywsm1013', 'html_url': 'https://github.com/willywsm1013', 'followers_url': 'https://api.github.com/users/willywsm1013/followers', 'following_url': 'https://api.github.com/users/willywsm1013/following{/other_user}', 'gists_url': 'https://api.github.com/users/willywsm1013/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/willywsm1013/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/willywsm1013/subscriptions', 'organizations_url': 'https://api.github.com/users/willywsm1013/orgs', 'repos_url': 'https://api.github.com/users/willywsm1013/repos', 'events_url': 'https://api.github.com/users/willywsm1013/events{/privacy}', 'received_events_url': 'https://api.github.com/users/willywsm1013/received_events', 'type': 'User', 'site_admin': False}
[]
[]
['I am not able to reproduce this issue on my side.\r\nCould you give us more details about the inputs you used ?\r\n\r\nI do get another error though:\r\n```\r\n~/.virtualenvs/hf-datasets/lib/python3.7/site-packages/bert_score/utils.py in bert_cos_score_idf(model, refs, hyps, tokenizer, idf_dict, verbose, batch_size, device, all_layers)\r\n    371         return sorted(list(set(l)), key=lambda x: len(x.split(" ")))\r\n    372 \r\n--> 373     sentences = dedup_and_sort(refs + hyps)\r\n    374     embs = []\r\n    375     iter_range = range(0, len(sentences), batch_size)\r\n\r\nValueError: operands could not be broadcast together with shapes (0,) (2,)\r\n```\r\nThat\'s because it gets numpy arrays as input and not lists. See #387 '
 'The other issue was fixed by #403 \r\n\r\nDo you still get this issue @willywsm1013 ?\r\n']
Hi, 

I installed nlp 0.3.0 via pip, and my python version is 3.7.
When I tried to compute bertscore with the code:
```
import nlp 
bertscore = nlp.load_metric('bertscore')  
# load hyps and refs 
...
print (bertscore.compute(hyps, refs, lang='en'))
```

I got the following error.
```
Traceback (most recent call last):
  File "bert_score_evaluate.py", line 16, in <module>
    print (bertscore.compute(hyps, refs, lang='en'))
  File "/home/willywsm/anaconda3/envs/torcher/lib/python3.7/site-packages/nlp/metric.py", line 200, in compute
    output = self._compute(predictions=predictions, references=references, **metrics_kwargs)
  File "/home/willywsm/anaconda3/envs/torcher/lib/python3.7/site-packages/nlp/metrics/bertscore/fb176889831bf0ce995ed197edc94b2e9a83f647a869bb8c9477dbb2d04d0f08/bertscore.py", line 105, in _compute
    hashcode = bert_score.utils.get_hash(model_type, num_layers, idf, rescale_with_baseline)
TypeError: get_hash() takes 3 positional arguments but 4 were given
```

It seems like there is something wrong with get_hash() function?
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/375/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}