25 lines
1.5 KiB
Bash
25 lines
1.5 KiB
Bash
#!/bin/bash
|
|
DATASET='webarena' # TODO: select from ['webarena', 'visualwebarena']
|
|
result_dir='' # TODO: set your result_dir
|
|
provider='openai' # TODO: select from ['openai', 'finetune', ...]
|
|
model='' # TODO: assign model name, which is used for action generation
|
|
planner_ip='' # TODO: ip address of the model you are deploying (only if you are deploying your own model using e.g. vllm)
|
|
instruction_path='agent/prompts/jsons/p_webrl_chat.json' # e.g., agent/prompts/jsons/p_cot_id_actree_2s.json
|
|
test_config_base_dir='config_files/wa/test_webarena_lite' # e.g., config_files/wa/test_webarena_lite
|
|
temperature=0.0
|
|
|
|
SERVER='localhost' # TODO: your server address
|
|
MAP_SERVER='https://www.openstreetmap.org' # TODO: the server address for MAP tasks
|
|
OPENAI_API_KEY='none' # TODO: if you test OpenAI APIs
|
|
OPENAI_API_URL='http://192.168.16.116:18080/v1' # TODO: if you test OpenAI APIs
|
|
OPENAI_ORGANIZATION=''
|
|
CONDA_ENV_NAME='vab' # TODO: the name of your conda environment for testing WebArena
|
|
|
|
export DATASET=${DATASET}; export SHOPPING="http://${SERVER}:28082";export SHOPPING_ADMIN="http://${SERVER}:28083/admin";export REDDIT="http://${SERVER}:28080";export GITLAB="http://${SERVER}:28084";export MAP="${MAP_SERVER}";export WIKIPEDIA="http://${SERVER}:28081/wikipedia_en_all_maxi_2022-05/A/User:The_other_Kiwix_guy/Landing";export HOMEPAGE="http://${SERVER}:20080";export OPENAI_API_KEY=${OPENAI_API_KEY};export OPENAI_API_URL=${OPENAI_API_URL};export OPENAI_ORGANIZATION=${OPENAI_ORGANIZATION}
|
|
|
|
python scripts/generate_test_data.py
|
|
|
|
mkdir -p ./.auth
|
|
python browser_env/auto_login.py
|
|
|