-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Now only uses functions for prompt definition (#213)
* add function prompt assigment * add json casting * fix ruff setting + fmt * replaced json tasks by python tasks, step 1 * wip * simplification part 1 * fix extended tasks + typo * fix * fix nanotron example * small fix * now use function, not string, to pass prompts in examples * moved everyone to function calling * LightevalTask now only takes functions * removed templated type which messed up the test suite * last fix + doc udpate * Update src/lighteval/tasks/registry.py Co-authored-by: Nathan Habib <[email protected]> --------- Co-authored-by: Hynek Kydlíček <[email protected]> Co-authored-by: Nathan Habib <[email protected]>
- Loading branch information
1 parent
3aaec22
commit 4651531
Showing
14 changed files
with
1,730 additions
and
1,751 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.