Mike0021 commited on
Commit
4ef7ccd
·
verified ·
1 Parent(s): b5def4e

Add GLB exports of the 60 example rows (glb/<row id>.glb; source row in asset.extras)

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. README.md +13 -1
  2. glb/stage1-train-00214.glb +0 -0
  3. glb/stage1-train-00473.glb +0 -0
  4. glb/stage1-train-00658.glb +0 -0
  5. glb/stage1-train-00943.glb +0 -0
  6. glb/stage1-train-01156.glb +0 -0
  7. glb/stage1-train-01230.glb +0 -0
  8. glb/stage1-train-01290.glb +0 -0
  9. glb/stage1-train-01671.glb +0 -0
  10. glb/stage1-train-01716.glb +0 -0
  11. glb/stage1-train-01718.glb +0 -0
  12. glb/stage1-train-01809.glb +0 -0
  13. glb/stage1-train-01897.glb +0 -0
  14. glb/stage1-train-02158.glb +0 -0
  15. glb/stage1-train-02827.glb +0 -0
  16. glb/stage1-train-02876.glb +0 -0
  17. glb/stage1-train-02971.glb +0 -0
  18. glb/stage1-train-03305.glb +0 -0
  19. glb/stage1-train-03498.glb +0 -0
  20. glb/stage1-train-03784.glb +0 -0
  21. glb/stage1-train-04067.glb +0 -0
  22. glb/stage1-train-04287.glb +0 -0
  23. glb/stage1-train-04456.glb +0 -0
  24. glb/stage1-train-04482.glb +0 -0
  25. glb/stage1-train-04484.glb +0 -0
  26. glb/stage1-train-04543.glb +0 -0
  27. glb/stage1-train-05062.glb +0 -0
  28. glb/stage1-train-05069.glb +0 -0
  29. glb/stage1-train-05191.glb +0 -0
  30. glb/stage1-train-05311.glb +0 -0
  31. glb/stage1-train-05725.glb +0 -0
  32. glb/stage1-train-05918.glb +0 -0
  33. glb/stage1-train-05984.glb +0 -0
  34. glb/stage1-train-06161.glb +0 -0
  35. glb/stage1-train-06407.glb +0 -0
  36. glb/stage1-train-06467.glb +0 -0
  37. glb/stage1-train-06570.glb +0 -0
  38. glb/stage1-train-06599.glb +0 -0
  39. glb/stage1-train-07373.glb +0 -0
  40. glb/stage1-train-07386.glb +0 -0
  41. glb/stage1-train-07496.glb +0 -0
  42. glb/stage2-train-00147.glb +0 -0
  43. glb/stage2-train-00258.glb +0 -0
  44. glb/stage2-train-00358.glb +0 -0
  45. glb/stage2-train-00718.glb +0 -0
  46. glb/stage2-train-00768.glb +0 -0
  47. glb/stage2-train-01374.glb +0 -0
  48. glb/stage2-train-01487.glb +0 -0
  49. glb/stage2-train-01828.glb +0 -0
  50. glb/stage2-train-02121.glb +0 -0
