BrickForma-DataSet / README.md
VergilLLLL's picture
Reupload BrickForma captions for Dataset Viewer
05fbf8a verified
|
Raw History Blame Contribute Delete
8.6 kB
metadata
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.

from datasets import load_dataset

ds = load_dataset("VergilLLLL/BrickForma-DataSet", split="train")
print(ds[0]["captionEn"], ds[0]["promptLevel"])

Downloading the models

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. 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:

@misc{brickmore2026,
  title  = {BrickMore / BrickForma: text-driven voxel-to-brick generation},
  author = {BrickMore project},
  year   = {2026},
  url    = {https://github.com/BuShiGeMenn/BrickMore}
}