Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a new BLEU metric to Evidently #1319

Open
elenasamuylova opened this issue Sep 23, 2024 · 2 comments
Open

Add a new BLEU metric to Evidently #1319

elenasamuylova opened this issue Sep 23, 2024 · 2 comments
Labels
enhancement New feature or request hacktoberfest Accepted contributions will count towards your hacktoberfest PRs

Comments

@elenasamuylova
Copy link
Collaborator

elenasamuylova commented Sep 23, 2024

About Hacktoberfest contributions: https://github.com/evidentlyai/evidently/wiki/Hacktoberfest-2024

Descripton.

The BLEU (Bilingual Evaluation Understudy) metric is used to evaluate the quality of machine-generated text, typically translations, by comparing it to the reference texts. BLEU measures how closely the generated text matches the reference using n-gram precision, with a penalty for overly short or incomplete translations.

We can implement a BLEU metric that computes scores for each row and a summary BLEU metric for the dataset.

Note that this implementation would require creating a new Metric (instead of defaulting to ColumnSummaryMetric to aggregate descriptors values) to compute and visualize the summary BLEU score. You can check other dataset-level metrics (e.g., from classification or ranking) for inspiration.

Note: we can also consider implementing METEOR metric as an option.

@elenasamuylova elenasamuylova added enhancement New feature or request hacktoberfest Accepted contributions will count towards your hacktoberfest PRs labels Sep 23, 2024
@srini047
Copy link

srini047 commented Oct 5, 2024

Hi @elenasamuylova ,

I would like to work on this issue.

EDIT: Don't have the bandwidth. Sorry for the inconvenience.

@pmittaldev
Copy link

I can take it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request hacktoberfest Accepted contributions will count towards your hacktoberfest PRs
Projects
None yet
Development

No branches or pull requests

3 participants