mirror of
https://github.com/kolbytn/mindcraft.git
synced 2025-09-10 12:02:59 +02:00
add additional logging of config settings
This commit is contained in:
parent
213cd2c1df
commit
6f8027b86f
1 changed files with 8 additions and 0 deletions
|
@ -261,6 +261,14 @@ def launch_parallel_experiments(task_path,
|
|||
total_run = results["total"]
|
||||
print(f"Total tasks run: {total_run}/{total_num_experiments}")
|
||||
print(results)
|
||||
results["template_profile"] = template_profile
|
||||
results["model"] = model
|
||||
results["api"] = api
|
||||
results["num_agents"] = num_agents
|
||||
results["task_path"] = task_path
|
||||
results["task_type"] = task_type
|
||||
results["max_messages"] = max_messages
|
||||
results["num_examples"] = num_examples
|
||||
with open(f"{experiments_folder}/results.txt", "w") as file:
|
||||
file.write(str(results))
|
||||
if s3:
|
||||
|
|
Loading…
Add table
Reference in a new issue