Datasets:
README.md: dataset metadata
Browse files123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148---license: cc-by-4.0language: - en - zhtask_categories: - text-to-3dtags: - lego - ldraw - brick - voxel - text-to-3d - 48-grid - bilingual - brickmore - brickformasize_categories: - 100K<n<1Mpretty_name: BrickMore-48 / BrickForma dataset---
# 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 intotal. This repository carries the archives exactly as published, plus the prompt recordsas parquet for direct training use.
The dataset backs the BrickForma / BrickMore text-to-brick pipeline: a caption is turnedinto 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`, 25.7 MB, 400,000 rows × 35 columns || Archives | 82 zip files, 5.68 GB: 80 model packages of 1,000 models each + 2 metadata archives (5.72 GB including the two checksum lists) |
Levels L1–L5 of one model describe the **same geometry**: L1 is a single sentence, L5 addspart-level structure, proportions, colour regions and view requirements. The five recordstherefore form a supervision ladder for the same voxel target.
## Directory layout
```README.mdLICENSE CC BY 4.0data/ 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.zipprompts/ all_prompts.parquet 400,000 records, one stable schemaindex/ 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.jsonchecksums/SHA256_MANIFEST.json size + sha256 for every archivescripts/download_from_hf.py resumable downloader with sha256 verification```
Extracted from the archives, each model lives in `models/<category>/<modelId>/` and holdseight files: `model.json`, `model.npz`, `model.obj`, `model.mtl`, `model.vox`,`preview.png`, `validation.json`, `prompts.json`. `prompts.json` repeats the same fiverecords that appear in `prompts/all_prompts.parquet`.
## Prompt records
`prompts/all_prompts.parquet` has one row per (model, level) pair, 31 columns. The ones thatmatter for training:
| 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.
```pythonfrom datasets import load_dataset
ds = load_dataset("VergilLLLL/BrickForma-DataSet", data_files="prompts/all_prompts.parquet", split="train")print(ds[0]["captionEn"], ds[0]["promptLevel"])```
The repository is **private**: log in with `huggingface-cli login` (or set `HF_TOKEN`)before pulling.
## Downloading the models
```bashpip install huggingface_hubpython scripts/download_from_hf.py --output brickmore80k # 5.72 GB, verifiedpython scripts/download_from_hf.py --output brickmore80k --shard A # AI_A onlypython scripts/download_from_hf.py --output brickmore80k --extract-metadata```
Every archive is checked against `checksums/SHA256_MANIFEST.json`; the hashes are the onespublished in the GitHub releases `ai-a-40000-20261010-v2` and `ai-b-40000-20261010-v1`.
## Coverage and known limitations
- Geometry checks pass for **79,301 / 80,000** models once the B-piano revision (`lego-piano-b-supported-1905-20261014-v1`) is applied; the **archives here are the original A/B releases**, so that replacement is *not* included. The 699 models that fail are kept, not deleted, and are identified in the verification 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.
## Licence and attribution
Released under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/). Please attributethe BrickMore / BrickForma project when you use the data, and keep the `index/` verificationfiles 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}}```README.mdAdded+148