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

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for browsergym_visualwebarena-0.6.0.tar.gz
Algorithm Hash digest
SHA256 a64fdca37915f8f0d8bfaafd8bd903b11575ec042681b8c57b9bb0b4ff0126b6
MD5 b58c2928d3de2aa98c63aeba92a85c00
BLAKE2b-256 a736dc28c95709fef1817c8c6f427e9d0b1fc78baae6cf6fedb83b21e7a50258

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for browsergym_visualwebarena-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 34ceca3fdfce0975f8a7662f0faf0af0f3068bee5a80b806d96d0b691555605b
MD5 e63ece9d42e3c50089165c1b0cfb9f3d
BLAKE2b-256 f06284a7e5b9375b1a3d2bffb97a4e52f29c25e82c00280475c114bc4252b84f

See more details on using hashes here.

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