EleutherAI/lm-evaluation-harness

Regarding metric chrf's implementation

Open

#2,256 opened on Aug 28, 2024

View on GitHub
 (6 comments) (0 reactions) (0 assignees)Python (3,306 forks)auto 404
feature requestgood first issue

Repository metrics

Stars
 (12,755 stars)
PR merge metrics
 (Avg merge 15d 7h) (11 merged PRs in 30d)

Description

Hi,

In this repo, the chrf metric implementation calls sacrebleu.corpus_chrf() with default parameters: character order 6 and word order 0. Perhaps in metric.py it would be nice to include those two optional parameters so users can specify this in task.yml, for example to facilitate chrf++ which uses word order 2?

Thanks!

Contributor guide