huggingface / lighteval

LightEval is a lightweight LLM evaluation suite that Hugging Face has been using internally with the recently released LLM data processing library datatrove and LLM training library nanotron.
MIT License
471 stars 55 forks source link

Fix unset generation size #76

Closed clefourrier closed 4 months ago

clefourrier commented 4 months ago

When no generation size is set, we want to use the max generation size possible according to the model (the model.max_length). This should also fix the bug in #73 .

Also includes a small duplicate removal of TaskConfig