VisualWebArena benchmark for BrowserGym
Project description
WebArena benchmark for BrowserGym
This package provides browsergym.visualwebarena
, which is an unofficial port of the VisualWebArena benchmark for BrowserGym.
Note: the original VisualWebArena codebase has been slightly adapted to ensure compatibility.
Setup
- Install the package
pip install browsergym-visualwebarena
- Download tokenizer ressources
python -c "import nltk; nltk.download('punkt')"
-
Setup the web servers (follow the visualwebarena README).
-
Setup the URLs as environment variables (note the
VWA_
prefix)
export VWA_CLASSIFIEDS="$BASE_URL:9001/"
export VWA_CLASSIFIEDS_RESET_TOKEN="4b61655535e7ed388f0d40a93600254c" # Default reset token for classifieds site, change if you edited its docker-compose.yml
export VWA_SHOPPING="$BASE_URL:7770/"
export VWA_REDDIT="$BASE_URL:9999"
export VWA_WIKIPEDIA="$BASE_URL:8888/wikipedia_en_all_maxi_2022-05/A/User:The_other_Kiwix_guy/Landing"
export VWA_HOMEPAGE="$BASE_URL:4399"
- Setup an OpenAI API key
export OPENAI_API_KEY=...
NOTE: be mindful of costs, as VisualWebArena 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_visualwebarena-0.6.2.tar.gz
.
File metadata
- Download URL: browsergym_visualwebarena-0.6.2.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | be01c52165f189df041ec4717b4bf40fce83bb1231cefafb01c94e931a8cf148 |
|
MD5 | 57eff206d93a3f30c8e6488e0309dab1 |
|
BLAKE2b-256 | 043bb32cc331778cf24863be025a70e97a899571fbc07bffded4bd51c17a11ab |
File details
Details for the file browsergym_visualwebarena-0.6.2-py3-none-any.whl
.
File metadata
- Download URL: browsergym_visualwebarena-0.6.2-py3-none-any.whl
- Upload date:
- Size: 7.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | de0cca06eacf274ed411a0fe997e8c098898a810a8015a6bd15e9c9d2a71f97b |
|
MD5 | d062172e18c30c67a6bf3de9d6e731c0 |
|
BLAKE2b-256 | acb556517cefc47758e7b3e1f96a89b9d43626dacb2f60b2df26fe9103ff10ed |