Dataset Viewer
Auto-converted to Parquet Duplicate
set_num
stringlengths
5
32
mpd_file
stringlengths
9
36
mpd_content
stringlengths
433
20.5M
rebrickable_metadata
dict
8303-1
8303-1.mpd
0 FILE 8303 - Main.ldr 0 Main 0 Name: 8303 - Main.ldr 0 Author: Massimo Maso [Sirio] 0 !LDRAW_ORG Model 0 !LICENSE Redistributable under CCAL version 2.0 : see CAreadme.txt 0 !HISTORY 2019-02-21 [technicbasics] Add tyres and build .mpd to OMRize file 0 ROTATION CENTER 0 0 0 1 "Custom" 0 ROTATION CONFIG 0 0 1 0 0 0 0 ...
{ "set_num": "8303-1", "name": "Demon Destroyer", "year": "2011", "theme_id": "112", "num_parts": "51", "img_url": "https://cdn.rebrickable.com/media/sets/8303-1.jpg" }
40348-1
40348-1.mpd
0 FILE 40348 - Birthday Clown.ldr 0 Birthday Clown 0 Name: 40348 - Birthday Clown.ldr 0 Author: Vincent Messenet [Cheenzo] 0 !LDRAW_ORG Model 0 !LICENSE Redistributable under CCAL version 2.0 : see CAreadme.txt 1 322 -60 -64 20 1 0 0 0 1 0 0 0 1 3020.dat 1 322 -60 -64 -20 1 0 0 0 1 0 0 0 1 3020.dat 0 STEP 1 322 -60 -8...
{ "set_num": "40348-1", "name": "Birthday Clown", "year": "2019", "theme_id": "610", "num_parts": "150", "img_url": "https://cdn.rebrickable.com/media/sets/40348-1.jpg" }
6682-1
6682-1.mpd
0 FILE 6682 - main.ldr 0 !LEOCAD MODEL BACKGROUND GRADIENT 0 0 0.74902 1 1 1 0 main 0 Name: 6682 - main.ldr 0 Author: Robert Paciorek [bercik] 0 !LICENSE Redistributable under CCAL version 2.0 : see CAreadme.txt 0 !HELP Copyright (c) 2002-2017, Robert Paciorek (http://www.opcode.eu.org/) 0 !HELP Released under a dual l...
{ "set_num": "6682-1", "name": "Cement Mixer", "year": "1985", "theme_id": "67", "num_parts": "90", "img_url": "https://cdn.rebrickable.com/media/sets/6682-1.jpg" }
8002-1
8002-1.mpd
"0 FILE 8002 - main.ldr\n0 main\n0 Name: 8002 - main.ldr\n0 Author: Philippe Hurbain [Philo]\n0 !LDR(...TRUNCATED)
{"set_num":"8002-1","name":"Destroyer Droid","year":"2000","theme_id":"18","num_parts":"567","img_ur(...TRUNCATED)
8841-1
8841-1.mpd
"0 FILE 8841 - Desert Racer.ldr\n0 Desert Racer\n0 Name: 8841 - Desert Racer.ldr\n0 Author: Ignacio (...TRUNCATED)
{"set_num":"8841-1","name":"Desert Racer","year":"1983","theme_id":"1","num_parts":"180","img_url":"(...TRUNCATED)
854-1
854-1.mpd
"0 FILE 854 - Main.ldr\n0 Main\n0 Name: 854 - Main.ldr\n0 Author: Stefan Frenz\n0 !LDRAW_ORG Model\n(...TRUNCATED)
{"set_num":"854-1","name":"Go-Kart","year":"1978","theme_id":"4","num_parts":"212","img_url":"https:(...TRUNCATED)
7911-1
7911-1.mpd
"0 Tugboat\n0 Name: 7911 - Tugboat.ldr\n0 Author: Merlijn Wissink [legolijntje]\n0 !LDRAW_ORG Model\(...TRUNCATED)
{"set_num":"7911-1","name":"Tugboat","year":"2004","theme_id":"204","num_parts":"33","img_url":"http(...TRUNCATED)
6954-1
6954-1.mpd
"0 FILE 6954 - Renegade.ldr\n0 Renegade\n0 Name: 6954 - Renegade.ldr\n0 Author: Damien Roux [Darats](...TRUNCATED)
{"set_num":"6954-1","name":"Renegade","year":"1987","theme_id":"128","num_parts":"315","img_url":"ht(...TRUNCATED)
41498-1
41498-1.mpd
"0 FILE 41498 - Boba Fett & Han Solo In Carbonite.ldr\n0 Boba Fett & Han Solo In Carbonite\n0 Name: (...TRUNCATED)
{"set_num":"41498-1","name":"Boba Fett & Han Solo in Carbonite","year":"2017","theme_id":"610","num_(...TRUNCATED)
1211-2
1211-2.mpd
"0 FILE 1211-2 - main.ldr\n0 main\n0 Name: 1211-2 - main.ldr\n0 Author: N. W. Perry [Plastikean]\n0 (...TRUNCATED)
{"set_num":"1211-2","name":"Small House Set","year":"1955","theme_id":"372","num_parts":"19","img_ur(...TRUNCATED)
End of preview. Expand in Data Studio

Dataset Card for sets_lego_omr_full

This dataset combines official LEGO sets from LDRAW OMR with metadata from Rebrickable. Each entry contains the full MPD file as a string plus associated metadata such as set number, name, theme, year, and parts count. It is intended for building LLM fine-tuning datasets for LEGO model generation tasks.

Dataset Details

Dataset Sources

Uses

Direct Use

  • Fine-tuning LLMs to generate LEGO build instructions.
  • Research on programmatic generation of LEGO models.
  • Learning patterns between metadata (set info) and MPD structures.

Out-of-Scope Use

  • This dataset is not intended for commercial sale of LEGO sets.
  • The dataset is not a complete inventory of LEGO parts or pricing data.
  • Do not use this dataset to infer personal or sensitive information.

Dataset Structure

  • JSONL format.
  • Each entry contains:
    • mpd_file: string (the full MPD file)
    • set_number: string
    • name: string
    • theme_id: integer
    • year_released: integer
    • num_parts: integer
    • other metadata fields available from Rebrickable CSV

Dataset Creation

Curation Rationale

To provide a unified dataset of LEGO models with full build instructions (MPD files) and metadata for LLM training tasks.

Source Data

Data Collection and Processing

  1. Downloaded official LEGO sets from LDraw OMR.
  2. Downloaded set metadata from Rebrickable CSV export.
  3. Matched OMR sets with Rebrickable metadata via set number.
  4. Saved combined data as JSONL: each line contains full MPD text + metadata.

Who are the source data producers?

  • OMR models are authored by the LDRAW community.
  • Metadata is curated by Rebrickable contributors.

Annotations

N/A — no additional human annotations added.

Personal and Sensitive Information

No personal or sensitive information is included.

Bias, Risks, and Limitations

  • The dataset only covers ~1,367 official LEGO sets available in OMR.
  • MPD files may vary in quality depending on the original author.
  • Metadata is limited to what Rebrickable provides.
  • Not all LEGO sets or MOCs are included.

Recommendations

Use this dataset primarily for training or testing models for LEGO build generation. Avoid using it for commercial purposes without consulting original authors.

Citation

If you use this dataset, please cite as:

APA: Riden, D. (2026). sets_lego_omr_full: Combined LEGO OMR MPD files and Rebrickable metadata. Hugging Face Dataset.

BibTeX:

@misc{riden2026sets_lego_omr_full,
title={sets_lego_omr_full: Combined LEGO OMR MPD files and Rebrickable metadata},
author={Dylan Riden},
year={2026},
howpublished={\url{https://huggingface.co/datasets/your-username/sets_lego_omr_full}}
}

Glossary

  • MPD: Multi-Part Document — LDraw file describing a LEGO model.
  • OMR: Official Models Repository.

Dataset Card Authors

Dylan Riden

Dataset Card Contact

Downloads last month
15