huggingface/lighteval

[BUG] custom model docs don't run: missing imports

Open

#760 opened on May 21, 2025

 (5 comments) (0 reactions) (0 assignees)Python (514 forks)auto 404
bugdocumentationgood first issue

Repository metrics

Stars
 (2,496 stars)
PR merge metrics
 (PR metrics pending)

Description

Describe the bug

https://github.com/huggingface/lighteval/blob/v0.9.2/docs/source/evaluating-a-custom-model.mdx#creating-a-custom-model did not import ParallelismManager.

https://github.com/huggingface/lighteval/blob/v0.9.2/docs/source/using-the-python-api.mdx uses a nonexistent EnvConfig

To Reproduce

N/a

Expected behavior

Docs to not have missing imports

Version info

lighteval==0.9.2

Contributor guide