huggingface / huggingface/evaluate

CER Normalization

Open
#161 5 comments 1 reaction 0 assignees View on GitHub
Metric discussion
Dominant language
Python
Stars
2.5k
Forks
341
PR merge metrics
No merged PRs in 30d

Description

I'm not finding in the documentation a method to normalize CER metric. Do you have this implemented?

```
cer.features
OUTPUT:
{'predictions': Value(dtype='string', id='sequence'),
'references': Value(dtype='string', id='sequence')}

df[df['cer'] == 1.25]
OUTPUT:
GT | OCR_Prediction | wer | cer
2.49 | 749.00 | 1.0 | 1.25
2.49 | 749.00 | 1.0 | 1.25
2.50 | 1950.00 | 1.0 | 1.25
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.