Open danhertztech opened 11 months ago
This is related to https://github.com/huggingface/evaluate/issues/486, but am posting separately, as it is an error specific to the cer.py file I am using.
Is there a more current cer.py file I should be using to move from datasets.load_metric("cer") to evaluate.load("cer")?
FILE: https://huggingface.co/spaces/evaluate-metric/cer/blob/af39b3b7914ffb126ece472884f75033cfc4727b/cer.py
MY FILE LOCATION: Placed it in /project-root/cer/cer.py Google Colab
During evaluate phase of fine-tuning, ran into this error:
ERROR: class CERConfig(evaluate.info.Config): AttributeError: module 'evaluate.info' has no attribute 'Config'. Did you mean: 'config'?
Thanks!
Here is a screenshot.
This is related to https://github.com/huggingface/evaluate/issues/486, but am posting separately, as it is an error specific to the cer.py file I am using.
Is there a more current cer.py file I should be using to move from datasets.load_metric("cer") to evaluate.load("cer")?
FILE: https://huggingface.co/spaces/evaluate-metric/cer/blob/af39b3b7914ffb126ece472884f75033cfc4727b/cer.py
MY FILE LOCATION: Placed it in /project-root/cer/cer.py Google Colab
During evaluate phase of fine-tuning, ran into this error:
ERROR: class CERConfig(evaluate.info.Config): AttributeError: module 'evaluate.info' has no attribute 'Config'. Did you mean: 'config'?
Thanks!