townbox/lowpoly-coder-4b
Image-Text-to-Text • 5B • Updated
id stringlengths 18 18 | category stringclasses 10
values | prompt stringlengths 21 68 | response stringlengths 1.18k 11.4k |
|---|---|---|---|
stage1-train-00000 | plant or nature | I need a low-poly acorn. | Asset: Little acorn
Triangle budget: 250
Brief: Chunky acorn standing on its rounded tip: egg-shaped nut body in oak, darkWood scaled cap cupping the top, short stubby stem rising from the cap centre, tip point down at ground level. Front faces +Z.
Required named parts: nut, cap, stem
```javascript
function buildAsset... |
stage1-train-00001 | vehicle | I need a low-poly toy airplane. | Asset: Little bush plane
Triangle budget: 800
Brief: Chunky toy plane resting level on its wheels, nose pointing +Z: rounded barrel fuselage with ivory cockpit window, one low straight wing spanning both sides, upright tail fin plus small horizontal stabiliser, a brass propeller disc at the nose, two small wheels under... |
stage1-train-00002 | vehicle | I need a low-poly toy airplane. | Asset: Little bush plane
Triangle budget: 800
Brief: Chunky toy plane resting level on its wheels, nose pointing +Z: rounded barrel fuselage with ivory cockpit window, one low straight wing spanning both sides, upright tail fin plus small horizontal stabiliser, a brass propeller disc at the nose, two small wheels under... |
stage1-train-00003 | plant or nature | Build a low-poly aloe plant. | Asset: Potted aloe
Triangle budget: 400
Brief: Aloe in a shallow terracotta pot: a rosette of thick tapered leaves, a few tall inner leaves pointing up and several shorter outer leaves splayed outward at low angles. Sage-green leaves with pale tips, rust pot.
Required named parts: pot, leaf_inner_1, leaf_inner_2, leaf_... |
stage1-train-00004 | plant or nature | Build a low-poly aloe plant. | Asset: Potted aloe
Triangle budget: 400
Brief: Aloe in a shallow terracotta pot: a rosette of thick tapered leaves, a few tall inner leaves pointing up and several shorter outer leaves splayed outward at low angles. Sage-green leaves with pale tips, rust pot.
Required named parts: pot, leaf_inner_1, leaf_inner_2, leaf_... |
stage1-train-00005 | animal | I need a low-poly alpaca. | Asset: Fluffy alpaca
Triangle budget: 750
Brief: Standing alpaca facing +Z: a chunky rounded fleece body, a long upright neck set at the front, small head with two short perky ears, four slim straight legs, and a small upturned tail. Ivory fleece with darker oak legs and muzzle.
Required named parts: body, neck, head, ... |
stage1-train-00006 | animal | I need a low-poly alpaca. | Asset: Fluffy alpaca
Triangle budget: 750
Brief: Standing alpaca facing +Z: a chunky rounded fleece body, a long upright neck set at the front, small head with two short perky ears, four slim straight legs, and a small upturned tail. Ivory fleece with darker oak legs and muzzle.
Required named parts: body, neck, head, ... |
stage1-train-00007 | vehicle | Build a low-poly ambulance. | Asset: Boxy ambulance
Triangle budget: 700
Brief: Van-style ambulance facing +Z: tall boxy ivory body with a short sloped hood at the front, navy windshield and side windows, a rust horizontal stripe along the lower flanks, black wheels in four square arches, iron bumpers, and a small rust light bar on the roof. No tex... |
stage1-train-00008 | vehicle | Build a low-poly ambulance. | Asset: Boxy ambulance
Triangle budget: 700
Brief: Van-style ambulance facing +Z: tall boxy ivory body with a short sloped hood at the front, navy windshield and side windows, a rust horizontal stripe along the lower flanks, black wheels in four square arches, iron bumpers, and a small rust light bar on the roof. No tex... |
stage1-train-00009 | tool or gear | I need a low-poly anchor. | Asset: Rusted ship anchor
Triangle budget: 400
Brief: Classic Admiralty anchor standing upright: vertical shank in dark iron, ring eye at the top, horizontal wooden stock crossing near the top, two curved arms sweeping down and out to pointed flukes at the base. Front faces +Z.
Required named parts: ring, shank, stock,... |
stage1-train-00010 | tool or gear | I need a low-poly anchor. | Asset: Rusted ship anchor
Triangle budget: 400
Brief: Classic Admiralty anchor standing upright: vertical shank in dark iron, ring eye at the top, horizontal wooden stock crossing near the top, two curved arms sweeping down and out to pointed flukes at the base. Front faces +Z.
Required named parts: ring, shank, stock,... |
stage1-train-00011 | bird, sea creature or bug | I need a low-poly ant. | Asset: Woodland ant
Triangle budget: 750
Brief: Ant in side-profile stance facing +Z: small rounded head at the front with two swept antennae, compact thorax in the middle, larger teardrop abdomen at the rear raised slightly. Six thin bent legs splay outward from the thorax, tips touching the ground. Black body, darkWo... |
stage1-train-00012 | architecture | Build a low-poly apartment building. | Asset: Small apartment block
Triangle budget: 700
Brief: Compact three-storey block, boxy with a shallow flat cornice roof: ivory walls, navy lower band at street level, a central oak door with a small step, and six windows in two rows of three with dark frames and brass sills. Front faces +Z, flat ground at y=0.
Requi... |
stage1-train-00013 | architecture | Build a low-poly apartment building. | Asset: Small apartment block
Triangle budget: 700
Brief: Compact three-storey block, boxy with a shallow flat cornice roof: ivory walls, navy lower band at street level, a central oak door with a small step, and six windows in two rows of three with dark frames and brass sills. Front faces +Z, flat ground at y=0.
Requi... |
stage1-train-00014 | plant or nature | Build a low-poly apple tree. | Asset: Fruiting apple tree
Triangle budget: 650
Brief: Stout oak trunk with two short forked limbs, capped by a chunky faceted sage canopy of two stacked blobs; a few rust apples sit on the canopy surface and one on the ground at the trunk foot. Front faces +Z.
Required named parts: trunk, limb_left, limb_right, canopy... |
stage1-train-00015 | plant or nature | Build a low-poly apple tree. | Asset: Fruiting apple tree
Triangle budget: 650
Brief: Stout oak trunk with two short forked limbs, capped by a chunky faceted sage canopy of two stacked blobs; a few rust apples sit on the canopy surface and one on the ground at the trunk foot. Front faces +Z.
Required named parts: trunk, limb_left, limb_right, canopy... |
stage1-train-00016 | furniture | Build a low-poly aquarium. | Asset: Tabletop aquarium
Triangle budget: 700
Brief: Small rectangular glass tank, taller than deep, sitting flat on the ground; simple iron corner frame with a brass top rim, clear ivory-tinted panes, a navy water block filling most of the interior with a flat surface below the rim, a sage-green gravel bed under it, a... |
stage1-train-00017 | furniture | Build a low-poly aquarium. | Asset: Tabletop aquarium
Triangle budget: 700
Brief: Small rectangular glass tank, taller than deep, sitting flat on the ground; simple iron corner frame with a brass top rim, clear ivory-tinted panes, a navy water block filling most of the interior with a flat surface below the rim, a sage-green gravel bed under it, a... |
stage1-train-00018 | prop | I need a low-poly arcade cabinet. | Asset: Arcade cabinet
Triangle budget: 500
Brief: Upright arcade cabinet standing on the ground, front facing +Z: tall body with angled back, inset screen high on the front, horizontal control panel with joystick and buttons, coin door low on the front. Navy body, black screen, brass and rust accents.
Required named pa... |
stage1-train-00019 | prop | I need a low-poly arcade cabinet. | Asset: Arcade cabinet
Triangle budget: 500
Brief: Upright arcade cabinet standing on the ground, front facing +Z: tall body with angled back, inset screen high on the front, horizontal control panel with joystick and buttons, coin door low on the front. Navy body, black screen, brass and rust accents.
Required named pa... |
stage1-train-00020 | prop | Build a low-poly archery target. | Asset: Straw archery target
Triangle budget: 500
Brief: Round straw boss standing on a three-legged wooden tripod, face tilted slightly back and facing +Z. Flat concentric rings: ivory straw outer, rust mid ring, navy inner ring, small brass bullseye in the centre; oak stand legs.
Required named parts: boss, ring_outer... |
stage1-train-00021 | prop | Build a low-poly archery target. | Asset: Straw archery target
Triangle budget: 500
Brief: Round straw boss standing on a three-legged wooden tripod, face tilted slightly back and facing +Z. Flat concentric rings: ivory straw outer, rust mid ring, navy inner ring, small brass bullseye in the centre; oak stand legs.
Required named parts: boss, ring_outer... |
stage1-train-00022 | fantasy or game | Build a low-poly armor stand. | Asset: Armor stand
Triangle budget: 550
Brief: Wooden display stand facing +Z: round base, upright darkWood post, T crossbar at shoulder height, an iron cuirass hung on the post, two brass-trimmed pauldrons on the crossbar ends, and a small iron helmet crowning the post.
Required named parts: base, post, crossbar, cuir... |
stage1-train-00023 | fantasy or game | Build a low-poly armor stand. | Asset: Armor stand
Triangle budget: 550
Brief: Wooden display stand facing +Z: round base, upright darkWood post, T crossbar at shoulder height, an iron cuirass hung on the post, two brass-trimmed pauldrons on the crossbar ends, and a small iron helmet crowning the post.
Required named parts: base, post, crossbar, cuir... |
stage1-train-00024 | furniture | I need a low-poly baby cradle. | Asset: Wooden baby cradle
Triangle budget: 550
Brief: Rocking cradle facing +Z: two curved oak rockers on the ground, a boat-shaped basket between them, tall slatted headboard at the back and lower footboard at the front, ivory bedding visible inside the basket. Rockers, basket and boards all meet; no plinth.
Required ... |
stage1-train-00025 | furniture | I need a low-poly baby cradle. | Asset: Wooden baby cradle
Triangle budget: 550
Brief: Rocking cradle facing +Z: two curved oak rockers on the ground, a boat-shaped basket between them, tall slatted headboard at the back and lower footboard at the front, ivory bedding visible inside the basket. Rockers, basket and boards all meet; no plinth.
Required ... |
stage1-train-00026 | prop | I need a low-poly baby stroller. | Asset: Vintage baby stroller
Triangle budget: 800
Brief: Classic pram facing +Z: deep rounded bassinet on a slim iron frame, curved hood canopy over the back half, push handle arcing back (-Z), four wheels at ground level — small front pair, large rear pair. Navy body, ivory canopy lining, iron frame, black tyres.
Requ... |
stage1-train-00027 | prop | I need a low-poly baby stroller. | Asset: Vintage baby stroller
Triangle budget: 800
Brief: Classic pram facing +Z: deep rounded bassinet on a slim iron frame, curved hood canopy over the back half, push handle arcing back (-Z), four wheels at ground level — small front pair, large rear pair. Navy body, ivory canopy lining, iron frame, black tyres.
Requ... |
stage1-train-00028 | animal | Build a low-poly badger. | Asset: Low-slung badger
Triangle budget: 650
Brief: Badger standing low and stumpy, body long and wedge-shaped tapering to a small head with a pointed snout, short sturdy legs, stubby tail at the back; black coat with two ivory stripes running over the head, ivory underside. Faces +Z.
Required named parts: body, head, ... |
stage1-train-00029 | animal | Build a low-poly badger. | Asset: Low-slung badger
Triangle budget: 650
Brief: Badger standing low and stumpy, body long and wedge-shaped tapering to a small head with a pointed snout, short sturdy legs, stubby tail at the back; black coat with two ivory stripes running over the head, ivory underside. Faces +Z.
Required named parts: body, head, ... |
stage1-train-00030 | plant or nature | I need a low-poly bamboo cluster. | Asset: Bamboo cluster
Triangle budget: 500
Brief: Three bamboo culms of differing heights and slight leans, each a segmented cylinder with visible node rings, rising from one shared clump at ground level; olive-sage stalks with ivory-sage narrow leaf sprays at the tops angled outward. Slight forward lean toward +Z, no ... |
stage1-train-00031 | plant or nature | I need a low-poly bamboo cluster. | Asset: Bamboo cluster
Triangle budget: 500
Brief: Three bamboo culms of differing heights and slight leans, each a segmented cylinder with visible node rings, rising from one shared clump at ground level; olive-sage stalks with ivory-sage narrow leaf sprays at the tops angled outward. Slight forward lean toward +Z, no ... |
stage1-train-00032 | plant or nature | Build a low-poly baobab tree. | Asset: Baobab tree
Triangle budget: 500
Brief: Baobab: huge bottle-shaped trunk, widest low and tapering sharply upward, with a few thick stubby branches splitting at the crown and small sparse clumps of sage foliage. Oak trunk, darkWood bark shading, sage leaves.
Required named parts: trunk, branch_1, branch_2, branch... |
This is the complete training data of townbox/lowpoly-coder-4b, and nothing else. Each row pairs a one-sentence request for a 3D object ("Build a low-poly accent cabinet.") with the answer the model was trained to give: a short spec, then JavaScript that builds the object as a low-poly Three.js (r180) asset.
| Config | What it is | train | validation |
|---|---|---|---|
stage1 (default) |
Answers written by DeepSeek V4.1 Flash, kept only when the code ran and passed technical checks | 7,599 | 412 |
stage2 |
Answers written by the stage-1 model itself, kept only when they passed all technical checks and a vision model judged the render recognisable | 4,245 | 199 |
Qwen/Qwen3.5-4B on stage1, then on stage2.validation rows were held out to monitor loss and were never trained on. The split is by object: an object's rows are either all in train or all in validation.| Column | Meaning |
|---|---|
id |
Row id, e.g. stage2-train-00000 |
category |
One of the 10 categories |
prompt |
The user request |
response |
The exact assistant answer used as the training target |
Each response has the same shape:
Asset: Accent cabinet
Triangle budget: 500
Brief: Narrow tall sideboard standing on four short tapered legs, front facing +Z: ...
Required named parts: carcass, top, door_left, door_right, knob_left, knob_right, leg_1, ...
```javascript
function buildAsset(THREE) { ... return group; }
```
Every row was trained as one chat:
system_prompt.md, included in this repo and identical for every row.prompt.response.The chat template was applied with enable_thinking=False, and loss was computed on the assistant answer only.
from datasets import load_dataset
from huggingface_hub import hf_hub_download
system = open(hf_hub_download("townbox/lowpoly-coder-4b-data", "system_prompt.md", repo_type="dataset")).read()
ds = load_dataset("townbox/lowpoly-coder-4b-data", "stage1", split="train")
ds = ds.map(lambda r: {"messages": [
{"role": "system", "content": system},
{"role": "user", "content": r["prompt"]},
{"role": "assistant", "content": r["response"]},
]})
stage1 answers are outputs of deepseek/deepseek-v4.1-flash-1017, and stage2 answers come from a model trained on them. Use is subject to that model's licence and terms, and to the terms of the services it was accessed through. No separate licence has been chosen for this compilation; see LICENSE.md.