Open
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']))"
Metadata
Metadata
Assignees
Labels
No labels