README.md CHANGED
@@ -105,6 +105,18 @@ row = load_dataset("townbox/lowpoly-coder-4b-data", "stage1", split="train")[657
105
  print(row["id"], row["prompt"]) # stage1-train-06570 I need a low-poly farm ox.
106
  ```
107
 
 
 
 
 
 
 
 
 
 
 
 
 
108
  ## How it was used for training
109
  Every row was trained as one chat:
110
  - **System:** `system_prompt.md`, included in this repo and identical for every row.
@@ -129,5 +141,5 @@ ds = ds.map(lambda r: {"messages": [
129
  ## Notes
130
  - **Synthetic content:** all text is model-generated. Requests and specs describe everyday objects, creatures, buildings and fantasy props in one fixed low-poly "woodland" style and palette.
131
  - **Code safety:** the code was run in a sandbox to check it, but it is still untrusted. Run it isolated if you execute it.
132
- - **Images:** `images/` holds the renders on this card and `examples.csv`. They document the data and are not part of either config.
133
  - **Licence:** the `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`.
 
105
  print(row["id"], row["prompt"]) # stage1-train-06570 I need a low-poly farm ox.
106
  ```
107
 
108
+ ### 3D files (GLB)
109
+ [`glb/`](https://huggingface.co/datasets/townbox/lowpoly-coder-4b-data/tree/main/glb) holds one `.glb` file for each of the 60 sampled rows above. These include every row shown on this card. Each file is named after its source row: `glb/stage1-train-06570.glb` is the farm ox.
110
+ - **How they were made:** each row's `response` code was run unchanged through [`export_glb.mjs`](https://huggingface.co/townbox/lowpoly-coder-4b/blob/main/export_glb.mjs) from the model repo (Three.js r180). The result has one named node per mesh, flat shading and base colours only, with no textures.
111
+ - **Validation:** all 60 pass the Khronos glTF validator with 0 errors and 0 warnings. Their mesh and triangle counts match the renders above.
112
+ - **Source row:** each file also records its row in `asset.extras.source`: dataset, revision, config, split, id, category, prompt and the SHA-256 of the row's `response`.
113
+
114
+ ```python
115
+ from huggingface_hub import hf_hub_download
116
+
117
+ path = hf_hub_download("townbox/lowpoly-coder-4b-data", "glb/stage1-train-06570.glb", repo_type="dataset")
118
+ ```
119
+
120
  ## How it was used for training
121
  Every row was trained as one chat:
122
  - **System:** `system_prompt.md`, included in this repo and identical for every row.
 
141
  ## Notes
142
  - **Synthetic content:** all text is model-generated. Requests and specs describe everyday objects, creatures, buildings and fantasy props in one fixed low-poly "woodland" style and palette.
143
  - **Code safety:** the code was run in a sandbox to check it, but it is still untrusted. Run it isolated if you execute it.
144
+ - **Images and 3D files:** `images/` holds the renders on this card and `examples.csv`, and `glb/` holds the 3D files of the same rows. They document the data and are not part of either config.
145
  - **Licence:** the `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`.
glb/stage1-train-00214.glb ADDED
Binary file (9.78 kB). View file
 
glb/stage1-train-00473.glb ADDED
Binary file (10.2 kB). View file
 
glb/stage1-train-00658.glb ADDED
Binary file (15.2 kB). View file
 
glb/stage1-train-00943.glb ADDED
Binary file (10.1 kB). View file
 
glb/stage1-train-01156.glb ADDED
Binary file (30 kB). View file
 
glb/stage1-train-01230.glb ADDED
Binary file (16.3 kB). View file
 
glb/stage1-train-01290.glb ADDED
Binary file (52 kB). View file
 
glb/stage1-train-01671.glb ADDED
Binary file (11.5 kB). View file
 
glb/stage1-train-01716.glb ADDED
Binary file (24.1 kB). View file
 
glb/stage1-train-01718.glb ADDED
Binary file (13.6 kB). View file
 
glb/stage1-train-01809.glb ADDED
Binary file (18 kB). View file
 
glb/stage1-train-01897.glb ADDED
Binary file (11 kB). View file
 
glb/stage1-train-02158.glb ADDED
Binary file (32.1 kB). View file
 
glb/stage1-train-02827.glb ADDED
Binary file (44.3 kB). View file
 
glb/stage1-train-02876.glb ADDED
Binary file (13.1 kB). View file
 
glb/stage1-train-02971.glb ADDED
Binary file (29.4 kB). View file
 
glb/stage1-train-03305.glb ADDED
Binary file (8.41 kB). View file
 
glb/stage1-train-03498.glb ADDED
Binary file (15.2 kB). View file
 
glb/stage1-train-03784.glb ADDED
Binary file (17.8 kB). View file
 
glb/stage1-train-04067.glb ADDED
Binary file (10.2 kB). View file
 
glb/stage1-train-04287.glb ADDED
Binary file (18.6 kB). View file
 
glb/stage1-train-04456.glb ADDED
Binary file (18.5 kB). View file
 
glb/stage1-train-04482.glb ADDED
Binary file (15.3 kB). View file
 
glb/stage1-train-04484.glb ADDED
Binary file (14.5 kB). View file
 
glb/stage1-train-04543.glb ADDED
Binary file (17.5 kB). View file
 
glb/stage1-train-05062.glb ADDED
Binary file (13.6 kB). View file
 
glb/stage1-train-05069.glb ADDED
Binary file (14 kB). View file
 
glb/stage1-train-05191.glb ADDED
Binary file (20.9 kB). View file
 
glb/stage1-train-05311.glb ADDED
Binary file (19.1 kB). View file
 
glb/stage1-train-05725.glb ADDED
Binary file (32.6 kB). View file
 
glb/stage1-train-05918.glb ADDED
Binary file (26.3 kB). View file
 
glb/stage1-train-05984.glb ADDED
Binary file (23.4 kB). View file
 
glb/stage1-train-06161.glb ADDED
Binary file (25.6 kB). View file
 
glb/stage1-train-06407.glb ADDED
Binary file (22.6 kB). View file
 
glb/stage1-train-06467.glb ADDED
Binary file (15.4 kB). View file
 
glb/stage1-train-06570.glb ADDED
Binary file (25.3 kB). View file
 
glb/stage1-train-06599.glb ADDED
Binary file (30.8 kB). View file
 
glb/stage1-train-07373.glb ADDED
Binary file (11.5 kB). View file
 
glb/stage1-train-07386.glb ADDED
Binary file (13 kB). View file
 
glb/stage1-train-07496.glb ADDED
Binary file (17 kB). View file
 
glb/stage2-train-00147.glb ADDED
Binary file (13 kB). View file
 
glb/stage2-train-00258.glb ADDED
Binary file (19.5 kB). View file
 
glb/stage2-train-00358.glb ADDED
Binary file (23.6 kB). View file
 
glb/stage2-train-00718.glb ADDED
Binary file (11 kB). View file
 
glb/stage2-train-00768.glb ADDED
Binary file (20 kB). View file
 
glb/stage2-train-01374.glb ADDED
Binary file (28.8 kB). View file
 
glb/stage2-train-01487.glb ADDED
Binary file (21.5 kB). View file
 
glb/stage2-train-01828.glb ADDED
Binary file (23.3 kB). View file
 
glb/stage2-train-02121.glb ADDED
Binary file (22.2 kB). View file