File size: 2,589 Bytes
f2f3634
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5a28479
f2f3634
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
---
license: cc-by-4.0
pretty_name: Wonderbread
task_categories:
  - text-generation
tags:
  - web-agent
  - bpm
  - wonderbread
configs:
  - config_name: default
    default: true
    data_files:
      - split: train
        path: parquet/*.parquet
    columns:
      - workflow_id
      - task_id
      - intent
      - site
      - start_url
      - sop
  - config_name: full
    data_files:
      - split: train
        path: parquet/*.parquet
size_categories:
  - 1K<n<10K
---

# Wonderbread (Text Only)

`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)).

The original 7.4GB of text-only traces has been packed into a single Parquet file; The highly repetitive AXTrees and HTML DOM structures in the dataset compress extremely efficiently.

Data subsets:
- `default` (viewer-safe): excludes the heavy `trace` JSON strings to prevent browser OOM on the Hugging Face dataset viewer.
- `full`: includes all columns, including the raw DOM snapshots and action history in the `trace` column.

## Dataset Structure

Each row represents a single workflow demonstration:

- `workflow_id` (string): The original trace ID including the timestamp (e.g., `102 @ 2023-12-27-00-57-01`)
- `task_id` (int32): The parsed integer WebArena task ID (e.g., `102`)
- `intent` (string): The natural language intent of the task (e.g., `What are the top-2 best-selling product in 2022`)
- `site` (string): The WebArena site (e.g., `shopping_admin`)
- `start_url` (string): The starting URL of the workflow
- `sop` (string): The raw text of the Standard Operating Procedure (`SOP - ...txt`)
- `trace` (string, **only in `full` config**): The raw stringified JSON array containing the DOM states and actions.

## Usage

```python
from datasets import load_dataset
import json

# Lightweight subset (default, viewer-safe)
ds = load_dataset("tkukurin/wonderbread")
train_split = ds["train"]

# Full dataset with the heavy JSON trace strings
ds_full = load_dataset("tkukurin/wonderbread", "full")

# Example: Parsing the JSON trace back into a list of steps
sample_trace_str = ds_full["train"][0]["trace"]
trace_list = json.loads(sample_trace_str)
```

## Citation
```bibtex
@inproceedings{wornow2024wonderbread,
  title={WONDERBREAD: A Benchmark for Evaluating Multimodal Foundation Models on Business Process Management Tasks},
  author={Wornow, Michael and others},
  booktitle={arXiv preprint arXiv:2406.13264},
  year={2024}
}
```