Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

evaluate.load("wer") is returning Filenotfound error #486

Open
valmetisrinivas opened this issue Aug 23, 2023 · 3 comments
Open

evaluate.load("wer") is returning Filenotfound error #486

valmetisrinivas opened this issue Aug 23, 2023 · 3 comments

Comments

@valmetisrinivas
Copy link

valmetisrinivas commented Aug 23, 2023

Hi, I am working in a Kaggle kernel. I have installed and imported evaluate 0.4.0. I tried to call evaluate.load("wer"). In response, I am getting FileNotFoundError: Couldn't find a module script at /kaggle/working/wer/wer.py. Module 'wer' doesn't exist on the Hugging Face Hub either. Can someone suggest?

import numpy as np 
import evaluate
evaluate.__version__
'0.4.0'
@LetterLiGo
Copy link

same error for loading the 'roc_auc'

@danhertztech
Copy link

I also have this error moving from datasets.load_metric to using evaluate.load("cer"). I tried (unsuccessfully) to resolve it by downloading the following:

https://github.com/huggingface/datasets/blob/main/metrics/cer/cer.py

and placing it in /project-root/cer/cer.py, but this led to the following error:

class CERConfig(evaluate.info.Config):
AttributeError: module 'evaluate.info' has no attribute 'Config'. Did you mean: 'config'?

@danhertztech
Copy link

Sorry, I used this cer file:

https://huggingface.co/spaces/evaluate-metric/cer/blob/af39b3b7914ffb126ece472884f75033cfc4727b/cer.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants