Mistaken `_KWARGS_DESCRIPTION` for XNLI metric
{'login': 'phiyodr', 'id': 33572125, 'node_id': 'MDQ6VXNlcjMzNTcyMTI1', 'avatar_url': 'https://avatars.githubusercontent.com/u/33572125?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/phiyodr', 'html_url': 'https://github.com/phiyodr', 'followers_url': 'https://api.github.com/users/phiyodr/followers', 'following_url': 'https://api.github.com/users/phiyodr/following{/other_user}', 'gists_url': 'https://api.github.com/users/phiyodr/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/phiyodr/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/phiyodr/subscriptions', 'organizations_url': 'https://api.github.com/users/phiyodr/orgs', 'repos_url': 'https://api.github.com/users/phiyodr/repos', 'events_url': 'https://api.github.com/users/phiyodr/events{/privacy}', 'received_events_url': 'https://api.github.com/users/phiyodr/received_events', 'type': 'User', 'site_admin': False}
[]
[]
Indeed, good catch ! thanks
Fixing it right now
Hi!

The [`_KWARGS_DESCRIPTION`](https://github.com/huggingface/nlp/blob/7d0fa58641f3f462fb2861dcdd6ce7f0da3f6a56/metrics/xnli/xnli.py#L45) for the XNLI metric uses `Args` and `Returns` text from [BLEU](https://github.com/huggingface/nlp/blob/7d0fa58641f3f462fb2861dcdd6ce7f0da3f6a56/metrics/bleu/bleu.py#L58) metric:

```
_KWARGS_DESCRIPTION = """
Computes XNLI score which is just simple accuracy.
Args:
    predictions: list of translations to score.
        Each translation should be tokenized into a list of tokens.
    references: list of lists of references for each translation.
        Each reference should be tokenized into a list of tokens.
    max_order: Maximum n-gram order to use when computing BLEU score.
    smooth: Whether or not to apply Lin et al. 2004 smoothing.
Returns:
    'bleu': bleu score,
    'precisions': geometric mean of n-gram precisions,
    'brevity_penalty': brevity penalty,
    'length_ratio': ratio of lengths,
    'translation_length': translation_length,
    'reference_length': reference_length
"""
```

But it should be something like:

```
_KWARGS_DESCRIPTION = """
Computes XNLI score which is just simple accuracy.
Args:
    predictions: Predicted labels.
    references: Ground truth labels.
Returns:
    'accuracy': accuracy
```
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/202/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}