WebArena benchmark for BrowserGym
Project description
WebArena benchmark for BrowserGym
This package provides browsergym.webarena
, which is an unofficial port of the WebArena benchmark for BrowserGym.
Note: the original WebArena codebase has been slightly adapted to ensure compatibility.
Setup
- Install the package
pip install browsergym-webarena
- Download tokenizer ressources
python -c "import nltk; nltk.download('punkt')"
- Setup the web servers (follow the webarena README).
BASE_URL=<YOUR_SERVER_URL_HERE>
- Setup the URLs as environment variables (note the
WA_
prefix)
export WA_SHOPPING="$BASE_URL:7770/"
export WA_SHOPPING_ADMIN="$BASE_URL:7780/admin"
export WA_REDDIT="$BASE_URL:9999"
export WA_GITLAB="$BASE_URL:8023"
export WA_WIKIPEDIA="$BASE_URL:8888/wikipedia_en_all_maxi_2022-05/A/User:The_other_Kiwix_guy/Landing"
export WA_MAP="$BASE_URL:3000"
export WA_HOMEPAGE="$BASE_URL:4399"
- Setup an OpenAI API key
export OPENAI_API_KEY=...
NOTE: be mindful of costs, as WebArena will call GPT4 for certain evaluations (llm_fuzzy_match).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file browsergym_webarena-0.4.4.dev0.tar.gz
.
File metadata
- Download URL: browsergym_webarena-0.4.4.dev0.tar.gz
- Upload date:
- Size: 6.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2592d9e457ac0b65155622f66e13c91a9059747f2f2eb78b1ede52d2650b21dc |
|
MD5 | f87f3f999c211aba25412afe2202d1f7 |
|
BLAKE2b-256 | c6cbe88137d04903c68aef9931b27a06e9a56de9b63600546139c03fb71c8a06 |
File details
Details for the file browsergym_webarena-0.4.4.dev0-py3-none-any.whl
.
File metadata
- Download URL: browsergym_webarena-0.4.4.dev0-py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91155434217987514b1957703b64fea2a48a1716b847ef6d614b8cc7fe022bfb |
|
MD5 | 753f1559f071dfdf6ad7ac21aef39cf1 |
|
BLAKE2b-256 | 24579037ee54beaebc09433ed6f1d9ab9b0156a33c65cb26163cc7fca72df3a7 |