Anish13 commited on
Commit
bb45f41
·
verified ·
1 Parent(s): 4583fe7

Add README

Browse files
Files changed (1) hide show
  1. README.md +43 -15
README.md CHANGED
@@ -1,15 +1,43 @@
1
- ---
2
- dataset_info:
3
- features: []
4
- splits:
5
- - name: train
6
- num_bytes: 0
7
- num_examples: 0
8
- download_size: 423
9
- dataset_size: 0
10
- configs:
11
- - config_name: default
12
- data_files:
13
- - split: train
14
- path: data/train-*
15
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Web Agent Graph Dataset
2
+
3
+ This dataset contains web navigation tasks in graph format with single-step negatives.
4
+
5
+ ## Format
6
+
7
+ Each line in `graph_dataset.jsonl` is a JSON object with:
8
+
9
+ - `graph_data`: Task metadata (domain, root_url, goal)
10
+ - `node_data`: Current state information (url, observation, screenshot path)
11
+ - `step_data`: Action and outcome
12
+ - `action`: The action taken
13
+ - `obs`: Next state observation (axtree_txt, url)
14
+ - `step_number`: Step index in the trajectory
15
+ - `is_positive`: Boolean indicating if this is a positive (gold) or negative action
16
+ - `negative_type`: (Only for negatives) Type of negative: "easy_negative", "hard_negative", or "detour_negative"
17
+ - `negative_reason`: (Only for negatives) Explanation for why this action is negative
18
+
19
+ ## Usage
20
+
21
+ ```python
22
+ import json
23
+
24
+ # Load dataset
25
+ with open('graph_dataset.jsonl', 'r') as f:
26
+ for line in f:
27
+ entry = json.loads(line)
28
+ # Process entry
29
+ print(entry['graph_data']['goal'])
30
+ print(entry['step_data']['action'])
31
+ print(entry['step_data']['is_positive'])
32
+ ```
33
+
34
+ ## Statistics
35
+
36
+ See `conversion_stats.json` for dataset statistics including:
37
+ - Total tasks and entries
38
+ - Positive vs negative distribution
39
+ - Domain breakdown
40
+
41
+ ## Citation
42
+
43
+ If you use this dataset, please cite the original work.