Dataset card organized by task
Browse files
README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
---
|
| 2 |
license: other
|
| 3 |
license_name: per-source-terms
|
| 4 |
-
pretty_name: Instruct-
|
| 5 |
language:
|
| 6 |
- en
|
| 7 |
size_categories:
|
|
@@ -10,6 +10,10 @@ task_categories:
|
|
| 10 |
- visual-question-answering
|
| 11 |
- any-to-any
|
| 12 |
configs:
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
- config_name: panoramic_completion
|
| 14 |
data_files:
|
| 15 |
- split: train
|
|
@@ -30,10 +34,6 @@ configs:
|
|
| 30 |
data_files:
|
| 31 |
- split: train
|
| 32 |
path: preview/object_rotation.parquet
|
| 33 |
-
- config_name: birds_eye_view_rotation
|
| 34 |
-
data_files:
|
| 35 |
-
- split: train
|
| 36 |
-
path: preview/birds_eye_view_rotation.parquet
|
| 37 |
- config_name: object_orientation
|
| 38 |
data_files:
|
| 39 |
- split: train
|
|
@@ -76,9 +76,9 @@ configs:
|
|
| 76 |
path: preview/birds_eye_view.parquet
|
| 77 |
---
|
| 78 |
|
| 79 |
-
# Instruct-
|
| 80 |
|
| 81 |
-
Instruct-
|
| 82 |
[ThinkMorph-SSL-Instruct](https://huggingface.co/ThinkMorph/ThinkMorph-SSL-Instruct), trained from
|
| 83 |
[ThinkMorph-SSL-Base](https://huggingface.co/ThinkMorph/ThinkMorph-SSL-Base). It holds 180,490 interleaved reasoning
|
| 84 |
traces. Each trace has a question, one or more input images, reasoning text with intermediate
|
|
@@ -126,9 +126,9 @@ All rows are training rows. Choose a task in the Dataset Viewer to see examples.
|
|
| 126 |
## Download
|
| 127 |
|
| 128 |
```bash
|
| 129 |
-
hf download ThinkMorph/Instruct-
|
| 130 |
mkdir -p data
|
| 131 |
-
for f in Instruct-
|
| 132 |
```
|
| 133 |
|
| 134 |
- `shards/SHARDS.json` gives each shard's SHA256, and `MANIFEST.json` each extracted file's.
|
|
@@ -156,6 +156,28 @@ data/
|
|
| 156 |
- `options` appears only in tasks that keep the choices outside the question.
|
| 157 |
- Image paths are relative to the row's file. `id` is a stable public id.
|
| 158 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 159 |
## Rows without images
|
| 160 |
|
| 161 |
`text_only/` holds the rows of `panoramic_completion` whose images come from Matterport3D, and of `exo_to_ego` (Ego-Exo4D). It has the same task folders as the main release.
|
|
|
|
| 1 |
---
|
| 2 |
license: other
|
| 3 |
license_name: per-source-terms
|
| 4 |
+
pretty_name: Instruct-180K
|
| 5 |
language:
|
| 6 |
- en
|
| 7 |
size_categories:
|
|
|
|
| 10 |
- visual-question-answering
|
| 11 |
- any-to-any
|
| 12 |
configs:
|
| 13 |
+
- config_name: birds_eye_view_rotation
|
| 14 |
+
data_files:
|
| 15 |
+
- split: train
|
| 16 |
+
path: preview/birds_eye_view_rotation.parquet
|
| 17 |
- config_name: panoramic_completion
|
| 18 |
data_files:
|
| 19 |
- split: train
|
|
|
|
| 34 |
data_files:
|
| 35 |
- split: train
|
| 36 |
path: preview/object_rotation.parquet
|
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
- config_name: object_orientation
|
| 38 |
data_files:
|
| 39 |
- split: train
|
|
|
|
| 76 |
path: preview/birds_eye_view.parquet
|
| 77 |
---
|
| 78 |
|
| 79 |
+
# Instruct-180K
|
| 80 |
|
| 81 |
+
Instruct-180K is the instruction-tuning data of
|
| 82 |
[ThinkMorph-SSL-Instruct](https://huggingface.co/ThinkMorph/ThinkMorph-SSL-Instruct), trained from
|
| 83 |
[ThinkMorph-SSL-Base](https://huggingface.co/ThinkMorph/ThinkMorph-SSL-Base). It holds 180,490 interleaved reasoning
|
| 84 |
traces. Each trace has a question, one or more input images, reasoning text with intermediate
|
|
|
|
| 126 |
## Download
|
| 127 |
|
| 128 |
```bash
|
| 129 |
+
hf download ThinkMorph/Instruct-180K --repo-type dataset --include "shards/*" --local-dir Instruct-180K
|
| 130 |
mkdir -p data
|
| 131 |
+
for f in Instruct-180K/shards/*.tar; do tar -xf "$f" -C data; done
|
| 132 |
```
|
| 133 |
|
| 134 |
- `shards/SHARDS.json` gives each shard's SHA256, and `MANIFEST.json` each extracted file's.
|
|
|
|
| 156 |
- `options` appears only in tasks that keep the choices outside the question.
|
| 157 |
- Image paths are relative to the row's file. `id` is a stable public id.
|
| 158 |
|
| 159 |
+
## Reading the data
|
| 160 |
+
|
| 161 |
+
A trace reads in this order: the input images and the question, then
|
| 162 |
+
`reasoning_thought_0`, `reasoning_image_0`, `reasoning_thought_1`, and so on, then the answer.
|
| 163 |
+
|
| 164 |
+
```python
|
| 165 |
+
import json
|
| 166 |
+
from pathlib import Path
|
| 167 |
+
from PIL import Image
|
| 168 |
+
|
| 169 |
+
folder = Path("data/bbox") # one task folder of the extracted release
|
| 170 |
+
with open(folder / "train.jsonl") as f:
|
| 171 |
+
row = json.loads(next(f))
|
| 172 |
+
inputs = [Image.open(folder / p) for p in row["images"]]
|
| 173 |
+
steps, i = [], 0
|
| 174 |
+
while f"reasoning_thought_{i}" in row:
|
| 175 |
+
image = row.get(f"reasoning_image_{i}")
|
| 176 |
+
steps.append((row[f"reasoning_thought_{i}"], Image.open(folder / image) if image else None))
|
| 177 |
+
i += 1
|
| 178 |
+
print(row["question"], row.get("options"), row["answer"])
|
| 179 |
+
```
|
| 180 |
+
|
| 181 |
## Rows without images
|
| 182 |
|
| 183 |
`text_only/` holds the rows of `panoramic_completion` whose images come from Matterport3D, and of `exo_to_ego` (Ego-Exo4D). It has the same task folders as the main release.
|