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 BLEU metric for MT task #443

Merged
merged 2 commits into from
Jan 6, 2024
Merged

Add BLEU metric for MT task #443

merged 2 commits into from
Jan 6, 2024

Conversation

sky-2002
Copy link
Contributor

Pull Request Template

Type of Change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Description

This PR adds the BLEU metric for MT tasks.

Fixes #278

Checklist

  • I have read the CONTRIBUTING document.
  • My code follows the code style (BLACK) of this project.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • I have updated the documentation accordingly.
  • I have added an appropriate CHANGELOG entry.

Author's Note

I have tested my code by only running the test_bleu_operator from the tests/test_oprators.py file.

@ashish-1600 ashish-1600 merged commit 976fdd5 into uptrain-ai:main Jan 6, 2024
@sky-2002 sky-2002 deleted the sky-2002/BLEU-Metric branch January 7, 2024 06:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add an operator for BLEU metric as well as example for machine translation task
2 participants