huggingface / huggingface/evaluate
FileNotFoundError: Couldn't find a module script at /mnt/data/dingtian/exact_match/exact_match.py. Module 'exact_match' doesn't exist on the Hugging Face Hub either.
- Dominant language
- Python
- Stars
- 2.5k
- Forks
- 341
- PR merge metrics
- No merged PRs in 30d
Description
I have installed `evaluate` manually using
```
git clone https://github.com/huggingface/evaluate.git
cd evaluate
pip install -e .
```
and my `evaluate` is under /mnt/data/dingtian/evaluate, I don't understand why it keeps looking for files in /mnt/data/dingtian/exact_match/exact_match.py, and if I change the dir in the load func, it can work:
```
# FileNotFoundError
python -c "import evaluate; print(evaluate.load('exact_match').compute(references=['hello'], predictions=['hello']))"
# work
python -c "import evaluate; print(evaluate.load('/mnt/data/dingtian/evaluate/metrics/exact_match/exact_match.py').compute(references=['hello'], predictions=['hello']))"
```
Contributor guide
Assessment
This issue has not been assessed yet.