hitsmy commited on
Commit
f430fbc
·
verified ·
1 Parent(s): f5f51a6

Add README

Browse files
Files changed (1) hide show
  1. README.md +80 -50
README.md CHANGED
@@ -1,50 +1,80 @@
1
- ---
2
- dataset_info:
3
- features:
4
- - name: idx
5
- dtype: string
6
- - name: original_id
7
- dtype: string
8
- - name: image
9
- dtype: image
10
- - name: text
11
- dtype: string
12
- - name: answer
13
- dtype: string
14
- - name: task_type
15
- dtype: string
16
- - name: split
17
- dtype: string
18
- - name: size
19
- dtype: int32
20
- - name: gym_map
21
- dtype: string
22
- - name: path_length
23
- dtype: int32
24
- - name: path
25
- dtype: string
26
- - name: start_coords
27
- dtype: string
28
- - name: goal_coords
29
- dtype: string
30
- - name: obstacle_coords
31
- dtype: string
32
- - name: astar_path
33
- dtype: string
34
- splits:
35
- - name: navigation_test
36
- num_bytes: 14587161.0
37
- num_examples: 900
38
- - name: verify_test
39
- num_bytes: 12459642.0
40
- num_examples: 770
41
- download_size: 24701889
42
- dataset_size: 27046803.0
43
- configs:
44
- - config_name: default
45
- data_files:
46
- - split: navigation_test
47
- path: data/navigation_test-*
48
- - split: verify_test
49
- path: data/verify_test-*
50
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Frozen Lake Visual Spatial Planning Dataset
2
+
3
+ ## Dataset Description
4
+
5
+ This dataset contains visual maze navigation and path verification tasks based on the Frozen Lake environment.
6
+
7
+ ### Dataset Summary
8
+
9
+ - **Total samples**: 1670
10
+ - **Tasks**: Path Navigation and Path Verification
11
+ - **Splits**:
12
+ - `navigation_test`: 900 samples
13
+ - `verify_test`: 770 samples
14
+
15
+ ### Task Types
16
+
17
+ 1. **Path Verification**: Given a maze image and an action sequence, determine if the path is safe (avoids holes and reaches the goal).
18
+ 2. **Path Navigation**: Given a maze image, generate an optimal action sequence from start to goal while avoiding holes.
19
+
20
+ ### Data Fields
21
+
22
+ Common fields:
23
+ - `idx`: Unique identifier
24
+ - `original_id`: Original data ID
25
+ - `image`: RGB image of the maze
26
+ - `text`: Task instruction and prompt
27
+ - `answer`: Ground truth answer
28
+ - `task_type`: Type of task (verify/navigation)
29
+ - `split`: Data split (sft/rl/test)
30
+ - `size`: Maze size (grid dimension)
31
+ - `gym_map`: Gym environment map representation (JSON string)
32
+
33
+ Path Verification specific fields:
34
+ - `path_length`: Length of the action sequence
35
+ - `path`: Action sequence string
36
+
37
+ Path Navigation specific fields:
38
+ - `start_coords`: Starting coordinates (JSON string)
39
+ - `goal_coords`: Goal coordinates (JSON string)
40
+ - `obstacle_coords`: Obstacle coordinates (JSON string)
41
+ - `astar_path`: A* algorithm path (if available)
42
+
43
+ ### Actions
44
+
45
+ - `L`: Move left
46
+ - `R`: Move right
47
+ - `U`: Move up
48
+ - `D`: Move down
49
+
50
+ ### Maze Elements
51
+
52
+ - `S`: Start position
53
+ - `G`: Goal position
54
+ - `F`: Frozen (safe) tile
55
+ - `H`: Hole (unsafe)
56
+
57
+ ## Usage
58
+
59
+ ```python
60
+ from datasets import load_dataset
61
+
62
+ # Load specific split
63
+ dataset = load_dataset("YOUR_USERNAME/frozen-lake-vsp", split="navigation_test")
64
+
65
+ # Access an example
66
+ example = dataset[0]
67
+ image = example['image']
68
+ prompt = example['text']
69
+ answer = example['answer']
70
+ ## Citation
71
+ If you use this dataset, please cite:
72
+
73
+ @dataset{temp,
74
+ title={temp},
75
+ author={Your Name},
76
+ year={2024}
77
+ }
78
+
79
+ License
80
+ Apache 2.0