huggingface / huggingface/evaluate
AttributeError: module 'evaluate' has no attribute 'utils'
Open
- Dominant language
- Python
- Stars
- 2.5k
- Forks
- 341
- PR merge metrics
- No merged PRs in 30d
Description
Trying to load seqeval as per the huggingface docs https://huggingface.co/docs/transformers/v4.26.0/en/tasks/token_classification#evaluate
I am just running
```
import evaluate
seqeval = evaluate.load("seqeval")
```
The error I get seems to be coming from this part of the script:
```
--> 102 @evaluate.utils.file_utils.add_start_docstrings(_DESCRIPTION, _KWARGS_DESCRIPTION)
103 class Seqeval(evaluate.Metric):
104 def _info(self):
AttributeError: module 'evaluate' has no attribute 'utils'
```
I've tried reinstalling most of the libraries but to no avail. Any idea what's going on? Thanks.
Contributor guide
Assessment
This issue has not been assessed yet.