Datasets:
File size: 8,598 Bytes
e91abfc e7d0fcf e91abfc 05fbf8a 3f1542b e91abfc 3f1542b e91abfc 3f1542b e91abfc e7d0fcf e91abfc e7d0fcf e91abfc 3f1542b e91abfc 3f1542b e91abfc 3f1542b e91abfc | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 | ---
license: cc-by-4.0
language:
- en
- zh
task_categories:
- text-to-3d
tags:
- lego
- ldraw
- brick
- voxel
- text-to-3d
- 48-grid
- bilingual
- brickmore
- brickforma
size_categories:
- 100K<n<1M
pretty_name: BrickMore-48 / BrickForma dataset
configs:
- config_name: default
data_files:
- split: train
path: prompts/all_prompts.parquet
---
# BrickMore-48 / BrickForma dataset
80,000 voxel LEGO-style models on a 48³ grid, each paired with **five** bilingual
(English + Chinese) descriptions of increasing detail, for 400,000 training records in
total. This repository carries the archives exactly as published, plus the prompt records
as parquet for direct training use.
The dataset backs the BrickForma / BrickMore text-to-brick pipeline: a caption is turned
into a voxel occupancy grid, and the grid is assembled into real LDraw bricks.
## What is inside
| | |
|---|---|
| Models | 80,000 (AI_A 40,000 + AI_B 40,000) |
| Prompt records | 400,000 (5 per model: L1–L5, English + Chinese each) |
| Categories | 21 (`basket`, `bed`, `bench`, `birdhouse`, `bookshelf`, `bottle`, `bowl`, `bus`, `camera`, `car`, `chair`, `guitar`, `jar`, `mug`, `piano`, `pot`, `sofa`, `table`, `tower`, `train`, `vessel`) |
| Grid | 48 × 48 × 48; x left/right, y up, z front/back; occupied voxels 750–1250 per model |
| Models per category | 19 categories × 3,810; `basket` and `vessel` 3,805 each (both shards) |
| Prompt table | `prompts/all_prompts.parquet`, 400,000 rows × 35 columns |
| B-piano replacement | `data/piano_B_supported_1905/`, 1,905 models / 9,525 prompts, 217 MB — replaces the original B pianos |
| Archives | 82 original zip files, 5.68 GB (80 model packages of 1,000 models + 2 metadata); 87 archives / 5.97 GB with the piano replacement and evaluation sets |
Levels L1–L5 of one model describe the **same geometry**: L1 is a single sentence, L5 adds
part-level structure, proportions, colour regions and view requirements. The five records
therefore form a supervision ladder for the same voxel target.
## Directory layout
```
README.md
LICENSE CC BY 4.0
data/
AI_A/AI_A_models_01_1000.zip … _40_1000.zip
AI_A/metadata.zip manifest, all_prompts.jsonl/csv, 105 subsets
AI_B/B_models_01_1000.zip … _40_1000.zip
AI_B/B_metadata.zip
piano_B_supported_1905/ replacement B pianos (1,905 models) + metadata
prompts/
all_prompts.parquet 400,000 records, one stable schema
index/
model_index.jsonl 80,000 rows, one per model
merge_report.json A/B collision and geometry-hash checks
dataset_catalog.json shard sizes and counts
CURRENT_DATASET_STATUS.md integrated pass counts
AI_B_release_verification.json
independent_verification.json
piano_B_supported_1905/ summary, passed-model index, delivery audits, SHA256SUMS
evaluation/
525_matched/original_ldr.zip raw LDR of the 1,315 scored samples
525_matched/renders_8views.zip 10,520 audit renders (8 views, 512 px)
525_matched/report/ scores.csv, summary.json, by_batch_level.csv
525_matched/provenance/ prompt text, BrickNet index map, BrickGPT records
525_matched/README.md
eval630.zip separate 630-model project evaluation
checksums/SHA256_MANIFEST.json size + sha256 for every archive
scripts/download_from_hf.py resumable downloader with sha256 verification
```
Extracted from the archives, each model lives in `models/<category>/<modelId>/` and holds
eight files: `model.json`, `model.npz`, `model.obj`, `model.mtl`, `model.vox`,
`preview.png`, `validation.json`, `prompts.json`. `prompts.json` repeats the same five
records that appear in `prompts/all_prompts.parquet`.
## Prompt records
`prompts/all_prompts.parquet` has 35 columns and one row per (model, level) pair. The Hub
exposes the full caption table as the `train` split. To reproduce a specific training
run, use that run's original model-level split. The main columns are:
| column | meaning |
|---|---|
| `captionEn` / `captionZh` | default training input at that level |
| `voxelPromptEn` / `voxelPromptZh` | alternative input that appends execution rules (grid, up axis, contacting rule, voxel budget) |
| `promptLevel` / `promptType` / `tier` | 1–5, `minimal` … `detailed`, and the design tier |
| `modelId` / `recordId` / `category` / `categoryId` | join keys back to `index/model_index.jsonl` |
| `requiredParts`, `invariantFeatures`, `changedAttributes`, `factGroups` | what each level adds, as structured lists |
| `targetOccupancyHash`, `targetCanonicalGeometryHash` | geometry the record points at (identical for L1–L5) |
| `modelJsonPath`, `modelNpzPath` | paths inside the extracted archives (`models/<category>/<modelId>/…`) |
| `sharesGeometryAcrossLevels` | always `true`: the five records describe one geometry |
Use `captionEn`/`captionZh` for the standard caption-to-geometry task; the `voxelPrompt*`
columns add explicit assembly constraints and are meant for the voxel stage.
```python
from datasets import load_dataset
ds = load_dataset("VergilLLLL/BrickForma-DataSet", split="train")
print(ds[0]["captionEn"], ds[0]["promptLevel"])
```
## Downloading the models
```bash
pip install huggingface_hub
python scripts/download_from_hf.py --output brickmore80k # 5.72 GB, verified
python scripts/download_from_hf.py --output brickmore80k --shard A # AI_A only
python scripts/download_from_hf.py --output brickmore80k --extract-metadata
```
Every archive is checked against `checksums/SHA256_MANIFEST.json`; the hashes are the ones
published in the GitHub releases `ai-a-40000-20261010-v2`, `ai-b-40000-20261010-v1` and
`lego-piano-b-supported-1905-20261014-v1`.
## B-piano replacement
`data/piano_B_supported_1905/` holds the 1,905 regenerated B-shard pianos (9,525 prompts,
two-layer key beds, zero added/removed/recoloured parts). It replaces the original B pianos:
unzip its `models/` over `AI_B/models/piano/`, or follow `piano_B_supported_1905/README.md`.
With this replacement applied, the integrated geometry-pass count is **79,301 / 80,000**.
## Evaluation sets
`evaluation/525_matched/` is the matched comparison behind the paper: 105 prompts × 5 levels
= 525 samples, scored for BrickForma, BrickGPT and BrickNet. It carries the raw LDraw output
of each system, the 10,520 audit renders (eight views, 512 px, uniform yellow), and
`report/scores.csv` with P_inv, VQAScore, PE and SigLIP2 per sample, plus the prompt text and
the BrickNet index→prompt mapping. `evaluation/eval630.zip` is the separate 630-model project
evaluation. See `evaluation/README.md` inside the repo.
## Coverage and known limitations
- Geometry checks pass for **79,298 / 80,000** with the original A/B archives alone, and for
**79,301 / 80,000** once `data/piano_B_supported_1905/` replaces the B pianos. The 699
models that fail are kept, not deleted, and are identified in the reports under `index/`.
- Geometry pass is not physical stability. No full physics validation exists: assemblies
may be stable-looking but unverified for load carrying, friction or torque.
- Bilingual captions were produced by the project's own generation pipeline; they describe
intended structure and are not human-annotated ground truth. Treat caption claims
(colour regions, part counts) as supervision targets, not measurements.
- The `validation.json` files record geometry read-back per model, not a quality judgement.
- Model geometry is stored as voxels plus LDraw part transforms. LDraw part geometry itself
is **not** redistributed here; only part numbers and transforms are referenced.
- In `evaluation/525_matched`, the BrickNet sample↔prompt pairing was derived from generation
order, not from per-file metadata; treat that column with care before reusing it.
## Licence and attribution
Released under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/). Please attribute
the BrickMore / BrickForma project when you use the data, and keep the `index/` verification
files with any redistribution so the pass/fail accounting stays intact.
If you use this dataset, cite the project repository:
```bibtex
@misc{brickmore2026,
title = {BrickMore / BrickForma: text-driven voxel-to-brick generation},
author = {BrickMore project},
year = {2026},
url = {https://github.com/BuShiGeMenn/BrickMore}
}
```
|