postfix / LASER

Code for the paper "LASER: LLM Agent with State-Space Exploration for Web Navigation"

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LASER: LLM Agent with State-Space Exploration for Web Navigation

The code for the paper "LASER: LLM Agent with State-Space Exploration for Web Navigation". See full paper here

Enviroments

Please follow WebShop repo to set up the environment here

After setting up the WebShop environment, please replace the web_agent_site folder with the one in this repo. We simply added seeds everywhere to make sure the instructions are deterministic to save OpenAI API calls (every call is cached).

Running LASER

You can control how many episodes to evaluate by changing the num_examples flag. The default is 10.

python laser_agent.py --num_examples 500

Cite

@misc{ma2023laser,
    title={LASER: LLM Agent with State-Space Exploration for Web Navigation},
    author={Kaixin Ma and Hongming Zhang and Hongwei Wang and Xiaoman Pan and Dong Yu},
    year={2023},
    eprint={2309.08172},
    archivePrefix={arXiv},
    primaryClass={cs.CL}
}

About

Code for the paper "LASER: LLM Agent with State-Space Exploration for Web Navigation"

License:GNU General Public License v3.0


Languages

Language:Python 81.4%Language:HTML 16.1%Language:CSS 2.5%