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

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for browsergym_visualwebarena-0.10.2.tar.gz
Algorithm Hash digest
SHA256 5f84a4f33a21106c9b650cecb0362b78af2546d9927255828c273fe800d776a1
MD5 87dd43729da09d4d58492d727d9c1f6d
BLAKE2b-256 6a4c4ac4e763fc34b535538cbe83d30dc7a973427767e59011ce0dcbd88e39bf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for browsergym_visualwebarena-0.10.2-py3-none-any.whl
Algorithm Hash digest
SHA256 87c913ccd4d12a79c625b5c4d9ead7e0bc50b298d19e413204bb586a67736d83
MD5 e1bf88f59f7a864c53368129170b60d9
BLAKE2b-256 d9b584e7970deba8b4463b8444e3757bfbae637ce8ac0948e8a5a218ed6e0a3d

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