huggingface/lighteval

[BUG] Optimize tokenization

オープン

#732 opened on 2025/05/15

 (1 件のコメント) (0 件のリアクション) (1 人の担当者)Python (514 件のフォーク)auto 404
buggood first issuehelp wantedscience-team

Repository metrics

Stars
 (2,496 個のスター)
PR merge metrics
 (PR metrics pending)

説明

Describe the bug

For now tokenization is bing made in a for loop, making the whole process very expensive for large benchmarks.

To Reproduce

run any big benchmarks

Expected behavior

Use batch tokenize to speed it up.

Version info

Please provide your operating system, lighteval version or commit if you installed from main, and pip/conda environment if your problem concerns dependencies.

コントリビューターガイド