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 BLEU metric #65

Closed
mattdangerw opened this issue Mar 25, 2022 · 5 comments · Fixed by #222
Closed

Add a BLEU metric #65

mattdangerw opened this issue Mar 25, 2022 · 5 comments · Fixed by #222
Assignees
Labels
type:feature New feature or request

Comments

@mattdangerw
Copy link
Member

Splitting this issue out from #38.

We should add a BLEU metric as keras_nlp.metrics.Bleu.

@mattdangerw mattdangerw added the type:feature New feature or request label Mar 25, 2022
@abheesht17
Copy link
Collaborator

abheesht17 commented Mar 25, 2022

Linking a comment here which explains the difficulty with BLEU:
#38 (comment)

For ROUGE Score, I used a TensorArray for ngrams, which has a write operation. Maybe, we can use the same here.

@arcAman07
Copy link

If this issue is open, I would want to work on implementing the BLEU metric.

@abheesht17
Copy link
Collaborator

Hello, @arcAman07! I'm currently working on this.

@arcAman07
Copy link

Cool, wasn't aware of it 👍

@chenmoneygithub chenmoneygithub moved this from In progress to To do in Keras NLP 0.2 release Apr 15, 2022
@abheesht17
Copy link
Collaborator

Keras NLP 0.2 release automation moved this from To do to Done Jul 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:feature New feature or request
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

3 participants