holgerson commited on
Commit
30c3aae
·
verified ·
1 Parent(s): 88dca81

Document release-ready filtered SPARC VQA split

Browse files
Files changed (1) hide show
  1. README.md +84 -0
README.md ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ pretty_name: SPARC VQA
3
+ tags:
4
+ - robotics
5
+ - vision-language
6
+ - spatial-reasoning
7
+ - sparc
8
+ ---
9
+
10
+ # SPARC VQA
11
+
12
+ SPARC VQA is the generated spatial VQA training dataset used in the SPARC Qwen3.5 model releases. Each example embeds its image bytes and includes a question, answer, task type, target type, source dataset identifier, split, and JSON metadata.
13
+
14
+ ## Ready-to-train split
15
+
16
+ Use `train_filtered_t097_mpo700.parquet` for SPARC-only training. It contains the exact 284,909 examples retained by the release configuration, with no further SPARC filtering required:
17
+
18
+ - `selected_start_score >= 0.97`
19
+ - sorted by `selected_start_score` in descending order before diversity selection
20
+ - a maximum of 700 `(source, trajectory_name, subtask_index)` groups per normalized object name
21
+ - vacant-goal and vacant-start examples mentioning `gripper` excluded
22
+
23
+ The unfiltered 838,211-example source corpus is available at [irl-kit/SPARC-VQA-Raw](https://huggingface.co/datasets/irl-kit/SPARC-VQA-Raw). It includes `export_sparc_training_subset.py` for reproducing this split.
24
+
25
+ ## Data schema
26
+
27
+ | Field | Description |
28
+ | --- | --- |
29
+ | `sample_id` | Stable example identifier |
30
+ | `image` | Embedded image bytes and optional path |
31
+ | `question` | User text prompt |
32
+ | `answer` | Supervised assistant answer |
33
+ | `target_type`, `task_type` | Spatial target and VQA task labels |
34
+ | `source`, `split`, `metadata` | Provenance and generation metadata |
35
+
36
+ ## Mixtures
37
+
38
+ | Release | Data mixture |
39
+ | --- | --- |
40
+ | Qwen3.5-4B | SPARC VQA + FSD + RoboPoint + LLaVA-OneVision2 |
41
+ | Qwen3.5-0.8B-VTFT | SPARC VQA + FSD + RoboPoint + LLaVA-OneVision2 |
42
+ | Qwen3.5-9B-EO | SPARC VQA + FSD + RoboPoint + LLaVA-OneVision2 + EO-1.5M |
43
+
44
+ FSD, RoboPoint, LLaVA-OneVision2, and EO-1.5M are external datasets and should be retrieved from their upstream releases under their respective terms. The released models are [Qwen3.5-4B](https://huggingface.co/irl-kit/SPARC-Qwen3.5-4B), [Qwen3.5-0.8B-VTFT](https://huggingface.co/irl-kit/SPARC-Qwen3.5-0.8B-VTFT), and [Qwen3.5-9B-EO](https://huggingface.co/irl-kit/SPARC-Qwen3.5-9B-EO).
45
+
46
+ ## Reproducing the SPARC filter
47
+
48
+ The included exporter applies the exact release filtering logic without decoding images during its selection pass:
49
+
50
+ ```bash
51
+ python export_sparc_training_subset.py \
52
+ /path/to/train.parquet \
53
+ train_filtered_t097_mpo700.parquet \
54
+ --quality-threshold 0.97 \
55
+ --max-per-object 700 \
56
+ --blocked-vacant-location gripper
57
+ ```
58
+
59
+ The raw dataset repository includes the accompanying `ours_adaptive_det_soft_snr_sp8.yaml` generation configuration used by the training runs.
60
+
61
+ ## Prompting compatibility
62
+
63
+ The released models are sensitive to output formatting. Use each model's bundled chat template with a single user turn containing the image followed by the question. For point prediction, use this suffix:
64
+
65
+ ```text
66
+ Output the point coordinates in JSON format like [{"point_2d": [x, y], "label": "target"}]. Use integer coordinates between 0 and 1000.
67
+ ```
68
+
69
+ For trajectories or multiple points, use this suffix:
70
+
71
+ ```text
72
+ Return only a JSON list like [{"point_2d": [x1, y1], "label": "point_1"}, {"point_2d": [x2, y2], "label": "point_2"}, ...]. Use integer coordinates between 0 and 1000.
73
+ ```
74
+
75
+ ## Citation
76
+
77
+ ```bibtex
78
+ @article{blank2026sparc,
79
+ title={SPARC: Reliable Spatial Annotations from Robot Demonstrations at Scale},
80
+ author={Blank, Nils and others},
81
+ journal={arXiv preprint arXiv:2606.13497},
82
+ year={2026}
83
+ }
84
+ ```