SacreBLEU update
CONTRIBUTOR
Hi @devrimcavusoglu, 
I tried your code with latest version of `datasets`and `sacrebleu==1.5.1` and it's running fine after changing one small thing:
```
sacrebleu = datasets.load_metric('sacrebleu')
predictions = ["It is a guide to action which ensures that the military always obeys the commands of the party"]
references = [["It is a guide to action that ensures that the military will forever heed Party commands"]]  # double brackets here should do the work
results = sacrebleu.compute(predictions=predictions, references=references)
print(results)
output: {'score': 41.180376356915765, 'counts': [11, 8, 6, 4], 'totals': [18, 17, 16, 15], 'precisions': [61.111111111111114, 47.05882352941177, 37.5, 26.666666666666668], 'bp': 1.0, 'sys_len': 18, 'ref_len': 16}
```
2021-07-31T07:06:17Z
https://github.com/huggingface/datasets/issues/2737#issuecomment-890303246
https://api.github.com/repos/huggingface/datasets/issues/2737
IC_kwDODunzps41EPMO
https://api.github.com/repos/huggingface/datasets/issues/comments/890303246/reactions
2021-07-31T07:06:17Z
https://api.github.com/repos/huggingface/datasets/issues/comments/890303246
https://avatars.githubusercontent.com/u/19718818?v=4
https://api.github.com/users/bhavitvyamalik/events{/privacy}
https://api.github.com/users/bhavitvyamalik/followers
https://api.github.com/users/bhavitvyamalik/following{/other_user}
https://api.github.com/users/bhavitvyamalik/gists{/gist_id}
https://github.com/bhavitvyamalik
bhavitvyamalik
MDQ6VXNlcjE5NzE4ODE4
https://api.github.com/users/bhavitvyamalik/orgs
https://api.github.com/users/bhavitvyamalik/received_events
https://api.github.com/users/bhavitvyamalik/repos
https://api.github.com/users/bhavitvyamalik/starred{/owner}{/repo}
https://api.github.com/users/bhavitvyamalik/subscriptions
User
https://api.github.com/users/bhavitvyamalik
public
NONE
@bhavitvyamalik hmm. I forgot double brackets, but still didn't work when used it with double brackets. It may be an isseu with platform (using win-10 currently), or versions. What is your platform and your version info for datasets, python, and sacrebleu ?
2021-07-31T09:02:37Z
https://github.com/huggingface/datasets/issues/2737#issuecomment-890315671
https://api.github.com/repos/huggingface/datasets/issues/2737
IC_kwDODunzps41ESOX
https://api.github.com/repos/huggingface/datasets/issues/comments/890315671/reactions
2021-07-31T09:03:10Z
https://api.github.com/repos/huggingface/datasets/issues/comments/890315671
https://avatars.githubusercontent.com/u/46989091?v=4
https://api.github.com/users/devrimcavusoglu/events{/privacy}
https://api.github.com/users/devrimcavusoglu/followers
https://api.github.com/users/devrimcavusoglu/following{/other_user}
https://api.github.com/users/devrimcavusoglu/gists{/gist_id}
https://github.com/devrimcavusoglu
devrimcavusoglu
MDQ6VXNlcjQ2OTg5MDkx
https://api.github.com/users/devrimcavusoglu/orgs
https://api.github.com/users/devrimcavusoglu/received_events
https://api.github.com/users/devrimcavusoglu/repos
https://api.github.com/users/devrimcavusoglu/starred{/owner}{/repo}
https://api.github.com/users/devrimcavusoglu/subscriptions
User
https://api.github.com/users/devrimcavusoglu
public
CONTRIBUTOR
You can check that here, I've reproduced your code in [Google colab](https://colab.research.google.com/drive/1X90fHRgMLKczOVgVk7NDEw_ciZFDjaCM?usp=sharing). Looks like there was some issue in `sacrebleu` which was fixed later from what I've found [here](https://github.com/pytorch/fairseq/issues/2049#issuecomment-622367967). Upgrading `sacrebleu` to latest version should work.
2021-07-31T09:23:15Z
https://github.com/huggingface/datasets/issues/2737#issuecomment-890318350
https://api.github.com/repos/huggingface/datasets/issues/2737
IC_kwDODunzps41ES4O
https://api.github.com/repos/huggingface/datasets/issues/comments/890318350/reactions
2021-07-31T09:32:28Z
https://api.github.com/repos/huggingface/datasets/issues/comments/890318350
https://avatars.githubusercontent.com/u/19718818?v=4
https://api.github.com/users/bhavitvyamalik/events{/privacy}
https://api.github.com/users/bhavitvyamalik/followers
https://api.github.com/users/bhavitvyamalik/following{/other_user}
https://api.github.com/users/bhavitvyamalik/gists{/gist_id}
https://github.com/bhavitvyamalik
bhavitvyamalik
MDQ6VXNlcjE5NzE4ODE4
https://api.github.com/users/bhavitvyamalik/orgs
https://api.github.com/users/bhavitvyamalik/received_events
https://api.github.com/users/bhavitvyamalik/repos
https://api.github.com/users/bhavitvyamalik/starred{/owner}{/repo}
https://api.github.com/users/bhavitvyamalik/subscriptions
User
https://api.github.com/users/bhavitvyamalik
public
MEMBER
It seems that next release of `sacrebleu` (v2.0.0) will break our `datasets` implementation to compute it. See my Google Colab: https://colab.research.google.com/drive/1SKmvvjQi6k_3OHsX5NPkZdiaJIfXyv9X?usp=sharing

I'm reopening this Issue and making a Pull Request to fix it.
2021-08-02T05:01:09Z
https://github.com/huggingface/datasets/issues/2737#issuecomment-890715723
https://api.github.com/repos/huggingface/datasets/issues/2737
IC_kwDODunzps41Fz5L
https://api.github.com/repos/huggingface/datasets/issues/comments/890715723/reactions
2021-08-02T07:40:20Z
https://api.github.com/repos/huggingface/datasets/issues/comments/890715723
https://avatars.githubusercontent.com/u/8515462?v=4
https://api.github.com/users/albertvillanova/events{/privacy}
https://api.github.com/users/albertvillanova/followers
https://api.github.com/users/albertvillanova/following{/other_user}
https://api.github.com/users/albertvillanova/gists{/gist_id}
https://github.com/albertvillanova
albertvillanova
MDQ6VXNlcjg1MTU0NjI=
https://api.github.com/users/albertvillanova/orgs
https://api.github.com/users/albertvillanova/received_events
https://api.github.com/users/albertvillanova/repos
https://api.github.com/users/albertvillanova/starred{/owner}{/repo}
https://api.github.com/users/albertvillanova/subscriptions
User
https://api.github.com/users/albertvillanova
public
NONE
> It seems that next release of `sacrebleu` (v2.0.0) will break our `datasets` implementation to compute it. See my Google Colab: https://colab.research.google.com/drive/1SKmvvjQi6k_3OHsX5NPkZdiaJIfXyv9X?usp=sharing
> 
> I'm reopening this Issue and making a Pull Request to fix it.

How did you solve him
2021-09-22T10:47:41Z
https://github.com/huggingface/datasets/issues/2737#issuecomment-924814093
https://api.github.com/repos/huggingface/datasets/issues/2737
IC_kwDODunzps43H4sN
https://api.github.com/repos/huggingface/datasets/issues/comments/924814093/reactions
2021-09-22T10:47:41Z
https://api.github.com/repos/huggingface/datasets/issues/comments/924814093
https://avatars.githubusercontent.com/u/14285786?v=4
https://api.github.com/users/enze5088/events{/privacy}
https://api.github.com/users/enze5088/followers
https://api.github.com/users/enze5088/following{/other_user}
https://api.github.com/users/enze5088/gists{/gist_id}
https://github.com/enze5088
enze5088
MDQ6VXNlcjE0Mjg1Nzg2
https://api.github.com/users/enze5088/orgs
https://api.github.com/users/enze5088/received_events
https://api.github.com/users/enze5088/repos
https://api.github.com/users/enze5088/starred{/owner}{/repo}
https://api.github.com/users/enze5088/subscriptions
User
https://api.github.com/users/enze5088
public
With the latest release of [sacrebleu](https://github.com/mjpost/sacrebleu), `datasets.metrics.sacrebleu` is broken, and getting error.

    AttributeError: module 'sacrebleu' has no attribute 'DEFAULT_TOKENIZER'

this happens since in new version of sacrebleu there is no `DEFAULT_TOKENIZER`, but sacrebleu.py tries to import it anyways. This can be fixed currently with fixing `sacrebleu==1.5.0`

## Steps to reproduce the bug
```python
sacrebleu= datasets.load_metric('sacrebleu')
predictions = ["It is a guide to action which ensures that the military always obeys the commands of the party"]
references = ["It is a guide to action that ensures that the military will forever heed Party commands"]
results = sacrebleu.compute(predictions=predictions, references=references)
print(results)
```

## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.11.0
- Platform: Windows-10-10.0.19041-SP0
- Python version: Python 3.8.0
- PyArrow version: 5.0.0
