yunus-emre commited on
Commit
5f7eccf
·
verified ·
1 Parent(s): 26d933a

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +35 -129
README.md CHANGED
@@ -1,8 +1,6 @@
1
  ---
2
  language: en
3
  license: apache-2.0
4
- size_categories:
5
- - 10K<n<11K
6
  task_categories:
7
  - visual-question-answering
8
  - object-detection
@@ -11,12 +9,11 @@ tags:
11
  - drone
12
  - reasoning
13
  - vqa
14
- - surveillance
15
  - chain-of-thought
16
- - military
17
- - object-detection
18
  configs:
19
- - config_name: default
20
  data_files:
21
  - split: train
22
  path: data/train-*
@@ -24,134 +21,43 @@ configs:
24
  path: data/validation-*
25
  - split: test
26
  path: data/test-*
27
- dataset_info:
28
- features:
29
- - name: image
30
- dtype: image
31
- - name: image_path
32
- dtype: string
33
- - name: source
34
- dtype: string
35
- - name: ground_truth
36
- dtype: string
37
- - name: ground_truth_norm
38
- dtype: string
39
- - name: messages
40
- dtype: string
41
- - name: categories
42
- dtype: string
43
- - name: dup_weight
44
- dtype: float64
45
- - name: model
46
- dtype: string
47
- splits:
48
- - name: train
49
- num_bytes: 3404750364
50
- num_examples: 13423
51
- - name: validation
52
- num_bytes: 180451113
53
- num_examples: 743
54
- - name: test
55
- num_bytes: 172807697
56
- num_examples: 743
57
- download_size: 3535461228
58
- dataset_size: 3758009174
59
  ---
60
 
61
- # UAV Drone Reasoning VQA Dataset
62
-
63
- A visual question answering dataset for drone/UAV detection and reasoning, featuring
64
- chain-of-thought reasoning with **thinking → answer** pairs.
65
-
66
- ## Dataset Description
67
-
68
- This dataset contains **10,000** surveillance images annotated with:
69
- - **72,019** question-answer pairs (avg 7.2 per image)
70
- - Ground-truth bounding boxes with UAV class labels
71
- - Chain-of-thought reasoning ("thinking" field) for each answer
72
-
73
- ### Intended Use
74
- Training and evaluating multimodal models for:
75
- - UAV/drone detection and classification in surveillance imagery
76
- - Visual reasoning with chain-of-thought explanations
77
- - Scene understanding (weather, visibility, lighting conditions)
78
- - Threat assessment and detection difficulty analysis
79
-
80
- ## Dataset Structure
81
-
82
- Each row contains:
83
- | Field | Type | Description |
84
- |-------|------|-------------|
85
- | `image` | Image | The surveillance image |
86
- | `image_path` | string | Original relative path |
87
- | `ground_truth` | string (JSON) | Bounding boxes and class labels |
88
- | `conversations` | string (JSON) | List of QA pairs with thinking/reasoning |
89
-
90
- ### Conversation Format
91
- ```json
92
- [
93
- {
94
- "question": "Is there a UAV visible in the sky?",
95
- "thinking": "Scanning the sky reveals a small object...",
96
- "answer": "Yes, a UAV is present."
97
- }
98
- ]
99
- ```
100
-
101
- ### Question Categories
102
- - **Detection**: Presence/absence of UAVs
103
- - **Counting**: Number of objects
104
- - **Classification**: UAV type/model identification
105
- - **Localization**: Bounding box coordinates
106
- - **Scene Analysis**: Weather, lighting, visibility
107
- - **Characteristics**: Visual features of detected UAVs
108
- - **Risk Assessment**: Threat level and detection difficulty
109
-
110
- ## UAV Classes
111
-
112
- | Class | Count |
113
- |-------|-------|
114
- | mq9_reaper | 3039 |
115
- | mohajer_6 | 3016 |
116
- | shahed_238 | 2995 |
117
- | shahed_136 | 2962 |
118
- | dji_mavic | 2954 |
119
-
120
- ## Source Image Splits
121
-
122
- | Split | Images |
123
- |-------|--------|
124
- | train | 7003 |
125
- | val | 2001 |
126
- | test | 996 |
127
-
128
- ## Generation Pipeline
129
-
130
- QA pairs were generated using **Qwen3.7-Plus** (multimodal) via OpenRouter API,
131
- with ground-truth YOLO annotations as guidance. Each response was validated for:
132
- - Valid JSON structure
133
- - Minimum 3 QA pairs per image
134
- - Required fields (question, thinking, answer)
135
 
136
  ## Usage
137
-
138
  ```python
139
  from datasets import load_dataset
 
140
 
141
- ds = load_dataset("yunus-emre/uav-drone-reasoning-vqa")
142
-
143
- # Access a sample
144
- sample = ds["train"][0]
145
- image = sample["image"] # PIL Image
146
- qa_pairs = json.loads(sample["conversations"])
147
- gt_boxes = json.loads(sample["ground_truth"])
148
-
149
- for qa in qa_pairs:
150
- print(f"Q: {qa['question']}")
151
- print(f"T: {qa['thinking']}")
152
- print(f"A: {qa['answer']}")
153
- print()
154
  ```
155
-
156
- ## License
157
- Apache 2.0
 
1
  ---
2
  language: en
3
  license: apache-2.0
 
 
4
  task_categories:
5
  - visual-question-answering
6
  - object-detection
 
9
  - drone
10
  - reasoning
11
  - vqa
 
12
  - chain-of-thought
13
+ - qwen-vl
14
+ - counter-uas
15
  configs:
16
+ - config_name: v2
17
  data_files:
18
  - split: train
19
  path: data/train-*
 
21
  path: data/validation-*
22
  - split: test
23
  path: data/test-*
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24
  ---
25
 
26
+ # UAV Drone Reasoning VQA Dataset v2
27
+
28
+ Multimodal VQA dataset for counter-UAS training with rich chain-of-thought reasoning.
29
+
30
+ ## v2 Improvements
31
+ - Negative and hard-negative samples (birds/aircraft distractors)
32
+ - Category-labeled QA pairs
33
+ - Richer multi-sentence thinking traces
34
+ - Qwen-VL chat `messages` format with `` blocks
35
+ - Stratified train/validation/test splits
36
+ - Duplicate-question downweighting via `dup_weight`
37
+
38
+ ## Stats
39
+ - Records: 14,909
40
+ - QA pairs: 98,837
41
+ - Unique questions: 14,590
42
+ - Sources: {'kaggle_v1': 9909, 'negative': 2500, 'hard_negative': 2500}
43
+
44
+ ## Fields
45
+ | Field | Description |
46
+ |-------|-------------|
47
+ | `image` | PIL-ready surveillance image |
48
+ | `messages` | Qwen chat JSON (user question + assistant thinking/answer) |
49
+ | `ground_truth` | Pixel xyxy boxes + class |
50
+ | `ground_truth_norm` | 0-1000 normalized boxes |
51
+ | `categories` | QA category labels |
52
+ | `dup_weight` | Sampling weight for deduplicated training |
53
+ | `source` | kaggle_v1 / negative / hard_negative |
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
54
 
55
  ## Usage
 
56
  ```python
57
  from datasets import load_dataset
58
+ import json
59
 
60
+ ds = load_dataset("yunus-emre/uav-drone-reasoning-vqa", "v2")
61
+ row = ds["train"][0]
62
+ messages = json.loads(row["messages"])
 
 
 
 
 
 
 
 
 
 
63
  ```