Run Level 2 Research Tasks (Idea Generation & Experiments)
mainUse the Research Agent to generate novel research ideas from a list of reference papers and then conduct experiments (Level 2 tasks). This requires setting up environment variables for Docker workplace, base images, and LLM models.
Execute the command found in research_agent/run_infer_level_2.sh to run the run_infer_idea.py script.
current_dir=$(dirname "$(readlink -f "$0")")
cd $current_dir
export DOCKER_WORKPLACE_NAME=workplace_paper
export BASE_IMAGES=tjbtech1/paperagent:latest
export COMPLETION_MODEL=claude-3-5-sonnet-20241022
export CHEEP_MODEL=claude-3-5-haiku-20241022
category=vq
instance_id=one_layer_vq
export GPUS='"device=0,1"'
python run_infer_idea.py --instance_path ../benchmark/final/${category}/${instance_id}.json --container_name paper_eval --model $COMPLETION_MODEL --workplace_name workplace --cache_path cache --port 12372 --max_iter_times 0 --category ${category}