huggingface / huggingface/evaluate

Add Average Normalized Levenshtein Similarity (ANLS)

Open
#321 3 comments 11 reactions 0 assignees View on GitHub
metric request
Dominant language
Python
Stars
2.5k
Forks
341
PR merge metrics
No merged PRs in 30d

Description

Document visual question answering (DocVQA) models, like LayoutLM and Donut, are evaluated using the Average Normalized Levenshtein Similarity metric (ANLS for short).

Would be very useful for the community to have this metric in the evaluate library.

The metric was introduced here for DocVQA: https://rrc.cvc.uab.es/?ch=17&com=tasks.

![image (4)](https://user-images.githubusercontent.com/48327001/195277520-b1ef2be2-c4d7-417b-91ec-5fda8aa6db06.png)

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.