This commit is contained in:
Yao Liu
2025-01-22 11:32:35 -08:00
parent dac181a456
commit 4b8dbfd9c5
298 changed files with 56437 additions and 9 deletions

11
scripts/run_config.sh Normal file
View File

@@ -0,0 +1,11 @@
export SHOPPING="http://<webarena_server_address>:7770"
export SHOPPING_ADMIN="http://<webarena_server_address>:7780/admin"
export REDDIT="http://<webarena_server_address>:9999"
export GITLAB="http://<webarena_server_address>:8023"
export MAP="http://<webarena_server_address>:3000"
export WIKIPEDIA="http://<webarena_server_address>:8888/wikipedia_en_all_maxi_2022-05/A/User:The_other_Kiwix_guy/Landing"
export HOMEPAGE="http://<webarena_server_address>:4399"
export OPENAI_API_KEY=<openai_api_key>
conda activate webarena
python browser_env/auto_login.py
python eval_webarena.py --config AgentOccam/configs/AgentOccam.yml

6
scripts/run_webarena.sh Normal file
View File

@@ -0,0 +1,6 @@
python webarena_replication.py \
--instruction_path webarena/agent/prompts/jsons/p_cot_id_actree_2s.json \
--test_start_idx 65 \
--test_end_idx 66 \
--model gpt-4-turbo \
--result_dir ../AgentOccam-Trajectories/WebArena-replication