VisualWebArena benchmark for BrowserGym
Project description
VisualWebArena 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.
Server installation
You have two options to setup your webarena instance:
- option 1: follow the official visualwebarena README
- option 2: use our unofficial setup scripts
We recommend option 2 as it allows you to easily customize the ports of each webarena domain, and offers a reset functionality that allwos browsergym to trigger a full instance reset remotely.
Setup
- Install the package
pip install browsergym-visualwebarena
- Download tokenizer resources
python -c "import nltk; nltk.download('punkt_tab')"
- Setup the URLs as environment variables. The ports for each domain here should correspond to those you used when setting up your webarena instance. Note also the
VWA_
prefix which is specific to browsergym.
BASE_URL=<YOUR_SERVER_URL_HERE> # example: "http://myazuremachine.eastus.cloudapp.azure.com"
# visualwebarena environment variables (change ports as needed)
export VWA_CLASSIFIEDS="$BASE_URL:8083"
export VWA_CLASSIFIEDS_RESET_TOKEN="4b61655535e7ed388f0d40a93600254c"
export VWA_SHOPPING="$BASE_URL:8082"
export VWA_REDDIT="$BASE_URL:8080"
export VWA_WIKIPEDIA="$BASE_URL:8081"
export VWA_HOMEPAGE="$BASE_URL:80"
# if your webarena instances offers the FULL_RESET feature (optional)
export VWA_FULL_RESET="$BASE_URL:7565"
- Setup an OpenAI API key
export OPENAI_API_KEY=...
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.13.2.tar.gz
.
File metadata
- Download URL: browsergym_visualwebarena-0.13.2.tar.gz
- Upload date:
- Size: 8.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b664ba434b36852ea0498f0da59c5eb36a14f6dc4426d276726871e730bd759f |
|
MD5 | a9cc680e80356d4fb0dd03e861b51be5 |
|
BLAKE2b-256 | 7118e1480cb1b14da12ff551f87494ec7f6d8c9580c3c9494bede79ef40b8720 |
Provenance
The following attestation bundles were made for browsergym_visualwebarena-0.13.2.tar.gz
:
Publisher:
pypi.yml
on ServiceNow/BrowserGym
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
browsergym_visualwebarena-0.13.2.tar.gz
- Subject digest:
b664ba434b36852ea0498f0da59c5eb36a14f6dc4426d276726871e730bd759f
- Sigstore transparency entry: 150595253
- Sigstore integration time:
- Predicate type:
File details
Details for the file browsergym_visualwebarena-0.13.2-py3-none-any.whl
.
File metadata
- Download URL: browsergym_visualwebarena-0.13.2-py3-none-any.whl
- Upload date:
- Size: 9.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c90d733e557b8cbf847f587e2035a77d3e8f6fc40f0e5eff36fe0462569f0a6f |
|
MD5 | a67b79c98c6963ac26365684f0460a18 |
|
BLAKE2b-256 | da23e6a38944253fb2d903b248bd1a1b69f282fda812d35f0604261f0f62dd04 |
Provenance
The following attestation bundles were made for browsergym_visualwebarena-0.13.2-py3-none-any.whl
:
Publisher:
pypi.yml
on ServiceNow/BrowserGym
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
browsergym_visualwebarena-0.13.2-py3-none-any.whl
- Subject digest:
c90d733e557b8cbf847f587e2035a77d3e8f6fc40f0e5eff36fe0462569f0a6f
- Sigstore transparency entry: 150595259
- Sigstore integration time:
- Predicate type: