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

[Question]Shall we adding a faster BLEU score calculator? #586

Open
shenxiangzhuang opened this issue Apr 30, 2024 · 0 comments
Open

[Question]Shall we adding a faster BLEU score calculator? #586

shenxiangzhuang opened this issue Apr 30, 2024 · 0 comments

Comments

@shenxiangzhuang
Copy link

Shall we?

Hi, I found the performance request about the bleu score. And I'm wondering if we should add a fast-bleu or replace the bleu implementation with a faster one, like bleuscore which is aimed for better performance for large data size.

About bleuscore library

Correctness

I implement bleuscore library with exactly same way as evaluate library and do serious test with hypothesis to make sure they return same result.

Performance

I wrote the library in Rust and used multi-threading for parallel execution, so it has better performance when the data size gets larger, you can check the benchmark section for more details.

Benchmark

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

No branches or pull requests

1 participant