KHUjongseo commited on
Commit
97c1a63
·
verified ·
1 Parent(s): c867221

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +73 -0
README.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ configs:
3
+ - config_name: close_ended
4
+ data_files:
5
+ - split: val
6
+ path: close_ended.json
7
+ - config_name: open_ended
8
+ data_files:
9
+ - split: val
10
+ path: open_ended.json
11
+ license: mit
12
+ task_categories:
13
+ - visual-question-answering
14
+ language:
15
+ - en
16
+ tags:
17
+ - spatial-reasoning
18
+ - object-location
19
+ - direction
20
+ ---
21
+
22
+ # Object Location 4-Class (Subset 1 of 5)
23
+
24
+ A visual question answering dataset for evaluating spatial reasoning — specifically, identifying the location of an object (Up / Down / Left / Right) from the viewer's perspective.
25
+
26
+ ## Dataset Configurations
27
+
28
+ ### `close_ended`
29
+ Multiple-choice format with 4 fixed options (A: Up, B: Down, C: Left, D: Right).
30
+
31
+ ### `open_ended`
32
+ Free-form answer format. The model is expected to respond with one of: Up, Down, Left, Right.
33
+
34
+ ## Usage
35
+
36
+ ```python
37
+ from datasets import load_dataset
38
+
39
+ # Close-ended (multiple choice)
40
+ ds_close = load_dataset("YOUR_HF_ID/object_location_4class", name="close_ended", split="val")
41
+
42
+ # Open-ended (free-form)
43
+ ds_open = load_dataset("YOUR_HF_ID/object_location_4class", name="open_ended", split="val")
44
+ ```
45
+
46
+ ## Data Fields
47
+
48
+ ### Close-ended
49
+ | Field | Type | Description |
50
+ |-------|------|-------------|
51
+ | `id` | int | Sample index |
52
+ | `image` | string | Image filename (e.g., `rectangle_yellow_123.png`) |
53
+ | `question` | string | Question text |
54
+ | `options` | list[string] | `["Up", "Down", "Left", "Right"]` |
55
+ | `answer` | string | Correct option letter (`A`/`B`/`C`/`D`) |
56
+ | `answer_text` | string | Correct answer in text (`Up`/`Down`/`Left`/`Right`) |
57
+ | `category` | string | Ground truth direction folder (`up`/`down`/`left`/`right`) |
58
+
59
+ ### Open-ended
60
+ | Field | Type | Description |
61
+ |-------|------|-------------|
62
+ | `id` | int | Sample index |
63
+ | `image` | string | Image filename (e.g., `rectangle_yellow_123.png`) |
64
+ | `question` | string | Question text |
65
+ | `answer` | string | Correct answer (`Up`/`Down`/`Left`/`Right`) |
66
+ | `category` | string | Ground truth direction folder (`up`/`down`/`left`/`right`) |
67
+
68
+ ## Notes
69
+
70
+ - Images are **not** included in this repository. They should be stored locally and loaded via the `category` and `image` fields to reconstruct the full path:
71
+ ```
72
+ {DATA_ROOT}/{category}/{image}
73
+ ```