Connor Boyle
Connor Boyle
Fixes #25. See [this](https://en.wikipedia.org/wiki/Pinyin#Comparison_charts) for correct phonemes for *you* and *yong*
# What does this PR do? Users were previously not given a warning if they initialized a `TokenClassificationPipeline` with too high a value for `stride` (`stride` is the value that...
### Describe the bug When the value of the `labels` parameter is a superset of all observed classes in `y_true` and `y_pred`, `classification_report()` gives separate macro average values for precision,...
Implements #442. Addresses https://github.com/huggingface/transformers/issues/22680 This is a draft PR; I am trying to figure out how to extend this progress bar to other tasks. I may also change it to...
Currently, if you try to print a [`DatasetColumnPair`](https://github.com/huggingface/evaluate/blob/8dfe05784099fb9af55b8e77793205a3b7c86465/src/evaluate/evaluator/utils.py#L41) (say, for debugging purposes), it will just show an empty list. This causes all kind of issues with automatically raised exceptions, etc.
[This line](https://github.com/huggingface/evaluate/blob/8dfe05784099fb9af55b8e77793205a3b7c86465/docs/source/base_evaluator.mdx#L133C2-L133C99) in the documentation states that `label_mapping` is an accepted parameter of [`TokenClassificationEvaluator.compute()`](https://github.com/huggingface/evaluate/blob/8dfe05784099fb9af55b8e77793205a3b7c86465/src/evaluate/evaluator/token_classification.py#L220), when it in fact is not. I suspect this line was absent-mindedly copied over from the...