Minimal card for now
Browse files
README.md
CHANGED
|
@@ -2,14 +2,6 @@
|
|
| 2 |
license: other
|
| 3 |
license_name: per-source-terms
|
| 4 |
pretty_name: Instruct-181K
|
| 5 |
-
task_categories:
|
| 6 |
-
- visual-question-answering
|
| 7 |
-
- any-to-any
|
| 8 |
-
tags:
|
| 9 |
-
- thinkmorph-ssl
|
| 10 |
-
- primer
|
| 11 |
-
- interleaved-reasoning
|
| 12 |
-
- spatial-reasoning
|
| 13 |
configs:
|
| 14 |
- config_name: preview
|
| 15 |
data_files:
|
|
@@ -19,147 +11,4 @@ configs:
|
|
| 19 |
|
| 20 |
# Instruct-181K
|
| 21 |
|
| 22 |
-
|
| 23 |
-
[ThinkMorph-SSL-Instruct](https://huggingface.co/ThinkMorph/ThinkMorph-SSL-Instruct), starting from
|
| 24 |
-
[ThinkMorph-SSL-Base](https://huggingface.co/ThinkMorph/ThinkMorph-SSL-Base). Each trace has a question, input
|
| 25 |
-
images, textual reasoning with intermediate images, and an answer.
|
| 26 |
-
|
| 27 |
-
- **Images:** the intermediate images are targets built from the original images: localized
|
| 28 |
-
regions, depth, geometry, reconstructions, paired views and calibrated objects.
|
| 29 |
-
- **Text:** teacher models write the text; generation and filtering depend on the task.
|
| 30 |
-
|
| 31 |
-
**Counts.**
|
| 32 |
-
- The paper counts **181,291** traces, the rows of the 21 training folders. This release has
|
| 33 |
-
**180,490** of them: 142,333 with images and
|
| 34 |
-
38,157 text only.
|
| 35 |
-
- The difference of 801 rows never reached the model in training:
|
| 36 |
-
- 800 val rows (`depth_10k`, `egoexo_5k`) have no reasoning image, and Stage 2 drops such
|
| 37 |
-
rows;
|
| 38 |
-
- 1 row references a zero-byte image, and the loader skipped it.
|
| 39 |
-
- Stage 2 also trained on the val files, so their rows are part of `train.jsonl`
|
| 40 |
-
(`source_split` = `val`).
|
| 41 |
-
|
| 42 |
-
## Composition
|
| 43 |
-
|
| 44 |
-
| Subset | Rows with images | Text-only rows | Sources |
|
| 45 |
-
| --- | ---: | ---: | --- |
|
| 46 |
-
| `spatial/behind_me_1k` | 1,324 | — | MindCube |
|
| 47 |
-
| `spatial/behind_variants_286` | 284 | — | MindCube |
|
| 48 |
-
| `spatial/directional_query_2k` | 2,594 | — | MindCube |
|
| 49 |
-
| `spatial/movement_direction_1k` | 1,250 | — | MindCube |
|
| 50 |
-
| `spatial/positioned_direction_423` | 423 | — | MindCube |
|
| 51 |
-
| `spatial/turn_degrees_204` | 204 | — | MindCube |
|
| 52 |
-
| `spatial/turn_move_closer_2k` | 2,576 | — | MindCube |
|
| 53 |
-
| `spatial/multiview_58k` | 24,247 | 33,631 | Matterport3D (text only), Realsee3D, 360+x |
|
| 54 |
-
| `spatial/depth_10k` | 9,575 | — | RefSpatial |
|
| 55 |
-
| `spatial/counting_5k` | 5,569 | — | LVIS v1 val (COCO images) |
|
| 56 |
-
| `spatial/rotation_10k` | 10,811 | — | MVImgNet |
|
| 57 |
-
| `spatial/perspective_6k` | 6,512 | — | SAT |
|
| 58 |
-
| `spatial/directional_1k` | 1,162 | — | COCO images (sam3d engine) |
|
| 59 |
-
| `spatial/undirectional_5k` | 4,639 | — | COCO images (sam3d engine) |
|
| 60 |
-
| `spatial/directional_cam_8k` | 8,063 | — | COCO images (Orient-Anything) |
|
| 61 |
-
| `spatial/jigsaw_20k` | 20,000 | — | Pretext-Spatial-50K pools |
|
| 62 |
-
| `perception/jigsaw_20k` | 19,935 | — | jigsaw_20k_v1 pools |
|
| 63 |
-
| `perception/visual_search_bbox_15k` | 14,686 | — | Visual-CoT and crop pools |
|
| 64 |
-
| `perception/visual_search_crop_7.5k` | 7,479 | — | crop pools |
|
| 65 |
-
| `perception/count_1k` | 1,000 | — | synthetic counting scenes |
|
| 66 |
-
| `spatial/egoexo_5k` | 0 | 4,526 | Ego-Exo4D (text only) |
|
| 67 |
-
| **Total** | **142,333** | **38,157** | |
|
| 68 |
-
|
| 69 |
-
| Functional group (paper) | Pipelines | Paper traces |
|
| 70 |
-
| --- | --- | ---: |
|
| 71 |
-
| L1: visible evidence | visual search, jigsaw QA | 62,100 |
|
| 72 |
-
| L2: spatial structure | counting, depth reasoning | 16,544 |
|
| 73 |
-
| L3: scene reconstruction | panorama, bird's-eye view, alternate view, object rotation, ego-exo transfer | 102,647 |
|
| 74 |
-
| **Total** | | **181,291** |
|
| 75 |
-
|
| 76 |
-
## Files
|
| 77 |
-
|
| 78 |
-
| Path | What it is |
|
| 79 |
-
| --- | --- |
|
| 80 |
-
| `shards/SHARDS.json`, `shards/data-*.tar` | The release with images: 142,333 train rows and 286,889 images (157.0 GB), in 148 deterministic tar shards |
|
| 81 |
-
| `text_only/` | 38,157 rows whose images come from Matterport3D or Ego-Exo4D. Their images are not distributed here; see [Rows without images](#rows-without-images) |
|
| 82 |
-
| `preview/*.parquet` | The Dataset Viewer preview: a few rows per subset, with images downscaled to at most 768 px |
|
| 83 |
-
|
| 84 |
-
## Download and restore
|
| 85 |
-
|
| 86 |
-
```bash
|
| 87 |
-
python scripts/download_release.py shards/SHARDS.json \
|
| 88 |
-
--base-url https://huggingface.co/datasets/ThinkMorph/Instruct-181K/resolve/<COMMIT>/shards --output shards
|
| 89 |
-
python scripts/shard_data_release.py restore shards/SHARDS.json shards DATA_ROOT/primer-instruct-181k
|
| 90 |
-
```
|
| 91 |
-
|
| 92 |
-
(`hf download ThinkMorph/Instruct-181K --repo-type dataset --include "shards/*"` works too.)
|
| 93 |
-
|
| 94 |
-
- `download_release.py` checks each shard's size and SHA256.
|
| 95 |
-
- `restore` checks every shard before extracting it, then checks every file against the
|
| 96 |
-
`MANIFEST.json` inside the shards.
|
| 97 |
-
- A restored release holds `train.jsonl` (and `val.jsonl` if present), `images/` and
|
| 98 |
-
`MANIFEST.json`, which is the layout the BAGEL loader reads.
|
| 99 |
-
- The scripts are in the PRIMER code release.
|
| 100 |
-
|
| 101 |
-
**Check.** Before upload, the restored release went through the BAGEL loader, which decoded
|
| 102 |
-
every image: 142,333 usable rows and 286,889 images, result
|
| 103 |
-
PASS.
|
| 104 |
-
|
| 105 |
-
## Row format
|
| 106 |
-
|
| 107 |
-
```json
|
| 108 |
-
{"id": "<sha256>", "question": "...", "options": "...", "images": ["images/<sha256>.jpg"],
|
| 109 |
-
"reasoning_thought_0": "...", "reasoning_image_0": "images/<sha256>.jpg",
|
| 110 |
-
"reasoning_thought_1": "...", "answer": "...", "subset": "<source subset>", "source_split": "train"}
|
| 111 |
-
```
|
| 112 |
-
|
| 113 |
-
- The supervision text (`question`, `options`, `answer`/`gt_answer`, every
|
| 114 |
-
`reasoning_thought_N`) and the image bytes are exactly as in the training copy.
|
| 115 |
-
- Image paths are content-hashed relative paths, and `id` is a public id.
|
| 116 |
-
- `subset` names the storage subset a row came from, and `source_split` the split it had
|
| 117 |
-
there.
|
| 118 |
-
- Source metadata fields are removed, because they contain internal storage paths.
|
| 119 |
-
|
| 120 |
-
## Rows without images
|
| 121 |
-
|
| 122 |
-
`text_only/` holds the rows whose images come from **Matterport3D or Ego-Exo4D**. Their terms do not allow
|
| 123 |
-
us to redistribute the images. Obtain the source data yourself and rebuild the images.
|
| 124 |
-
|
| 125 |
-
- `text_only/train.jsonl` (and `val.jsonl`): the rows, normalized like the main release
|
| 126 |
-
(same public ids), with `subset` and `source_split`. The image fields keep the
|
| 127 |
-
**original file names**.
|
| 128 |
-
- `text_only/images.jsonl`: one record per original image (`subset`, `split`, `name`). Each
|
| 129 |
-
record gives the byte size and MD5 of the exact file used in training, the upstream
|
| 130 |
-
dataset and ids, the role and a derivation sentence.
|
| 131 |
-
- `text_only/provenance.jsonl`: per row, the reconstruction parameters (for example yaw
|
| 132 |
-
angles of paired views, jigsaw grid and tile permutation, original image id and size, take
|
| 133 |
-
name and frame rank).
|
| 134 |
-
|
| 135 |
-
To get the source data:
|
| 136 |
-
|
| 137 |
-
- **Matterport3D:** sign the Matterport3D Terms of Use. Get the form from
|
| 138 |
-
<https://niessner.github.io/Matterport/> and send it to matterport3d@googlegroups.com. The
|
| 139 |
-
rows name the Matterport3D panoramas they use.
|
| 140 |
-
- **Ego-Exo4D:** obtain the dataset under its license (<https://ego-exo4d-data.org/>). The
|
| 141 |
-
frames can be regenerated with `data/builders/egoexo/export_take_ninepack.py` from the PRIMER
|
| 142 |
-
code release; its README gives the exact parameters. An image name gives the take, ego or
|
| 143 |
-
exo, and the frame rank.
|
| 144 |
-
|
| 145 |
-
A rebuilt image may differ in bytes even when it shows the same content. Compare it with the
|
| 146 |
-
recorded MD5.
|
| 147 |
-
|
| 148 |
-
## Source terms
|
| 149 |
-
|
| 150 |
-
Each source keeps its own terms. The image release has no blanket license. Matterport3D and
|
| 151 |
-
Ego-Exo4D rows are text only.
|
| 152 |
-
|
| 153 |
-
## Evaluation proximity
|
| 154 |
-
|
| 155 |
-
- VStar, MMSI and MindCube are close to the visual-search, panorama and viewpoint
|
| 156 |
-
supervision.
|
| 157 |
-
- HRBench and MME-RW-L are nearby perception tasks.
|
| 158 |
-
- No evaluation questions or official templates were used to build the data.
|
| 159 |
-
|
| 160 |
-
## Provenance
|
| 161 |
-
|
| 162 |
-
- **Training copy.** Training read an internal storage copy that is no longer reachable.
|
| 163 |
-
- **This release.** It is built from the team's archived copy of the same training folders.
|
| 164 |
-
- **What matches.** Row counts agree with the recorded counts of the copy training read.
|
| 165 |
-
- **What could not be checked.** Byte identity with the training copy.
|
|
|
|
| 2 |
license: other
|
| 3 |
license_name: per-source-terms
|
| 4 |
pretty_name: Instruct-181K
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
configs:
|
| 6 |
- config_name: preview
|
| 7 |
data_files:
|
|
|
|
| 11 |
|
| 12 |
# Instruct-181K
|
| 13 |
|
| 14 |
+
More details will be added later.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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