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

replace pythonrouge with rouge #35

Merged
merged 1 commit into from
Aug 20, 2018
Merged

replace pythonrouge with rouge #35

merged 1 commit into from
Aug 20, 2018

Conversation

AlJohri
Copy link
Contributor

@AlJohri AlJohri commented Aug 20, 2018

This PR replaces pythonrouge package with the rouge package, a full python only re-implementation. Unfortunately, the new package does not have identical scores to the original perl version of rouge (see pltrdy/rouge#2), but the scores are close enough, especially when used as input to a model. Google also does something like this in their seq2seq model using a rough re-implementation of rouge.

This provides some speed gains since we don't have to go back and forth between perl/python. I found that while trying to use this model on a larger dataset, speed was a big issue, even during prediction time.

@pasmod pasmod merged commit 29ae67c into pasmod:master Aug 20, 2018
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.

2 participants