EleutherAI/lm-evaluation-harness
View on GitHubHendrycks Math extraction rule seems too strict
Open
#2,552 opened on Dec 8, 2024
good first issuevalidation
Repository metrics
- Stars
- (12,755 stars)
- PR merge metrics
- (Avg merge 15d 7h) (11 merged PRs in 30d)
Description
Hi thanks for the library! It seems that the way how math answer is extracted, i.e. https://github.com/EleutherAI/lm-evaluation-harness/blob/bcb4cbf464668450f1969a4f1bef28f8638d1648/lm_eval/tasks/hendrycks_math/utils.py#L20-L24, may be too strict.
For example, the following answer: ... some reasoning logic ... Thus the answer is \[ \boxed{42} \] is not extracted, because it is not a $.