perform_experiments.py
able to insert to curly braces
#coder_prompt #baseline
code:code.prompt
title = "Experiment on Neural Networks"
idea = "Test the impact of different activation functions."
max_runs = 5
baseline_results = {"accuracy": 0.85, "loss": 0.4}
------------------------------------------------------------------------------------------------------
coder_prompt = """Your goal is to implement the following idea: {title}.
The proposed experiment is as follows: {idea}.
You are given a total of up to {max_runs} runs to complete the necessary experiments. You do not need to use all {max_runs}.
First, plan the list of experiments you would like to run. For example, if you are sweeping over a specific hyperparameter, plan each value you would like to test for each run.
Note that we already provide the vanilla baseline results, so you do not need to re-run it.
For reference, the baseline results are as follows:
⭐️{baseline_results}
After you complete each change, we will run the command `python experiment.py --out_dir=run_i' where i is the run number and evaluate the results.
YOUR PROPOSED CHANGE MUST USE THIS COMMAND FORMAT, DO NOT ADD ADDITIONAL COMMAND LINE ARGS.
You can then implement the next thing on your list.""".format(title=title, idea=idea, max_runs=max_runs, baseline_results=baseline_results)
print(coder_prompt)
------------------------------------------------------------------------------------------------------
#Aider
is a command-line tool that allows developers to write and edit code with assistance from AI models
The Coder class is probably used to set up and manage these AI-assisted coding sessions