Repository navigation
Conversation
The quicktour linked tasks/extended and community_tasks, and the custom-task guide linked default_prompts.py. None of those paths exist on main. Signed-off-by: bin <178128333+xlb3055@users.noreply.github.com>
examples/nanotron/custom_task.py does not define the myothertask example from this guide, so copying the command would fail. Use the same placeholder as the command template above. Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: bin <178128333+xlb3055@users.noreply.github.com>
huggingface#1016 folded the extended and community suites into src/lighteval/tasks/tasks, so labelling that folder "extended" and the multilingual folder "community" would be misleading. Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Since #1016 moved tasks into individual files, a few doc references point at paths that no longer exist on
main:docs/source/quicktour.mdxlinkssrc/lighteval/tasks/extendedandcommunity_tasks/(both 404). They now linksrc/lighteval/tasks/tasks/, where Move tasks to individual files #1016 moved the default, extended and community tasks, andsrc/lighteval/tasks/multilingual/tasks/for the multilingual ones.docs/source/adding-a-custom-task.mdxtells readers to followsrc/lighteval/tasks/default_prompts.py, which no longer exists. It now points atsrc/lighteval/tasks/tasks/, where each task file defines its own prompt function (Step 1 of the same guide already says to create the task file there).--custom-tasks community_tasks/my_custom_task.py. It now uses the same{path_to_your_custom_task_file}placeholder as the command template right above it, since the example taskmyothertasklives in the reader's own file.The
default_tasks.pylink in the quicktour is left unchanged because #1258 already fixes it.Documentation only. The old paths were checked to be missing and the new ones to exist on
main; no test suite was run.This change was prepared with AI assistance.
🤖 Generated with Claude Code