-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
af4c922
commit 8ad54e9
Showing
3 changed files
with
22 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
""" | ||
This is a sketch of a simple benchmark runner. | ||
""" | ||
|
||
tasks = [ | ||
{ | ||
"question": "", | ||
"answer": "", | ||
}, | ||
{"setup_script": "", "question": "", "answer": "", "evaluation_script": ""}, | ||
] | ||
|
||
# For each task, | ||
# Start a thread that does the following: | ||
# Spin up a docker container | ||
# Run the setup script | ||
# Ask the question | ||
# Run the evaluation script or use an LLM to check the answer |
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