huggingface / huggingface/lighteval
[BUG] Optimize tokenization
Open
bug
good first issue
help wanted
science-team
- Dominant language
- Python
- Stars
- 2.5k
- Forks
- 555
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 1
Description
## 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.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.