Skip to main content

WebArena benchmark for BrowserGym

Project description

WebArena benchmark for BrowserGym

This package provides browsergym.webarena, which is an unofficial port of the WebArena benchmark for BrowserGym.

Note: the original WebArena codebase has been slightly adapted to ensure compatibility.

Setup

  1. Install the package
pip install browsergym-webarena
  1. Download tokenizer ressources
python -c "import nltk; nltk.download('punkt')"
  1. Setup the web servers (follow the webarena README).
BASE_URL=<YOUR_SERVER_URL_HERE>
  1. Setup the URLs as environment variables (note the WA_ prefix)
export WA_SHOPPING="$BASE_URL:7770/"
export WA_SHOPPING_ADMIN="$BASE_URL:7780/admin"
export WA_REDDIT="$BASE_URL:9999"
export WA_GITLAB="$BASE_URL:8023"
export WA_WIKIPEDIA="$BASE_URL:8888/wikipedia_en_all_maxi_2022-05/A/User:The_other_Kiwix_guy/Landing"
export WA_MAP="$BASE_URL:3000"
export WA_HOMEPAGE="$BASE_URL:4399"
  1. Setup an OpenAI API key
export OPENAI_API_KEY=...

NOTE: be mindful of costs, as WebArena 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_webarena-0.11.1.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

browsergym_webarena-0.11.1-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: browsergym_webarena-0.11.1.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for browsergym_webarena-0.11.1.tar.gz
Algorithm Hash digest
SHA256 c17762f34c66c7184c6fec5fa6b1d2b5e178bae8a71ad4930e825f5226e9e86c
MD5 faed322140d75d2b60fd47220d54a982
BLAKE2b-256 336b6f590924640ea12bf1d41bc341839021ab71f4892ba287c9d5eef676e76b

See more details on using hashes here.

Provenance

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

Publisher: pypi.yml on ServiceNow/BrowserGym

Attestations:

File details

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

File metadata

File hashes

Hashes for browsergym_webarena-0.11.1-py3-none-any.whl
Algorithm Hash digest
SHA256 89bf30161cf4e5fa7baad41e4a6daf6b849470f0f5ba93d380a6c17c2869aa17
MD5 0112f27a429d35b85c7656756370f934
BLAKE2b-256 9703aca5962c246ab2f3c2542ff010c8609703f5363421d69eb00abcab6feb7e

See more details on using hashes here.

Provenance

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