MiniWoB++ benchmark for BrowserGym
Project description
Miniwob benchmark for BrowserGym
This package provides browsergym.miniwob
, which is an unofficial port of the MiniWoB++ benchmark for BrowserGym.
Setup
- Install the package
pip install browsergym-miniwob
- Clone miniwob (use a specific frozen commit for reproducibility)
git clone git@github.com:Farama-Foundation/miniwob-plusplus.git
git -C "./miniwob-plusplus" reset --hard 7fd85d71a4b60325c6585396ec4f48377d049838
- Setup Miniwob URL (change
PATH_TO_MINIWOB_CLONED_REPO
here to the absolute path to yourminiwob-plusplus
folder)
export MINIWOB_URL="file://<PATH_TO_MINIWOB_CLONED_REPO>/miniwob/html/miniwob/"
Alternatively, one can setup a simple HTTP server and use a proper URL.
Usage
import gymnasium as gym
import browsergym.miniwob # register gym environments
env = gym.make("browsergym/miniwob.choose-list")
List of all the available MiniWoB++ environments
env_ids = [id for id in gym.envs.registry.keys() if id.startswith("browsergym/miniwob")]
print("\n".join(env_ids))
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for browsergym_miniwob-0.0.1a10.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0b1ba15f21a4c68bb241af3b16085bcad56ac9d6e69e5a78bfef026dd9d77e1 |
|
MD5 | 7054cdbb2081477694e08122604121f8 |
|
BLAKE2b-256 | 70217d439f040c5cf93b3fa4e105c75b5b9172636f838ce1beae248cbca00992 |
Close
Hashes for browsergym_miniwob-0.0.1a10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c44a29a4368dc9a0e6e83633229ed31190d8c79cc85b89576946e5d00c5e47e6 |
|
MD5 | c412c9840d8a0b317dc5e54bb68284da |
|
BLAKE2b-256 | a861933140988e633f24176f19139ec66259664e77bac2979c044f826ab0168c |