huggingface / evaluate

🤗 Evaluate: A library for easily evaluating machine learning models and datasets.

Home Page:https://huggingface.co/docs/evaluate

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

redundant code lines in metric

FlorinAndrei opened this issue · comments

Looks like this line and the one before it do the same thing:

mask = np.not_equal(label, ignore_index)

Hey,
Can I solve this issue?