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.2.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for browsergym_visualwebarena-0.11.2.tar.gz
Algorithm Hash digest
SHA256 a72444f3d03d71a99e9611b1cd1c5d15a31627ec33989005834422431557a5fe
MD5 99dbbe3a4dde2c285449986782571254
BLAKE2b-256 c0f4050affd88cd251b1cae585b5e38f30d3229caa37d7cac54361febffe2b54

See more details on using hashes here.

Provenance

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

Publisher: pypi.yml on ServiceNow/BrowserGym

Attestations:

File details

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

File metadata

File hashes

Hashes for browsergym_visualwebarena-0.11.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ac580a11baa1a33cc72922fd59100da6be1073ffc287a5c70bb708ba7395bc0b
MD5 06366322f0187556c167867572e6e952
BLAKE2b-256 021b81f920e377b825fec4fd8f41ee7f7e4e47c0e636c1625122768a25448d99

See more details on using hashes here.

Provenance

The following attestation bundles were made for browsergym_visualwebarena-0.11.2-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