huggingface / huggingface/evaluate

Unable to compute f1 score - Throwing Value Error trying to convert a string in non english Language to integer

Open
#610 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
2.5k
Forks
341
PR merge metrics
No merged PRs in 30d

Description

I am trying to compte f1 score ,My predictions are mostly numbers whreas my references are sometimes malayalm sting version of these numbers. Thus I am getting a value error trying to convert this string to integer.

ValueError: invalid literal for int() with base 10: 'നാല്'

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.