Skip to main content

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

  1. Install the package
pip install browsergym-visualwebarena
  1. Download tokenizer ressources
python -c "import nltk; nltk.download('punkt')"
  1. Setup the web servers (follow the visualwebarena README).

  2. 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"
  1. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

browsergym_visualwebarena-0.11.1.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file browsergym_visualwebarena-0.11.1.tar.gz.

File metadata

File hashes

Hashes for browsergym_visualwebarena-0.11.1.tar.gz
Algorithm Hash digest
SHA256 1302a824c6cdcea0f6fedddaa9ffb15fa432e49f3bccefa0723309eb674e1fe2
MD5 cdd86605a3d2ccb57e2e33cb89ce65c3
BLAKE2b-256 2250b87008f1d0433eb68cabe9542020b339df8e9baf24feb0c3a9f9b5cfd6d1

See more details on using hashes here.

Provenance

The following attestation bundles were made for browsergym_visualwebarena-0.11.1.tar.gz:

Publisher: pypi.yml on ServiceNow/BrowserGym

Attestations:

File details

Details for the file browsergym_visualwebarena-0.11.1-py3-none-any.whl.

File metadata

File hashes

Hashes for browsergym_visualwebarena-0.11.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1decd99acfc80bf2612fd3905cc0bce13c115f0bab0d2b0b032830ec1a6418a5
MD5 e1207ce7c91da6b40ef5b38eedf51d6f
BLAKE2b-256 755d3a9759bb0d53d56ea3e597d1c8a39c40298ea01b524f890c7b03e557f50c

See more details on using hashes here.

Provenance

The following attestation bundles were made for browsergym_visualwebarena-0.11.1-py3-none-any.whl:

Publisher: pypi.yml on ServiceNow/BrowserGym

Attestations:

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page