Anish13 commited on
Commit
6f9c2d9
·
verified ·
1 Parent(s): bb45f41

Add README

Browse files
Files changed (1) hide show
  1. README.md +44 -22
README.md CHANGED
@@ -1,20 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
 
@@ -25,19 +51,15 @@ import json
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.
 
1
+ ---
2
+ license: mit
3
+ task_categories:
4
+ - reinforcement-learning
5
+ - question-answering
6
+ language:
7
+ - en
8
+ tags:
9
+ - web-navigation
10
+ - preference-learning
11
+ - reward-modeling
12
+ size_categories:
13
+ - 10K<n<100K
14
+ ---
15
+
16
  # Web Agent Graph Dataset
17
 
18
+ This dataset contains web navigation tasks in graph format with single-step negatives for training reward models.
19
+
20
+ ## Dataset Description
21
+
22
+ - **Format**: JSON Lines (JSONL)
23
+ - **Size**: ~18K entries from 2.8K tasks
24
+ - **Domains**: GitLab, OpenStreetMap, Reddit, Shopping, Shopping Admin
25
+
26
+ ## Data Format
27
+
28
+ Each line in `graph_dataset.jsonl` is a JSON object with three main sections:
29
 
30
+ ### graph_data
31
+ Task metadata including domain, root_url, and goal description.
32
 
33
+ ### node_data
34
+ Current state information with URL, accessibility tree observation, and screenshot path.
35
 
36
+ ### step_data
37
+ Action and outcome with:
38
+ - `action`: The action taken
39
+ - `obs`: Next state observation
40
+ - `step_number`: Step index
41
+ - `is_positive`: True for gold actions, False for negatives
42
+ - `negative_type`: Classification (easy_negative, hard_negative, detour_negative)
43
+ - `negative_reason`: Explanation for negative actions
 
44
 
45
  ## Usage
46
 
 
51
  with open('graph_dataset.jsonl', 'r') as f:
52
  for line in f:
53
  entry = json.loads(line)
54
+ goal = entry['graph_data']['goal']
55
+ action = entry['step_data']['action']
56
+ is_positive = entry['step_data']['is_positive']
 
57
  ```
58
 
59
  ## Statistics
60
 
61
+ See `conversion_stats.json` for detailed statistics.
 
 
 
62
 
63
+ ## License
64
 
65
+ MIT License