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

オープン
#586 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
python, rust

調査の方向性

まず、リンクされたパフォーマンス要求と既存のBLEUメトリクス実装を読み、次に提案されているbleuscoreライブラリとそのベンチマークおよびHypothesisテストを比較します。正確性と大規模データでのパフォーマンスを評価したうえで、高速なBLEU実装を追加するか、現在の実装を置き換えるかを決定できれば完了です。

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
Python
スター
2.5k
フォーク
368
平均マージ
48分
マージ済み PR(30日)
1

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

huggingface/evaluate のほかの issue

huggingface/evaluate の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。