Commit
·
eaa40ee
verified
·
0
Parent(s):
Duplicate from osunlp/Mind2Web
Browse filesCo-authored-by: Xiang Deng <XiangD-OSU@users.noreply.huggingface.co>
- .gitattributes +67 -0
- README.md +76 -0
- data/train/train_0.json +3 -0
- data/train/train_1.json +3 -0
- data/train/train_10.json +3 -0
- data/train/train_2.json +3 -0
- data/train/train_3.json +3 -0
- data/train/train_4.json +3 -0
- data/train/train_5.json +3 -0
- data/train/train_6.json +3 -0
- data/train/train_7.json +3 -0
- data/train/train_8.json +3 -0
- data/train/train_9.json +3 -0
- scores_all_data.pkl +3 -0
- test.zip +3 -0
.gitattributes
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 11 |
+
*.lz4 filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
| 14 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 15 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 27 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 30 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 31 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 32 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 33 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
# Audio files - uncompressed
|
| 37 |
+
*.pcm filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
*.sam filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
*.raw filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
# Audio files - compressed
|
| 41 |
+
*.aac filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
*.flac filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
*.mp3 filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
*.ogg filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
*.wav filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
# Image files - uncompressed
|
| 47 |
+
*.bmp filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
*.gif filter=lfs diff=lfs merge=lfs -text
|
| 49 |
+
*.png filter=lfs diff=lfs merge=lfs -text
|
| 50 |
+
*.tiff filter=lfs diff=lfs merge=lfs -text
|
| 51 |
+
# Image files - compressed
|
| 52 |
+
*.jpg filter=lfs diff=lfs merge=lfs -text
|
| 53 |
+
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
| 54 |
+
*.webp filter=lfs diff=lfs merge=lfs -text
|
| 55 |
+
data/train filter=lfs diff=lfs merge=lfs -text
|
| 56 |
+
*.json filter=lfs diff=lfs merge=lfs -text
|
| 57 |
+
data/train/train_10.json filter=lfs diff=lfs merge=lfs -text
|
| 58 |
+
data/train/train_2.json filter=lfs diff=lfs merge=lfs -text
|
| 59 |
+
data/train/train_6.json filter=lfs diff=lfs merge=lfs -text
|
| 60 |
+
data/train/train_9.json filter=lfs diff=lfs merge=lfs -text
|
| 61 |
+
data/train/train_5.json filter=lfs diff=lfs merge=lfs -text
|
| 62 |
+
data/train/train_7.json filter=lfs diff=lfs merge=lfs -text
|
| 63 |
+
data/train/train_8.json filter=lfs diff=lfs merge=lfs -text
|
| 64 |
+
data/train/train_0.json filter=lfs diff=lfs merge=lfs -text
|
| 65 |
+
data/train/train_1.json filter=lfs diff=lfs merge=lfs -text
|
| 66 |
+
data/train/train_3.json filter=lfs diff=lfs merge=lfs -text
|
| 67 |
+
data/train/train_4.json filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-4.0
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
tags:
|
| 6 |
+
- Web Agent
|
| 7 |
+
size_categories:
|
| 8 |
+
- 1K<n<10K
|
| 9 |
+
---
|
| 10 |
+
# Dataset Card for Dataset Name
|
| 11 |
+
|
| 12 |
+
## Dataset Description
|
| 13 |
+
|
| 14 |
+
- **Homepage:** https://osu-nlp-group.github.io/Mind2Web/
|
| 15 |
+
- **Repository:** https://github.com/OSU-NLP-Group/Mind2Web
|
| 16 |
+
- **Paper:** https://arxiv.org/abs/2306.06070
|
| 17 |
+
- **Point of Contact:** [Xiang Deng](mailto:deng.595@osu.edu)
|
| 18 |
+
|
| 19 |
+
### Dataset Summary
|
| 20 |
+
|
| 21 |
+
Mind2Web is a dataset for developing and evaluating generalist agents for the web that can follow language instructions to complete complex tasks on any website. Existing datasets for web agents either use simulated websites or only cover a limited set of websites and tasks, thus not suitable for generalist web agents. With over 2,000 open-ended tasks collected from 137 websites spanning 31 domains and crowdsourced action sequences for the tasks, Mind2Web provides three necessary ingredients for building generalist web agents: 1. diverse domains, websites, and tasks, 2. use of real-world websites instead of simulated and simplified ones, and 3. a broad spectrum of user interaction patterns.
|
| 22 |
+
|
| 23 |
+
|
| 24 |
+
## Dataset Structure
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
### Data Fields
|
| 28 |
+
|
| 29 |
+
- "annotation_id" (str): unique id for each task
|
| 30 |
+
- "website" (str): website name
|
| 31 |
+
- "domain" (str): website domain
|
| 32 |
+
- "subdomain" (str): website subdomain
|
| 33 |
+
- "confirmed_task" (str): task description
|
| 34 |
+
- "action_reprs" (list[str]): human readable string representation of the action sequence
|
| 35 |
+
- "actions" (list[dict]): list of actions (steps) to complete the task
|
| 36 |
+
- "action_uid" (str): unique id for each action (step)
|
| 37 |
+
- "raw_html" (str): raw html of the page before the action is performed
|
| 38 |
+
- "cleaned_html" (str): cleaned html of the page before the action is performed
|
| 39 |
+
- "operation" (dict): operation to perform
|
| 40 |
+
- "op" (str): operation type, one of CLICK, TYPE, SELECT
|
| 41 |
+
- "original_op" (str): original operation type, contain additional HOVER and ENTER that are mapped to CLICK, not used
|
| 42 |
+
- "value" (str): optional value for the operation, e.g., text to type, option to select
|
| 43 |
+
- "pos_candidates" (list[dict]): ground truth elements. Here we only include positive elements that exist in "cleaned_html" after our preprocessing, so "pos_candidates" might be empty. The original labeled element can always be found in the "raw_html".
|
| 44 |
+
- "tag" (str): tag of the element
|
| 45 |
+
- "is_original_target" (bool): whether the element is the original target labeled by the annotator
|
| 46 |
+
- "is_top_level_target" (bool): whether the element is a top level target find by our algorithm. please see the paper for more details.
|
| 47 |
+
- "backend_node_id" (str): unique id for the element
|
| 48 |
+
- "attributes" (str): serialized attributes of the element, use `json.loads` to convert back to dict
|
| 49 |
+
- "neg_candidates" (list[dict]): other candidate elements in the page after preprocessing, has similar structure as "pos_candidates"
|
| 50 |
+
|
| 51 |
+
### Data Splits
|
| 52 |
+
|
| 53 |
+
- train: 1,009 instances
|
| 54 |
+
- test: (To prevent potential data leakage, please check our [repo](https://github.com/OSU-NLP-Group/Mind2Web) for information on obtaining the test set.)
|
| 55 |
+
- Cross Task: 252 instances, tasks from the same website are seen during training
|
| 56 |
+
- Cross Website: 177 instances, websites are not seen during training
|
| 57 |
+
- Cross Domain: 9,12 instances, entire domains are not seen during training
|
| 58 |
+
|
| 59 |
+
|
| 60 |
+
### Licensing Information
|
| 61 |
+
<a rel="license" href="http://creativecommons.org/licenses/by/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by/4.0/88x31.png" /></a><br />This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>.
|
| 62 |
+
|
| 63 |
+
### Disclaimer
|
| 64 |
+
This dataset was collected and released solely for research purposes, with the goal of making the web more accessible via language technologies. The authors are strongly against any potential harmful use of the data or technology to any party.
|
| 65 |
+
|
| 66 |
+
### Citation Information
|
| 67 |
+
```
|
| 68 |
+
@misc{deng2023mind2web,
|
| 69 |
+
title={Mind2Web: Towards a Generalist Agent for the Web},
|
| 70 |
+
author={Xiang Deng and Yu Gu and Boyuan Zheng and Shijie Chen and Samuel Stevens and Boshi Wang and Huan Sun and Yu Su},
|
| 71 |
+
year={2023},
|
| 72 |
+
eprint={2306.06070},
|
| 73 |
+
archivePrefix={arXiv},
|
| 74 |
+
primaryClass={cs.CL}
|
| 75 |
+
}
|
| 76 |
+
```
|
data/train/train_0.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c8b622901057bca813a6d171733c41e4fc266c2902a23d63b9094c0add3f8f2c
|
| 3 |
+
size 616000823
|
data/train/train_1.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:41084922c50174ec032185707ae43bb04d3e8d725788b2e95936db629ba59100
|
| 3 |
+
size 627832230
|
data/train/train_10.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:182542d7947b3fa9e90fc57a3d82d4d8f2997ca5a06664217720d7a78a956e33
|
| 3 |
+
size 28366146
|
data/train/train_2.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3e8a77b835517a3b88d59d0afb3412448b3bbf7f6791db796459268f73106bdf
|
| 3 |
+
size 533477466
|
data/train/train_3.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:65077d1e9b89984e6fca2494c2a3137e4920a19161e5086b7aa88837b6188405
|
| 3 |
+
size 649691492
|
data/train/train_4.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fcb8903310ffe43e3e1e9e50f8744b7a0ca0299e9772fef3fc124355e1eeeb0b
|
| 3 |
+
size 609080191
|
data/train/train_5.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a6bf7490e3c8808363f829a6eb97a194578886ee7a73f3de65ec6d8c6cfca6dd
|
| 3 |
+
size 605777777
|
data/train/train_6.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:49b2764d8ce2d902448d024de0a7e3943169c3c4209d2fc6ddedcc353c4b3296
|
| 3 |
+
size 519944349
|
data/train/train_7.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:085e5bf60e0ba8a6bafb861bafc6a15660853f9408ca7f5817b11b6670bd9642
|
| 3 |
+
size 600430861
|
data/train/train_8.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0cb825512cbc19a9ee0bd41b32f7b6cd2640ae0e91f3cb4263c70356600b6acf
|
| 3 |
+
size 529172729
|
data/train/train_9.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:07377a0c1a06c0aef22dd3c2ed400f393add51dc2cb727e859c0928acdaa5077
|
| 3 |
+
size 611613709
|
scores_all_data.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:884c97cd9ae0544485d21ea39e0d46422aee0291969a7324e56df3a84466dbd7
|
| 3 |
+
size 245190981
|
test.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8f5fbe72afab942fe97cdf7fb397e179885d89b5c16862288e9a14bc6d41ca89
|
| 3 |
+
size 567745122
|