huggingface / huggingface/evaluate

ImportError: To be able to use evaluate-metric/rouge, you need to install the following dependencies['nltk'] using 'pip install # Here to have a nice missing dependency error message early on' for instance'

Open
#434 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
2.5k
Forks
341
PR merge metrics
No merged PRs in 30d

Description

Hi everyone, I encount this error when the code init the
```rouge = evaluate.load('rouge')```
![image](https://user-images.githubusercontent.com/11539889/227168693-2bb016ce-c3f4-46ad-9a43-6874692aa045.png)
But the pip have install the nltk
![image](https://user-images.githubusercontent.com/11539889/227169215-b6c2664f-8da8-4a77-a893-b7cfa978412c.png)

Is it a bug or ??

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.