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

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for browsergym_visualwebarena-0.5.1.tar.gz
Algorithm Hash digest
SHA256 3f4850599baca2572d8d4339f8a34cb2ef0e5e9b98c8cda29a3a7d368696011d
MD5 e9291b2ea8d72ac3efb9654d5f9807d1
BLAKE2b-256 8d3a27ba649d1b5a8aa7693b955fc6acb61fde9053dc3ae02173f8ba2f3e19bb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for browsergym_visualwebarena-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1ffa193bd9dc6300b8415441ed3da70ca9d6e6c818e1b708eec29ccea37fcad7
MD5 7a053e7197fa112b8874b9d6e4da63b5
BLAKE2b-256 19c56f84447eaa684df290a954b892350f9bcd12c3feb8dff0da112034db3e0b

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