huggingface / huggingface/lighteval
Fix hardcoded path in tiny_benchmarks
Open
- Dominant language
- Python
- Stars
- 2.5k
- Forks
- 555
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 1
Description
## Describe the bug
The `tiny_benchmarks` code contained a hardcoded file path to a pickle file, which caused a `FileNotFoundError` when run in environments other than the author's.
## To Reproduce
Run `tiny_benchmarks` on any machine where the hardcoded path does not exist.
## Expected behavior
The code should use relative paths or `pathlib` to locate resources within the package.
## Version info
- OS: mac
- Lighteval version: main (local development)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.