Inconsistent argument names.
{'login': 'Fraser-Greenlee', 'id': 8402500, 'node_id': 'MDQ6VXNlcjg0MDI1MDA=', 'avatar_url': 'https://avatars.githubusercontent.com/u/8402500?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/Fraser-Greenlee', 'html_url': 'https://github.com/Fraser-Greenlee', 'followers_url': 'https://api.github.com/users/Fraser-Greenlee/followers', 'following_url': 'https://api.github.com/users/Fraser-Greenlee/following{/other_user}', 'gists_url': 'https://api.github.com/users/Fraser-Greenlee/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/Fraser-Greenlee/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/Fraser-Greenlee/subscriptions', 'organizations_url': 'https://api.github.com/users/Fraser-Greenlee/orgs', 'repos_url': 'https://api.github.com/users/Fraser-Greenlee/repos', 'events_url': 'https://api.github.com/users/Fraser-Greenlee/events{/privacy}', 'received_events_url': 'https://api.github.com/users/Fraser-Greenlee/received_events', 'type': 'User', 'site_admin': False}
[]
[]
Also for the `Accuracy` metric the `accuracy_score` method should have its args in the opposite order so `accuracy_score(predictions, references,,,)`. Thanks for pointing this out ! 🕵🏻 
Predictions and references should indeed be swapped in the docstring.
However, the call to `accuracy_score` should not be changed, it [signature](https://scikit-learn.org/stable/modules/generated/sklearn.metrics.accuracy_score.html#sklearn.metrics.accuracy_score) being:
```
sklearn.metrics.accuracy_score(y_true, y_pred, *, normalize=True, sample_weight=None)
```

Feel free to open a PR if you want to fix this :)
Just find it a wee bit odd that in the transformers library `predictions` are those made by the model:
https://github.com/huggingface/transformers/blob/master/src/transformers/trainer_utils.py#L51-L61

While in many datasets metrics they are the ground truth labels:
https://github.com/huggingface/datasets/blob/c3f53792a744ede18d748a1133b6597fdd2d8d18/metrics/accuracy/accuracy.py#L31-L40

Do you think predictions & references should be swapped? I'd be willing to do some refactoring here if you agree.
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/1478/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}