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.13.0.tar.gz
.
File metadata
- Download URL: browsergym_webarena-0.13.0.tar.gz
- Upload date:
- Size: 7.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e01f266a62c354ad56a1e83da6a9ddcc54504fbb47bed3708aa6ea9fb3758128 |
|
MD5 | dfd96f35052f38a66a4f056aea8b4e9a |
|
BLAKE2b-256 | 825a384d3285c36386d48432ba21026fbca32b6e8a697ab79dad3160233d784d |
Provenance
The following attestation bundles were made for browsergym_webarena-0.13.0.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_webarena-0.13.0.tar.gz
- Subject digest:
e01f266a62c354ad56a1e83da6a9ddcc54504fbb47bed3708aa6ea9fb3758128
- Sigstore transparency entry: 147404093
- Sigstore integration time:
- Predicate type:
File details
Details for the file browsergym_webarena-0.13.0-py3-none-any.whl
.
File metadata
- Download URL: browsergym_webarena-0.13.0-py3-none-any.whl
- Upload date:
- Size: 7.5 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 | a8edf0afe506afb95f9a70f5b4c33989abf9ebcab06fa72f4b30b549b8e2ead6 |
|
MD5 | 93e5b232c967050c29a531b499f3183a |
|
BLAKE2b-256 | 4a3d657643aa2cc7bf15e9cf084b9bbd92a5a6ce0fb5580fb3df60f6e89453f5 |
Provenance
The following attestation bundles were made for browsergym_webarena-0.13.0-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_webarena-0.13.0-py3-none-any.whl
- Subject digest:
a8edf0afe506afb95f9a70f5b4c33989abf9ebcab06fa72f4b30b549b8e2ead6
- Sigstore transparency entry: 147404117
- Sigstore integration time:
- Predicate type: