holgerson commited on
Commit
251f04d
·
verified ·
1 Parent(s): 0235a86

Document raw SPARC use and release filtering

Browse files
Files changed (1) hide show
  1. README.md +17 -3
README.md CHANGED
@@ -13,11 +13,23 @@ This repository contains the unfiltered SPARC VQA corpus: 838,211 embedded-image
13
 
14
  ## Ready-to-train version
15
 
16
- For the exact SPARC subset used by the released Qwen3.5 models, use [irl-kit/SPARC-VQA](https://huggingface.co/datasets/irl-kit/SPARC-VQA). Its `train_filtered_t097_mpo700.parquet` contains 284,909 examples after the release filtering and does not require SPARC postprocessing.
 
 
 
 
 
 
 
 
 
 
 
 
17
 
18
  ## Reproduce the release filter
19
 
20
- `export_sparc_training_subset.py` materializes the exact release subset from `train.parquet`:
21
 
22
  ```bash
23
  python export_sparc_training_subset.py \
@@ -30,6 +42,8 @@ python export_sparc_training_subset.py \
30
 
31
  The filter applies `selected_start_score >= 0.97`, sorts retained records by descending score, retains complete trajectory-subtask groups for the first 700 groups per normalized object phrase, and removes vacant-location prompts referring to a gripper.
32
 
 
 
33
  ## Data schema
34
 
35
  | Field | Description |
@@ -41,7 +55,7 @@ The filter applies `selected_start_score >= 0.97`, sorts retained records by des
41
  | `target_type`, `task_type` | Spatial target and VQA task labels |
42
  | `source`, `split`, `metadata` | Provenance and generation metadata |
43
 
44
- `ours_adaptive_det_soft_snr_sp8.yaml` records the raw SPARC VQA generation configuration.
45
 
46
  ## Citation
47
 
 
13
 
14
  ## Ready-to-train version
15
 
16
+ For the exact processed SPARC subset used by the released Qwen3.5 models, download `train_filtered_t097_mpo700.parquet` from [irl-kit/SPARC-VQA](https://huggingface.co/datasets/irl-kit/SPARC-VQA). It contains 284,909 examples and can be used directly without SPARC postprocessing.
17
+
18
+ After download, load it as a Parquet dataset:
19
+
20
+ ```python
21
+ from datasets import load_dataset
22
+
23
+ dataset = load_dataset(
24
+ "parquet",
25
+ data_files="train_filtered_t097_mpo700.parquet",
26
+ split="train",
27
+ )
28
+ ```
29
 
30
  ## Reproduce the release filter
31
 
32
+ To create the same subset from this unfiltered corpus, download `train.parquet` and run the included `export_sparc_training_subset.py` in the same directory:
33
 
34
  ```bash
35
  python export_sparc_training_subset.py \
 
42
 
43
  The filter applies `selected_start_score >= 0.97`, sorts retained records by descending score, retains complete trajectory-subtask groups for the first 700 groups per normalized object phrase, and removes vacant-location prompts referring to a gripper.
44
 
45
+ For a custom raw-data subset, change any of `--quality-threshold`, `--max-per-object`, or `--blocked-vacant-location`, then load the resulting Parquet with the same `load_dataset("parquet", ...)` call above. The output preserves the embedded Hugging Face-compatible image column.
46
+
47
  ## Data schema
48
 
49
  | Field | Description |
 
55
  | `target_type`, `task_type` | Spatial target and VQA task labels |
56
  | `source`, `split`, `metadata` | Provenance and generation metadata |
57
 
58
+ `ours_adaptive_det_soft_snr_sp8.yaml` records the raw SPARC VQA generation configuration. `release_mixture.yaml` records the SPARC and external-dataset mixture used for each released model.
59
 
60
  ## Citation
61