tkukurin commited on
Commit
1cedb2d
·
verified ·
1 Parent(s): 990cf18

Upload folder using huggingface_hub

Browse files
Files changed (2) hide show
  1. parquet/README.md +79 -0
  2. parquet/wonderbread.parquet +3 -0
parquet/README.md ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ pretty_name: Wonderbread
4
+ task_categories:
5
+ - text-generation
6
+ tags:
7
+ - web-agent
8
+ - bpm
9
+ - wonderbread
10
+ configs:
11
+ - config_name: default
12
+ default: true
13
+ data_files:
14
+ - split: train
15
+ path: parquet/*.parquet
16
+ columns:
17
+ - workflow_id
18
+ - task_id
19
+ - intent
20
+ - site
21
+ - start_url
22
+ - sop
23
+ - config_name: full
24
+ data_files:
25
+ - split: train
26
+ path: parquet/*.parquet
27
+ size_categories:
28
+ - 1K<n<10K
29
+ ---
30
+
31
+ # Wonderbread (Text Only)
32
+
33
+ `zstd`-compressed Parquet conversion of the JSON/Text traces from the [WONDERBREAD](https://wonderbread.stanford.edu/) dataset ([Paper](https://arxiv.org/abs/2406.13264), [Original Zenodo](https://zenodo.org/records/12671568)).
34
+
35
+ The original text-only traces (7.4GB of JSON & SOP txt files) have been packed into a single Parquet file (172MB, **43x compression**). The highly repetitive AXTrees and HTML DOM structures in the dataset compress extremely efficiently.
36
+
37
+ Data subsets:
38
+ - `default` (viewer-safe): excludes the heavy `trace` JSON strings to prevent browser OOM on the Hugging Face dataset viewer.
39
+ - `full`: includes all columns, including the raw DOM snapshots and action history in the `trace` column.
40
+
41
+ ## Dataset Structure
42
+
43
+ Each row represents a single workflow demonstration:
44
+
45
+ - `workflow_id` (string): The original trace ID including the timestamp (e.g., `102 @ 2023-12-27-00-57-01`)
46
+ - `task_id` (int32): The parsed integer WebArena task ID (e.g., `102`)
47
+ - `intent` (string): The natural language intent of the task (e.g., `What are the top-2 best-selling product in 2022`)
48
+ - `site` (string): The WebArena site (e.g., `shopping_admin`)
49
+ - `start_url` (string): The starting URL of the workflow
50
+ - `sop` (string): The raw text of the Standard Operating Procedure (`SOP - ...txt`)
51
+ - `trace` (string, **only in `full` config**): The raw stringified JSON array containing the DOM states and actions.
52
+
53
+ ## Usage
54
+
55
+ ```python
56
+ from datasets import load_dataset
57
+ import json
58
+
59
+ # Lightweight subset (default, viewer-safe)
60
+ ds = load_dataset("tkukurin/wonderbread")
61
+ train_split = ds["train"]
62
+
63
+ # Full dataset with the heavy JSON trace strings
64
+ ds_full = load_dataset("tkukurin/wonderbread", "full")
65
+
66
+ # Example: Parsing the JSON trace back into a list of steps
67
+ sample_trace_str = ds_full["train"][0]["trace"]
68
+ trace_list = json.loads(sample_trace_str)
69
+ ```
70
+
71
+ ## Citation
72
+ ```bibtex
73
+ @inproceedings{wornow2024wonderbread,
74
+ title={WONDERBREAD: A Benchmark for Evaluating Multimodal Foundation Models on Business Process Management Tasks},
75
+ author={Wornow, Michael and others},
76
+ booktitle={arXiv preprint arXiv:2406.13264},
77
+ year={2024}
78
+ }
79
+ ```
parquet/wonderbread.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:766f9cb07fd6e3c059c1cb472a3f1e2e452c795a35ffc399e94c41bb692b1d69
3
+ size 305696311