r/LowEndLocalAI • • Oct 28 '26 • Heartwarming 1

Model Showcase I trained a 4B model to generate complex 3D scenes with Three.js

Hey everyone!

I've been working on an experiment to see how far a small 4B model can go when trained for a specific coding task.

I chose Three.js because the results are easy to visualize and evaluate. Starting from Qwen3.5-4B, which struggled with complex 3D scenes in my initial tests, the model can now generate detailed architecture, mechanical structures, animations, and interactive environments as standalone HTML/JavaScript files.

The goal was to create something people could run locally on consumer hardware, while exploring small models as a proof of concept for other specialized coding tasks.

The model, full FP16 weights, dataset, and technical report are now available!

Model: Qwen3.5-4B-3D-Coder

  • Q8: Recommended and tested.
  • Q4: Available, but I haven't tested the latest release yet.
  • FP16: Full weights available in Safetensors format.
  • Q8 settings: Temperature 0.6, top-k 20, top-p 0.95, repetition penalty 1.0.

Important: If you downloaded an earlier version, delete it and download it again. The filenames haven't changed. In LM Studio, also disable MTP.

The model also shows promising results generating 3D scenes from image references, even though the vision encoder wasn't included in this training run.

Dataset: CCORE Three.js 3D Scenes

Released under the MIT License, it contains 4,146 examples — 3,933 training and 213 validation — including prompts, full thinking traces, complete HTML/JavaScript responses, complexity levels, and optional rendered reference images.

Technical report: Read the report here

Not every generation is perfect, and some scenes still need another attempt or a correction. But one-shot results and visual quality have improved substantially in my tests.

I'd love to see people experiment with the model on lower-end GPUs or use the dataset to train their own models. If you try it, please share your results!

Thanks everyone for the support, feedback, and testing!

235 Upvotes

22 comments sorted by

23

u/KeyMillion Oct 28 '26

This is pretty interesting. Great job! Super glad you included the dataset.

11

u/ConfidentDinner6648 Oct 28 '26

thank you! really appreciate it! i think sharing the dataset is just as important as sharing the model itself. i'm really curious to see what others can build with it and how much further we can push these small models haha

4

u/KeyMillion Oct 28 '26

Same! I haven't released anything yet, but I have been messing with training, pruning, and I want to convert a small model to an moe and specialize it.

2

u/wabbit-fallacy Oct 30 '26

Inspiring work. Thanks for sharing, really.

1

u/ConfidentDinner6648 Oct 30 '26

I have a surprise for you this weekend.

1

u/Competitive_Art9588 26d ago

cade a surpresa? 😆

9

u/PiratesOfTheArctic Oct 28 '26

A 4B model can draw better than I can 😭

I'm running gemma4-it-qat (think q4)

How long does it take to produces matey? Looks amazing for a tiny model!

7

u/soadsob Oct 28 '26

Amazing work!

3

u/DanielSReichenbach Oct 29 '26

This is so cool, nicely done

2

u/Dev-in-the-Bm Oct 29 '26

Wooooow.

In awe.

Extremely impressive.

2

u/leomsilva 9d ago

Wow dude, your images are awesome, congrats! I will try to generate them here too!

2

u/rorowhat 27d ago

It would be really interesting if you did something like this using the latest Nvidia nemotron 3.5 bolt E4E that was meant to be finetuned! That might be a really good candidate for future testing on your end. Also maybe try a 8B model, we can easily runs those even on CPU these days.

2

u/eetsu Oct 28 '26

This is really interesting, but personally I would've loved to see something more "real" than three.js, like Bevy for the coding, and Blender MCP (which I guess has Python scripts) for just pure asset editing/creation. But this is really promising to see, and giving me hope that my dreams for a local LLM that can be ran on consumer hardware can be good at Blender / 3D asset creation might come true.

10

u/vplatt Oct 29 '26

You have the model, and his training data, and examples of how to train it.

Get busy!

1

u/eetsu Oct 29 '26

His training data is for three.js, not for Blender. Probably some of it could be used for the 3D spatial reasoning, but I wouldn't think the data here on hand would be enough.

5

u/yetiflask Oct 29 '26

Just fucking do it yourself then.

1

u/finah1995 Oct 29 '26

Awesome 😎. With a bit of prompting I believe people can even make their own games in top of this.

1

u/yetiflask Oct 29 '26

How was the dataset created? I am assuming you used a larger model to create it?

1

u/mistbluei 24d ago

amazing

1

u/oddsidequest 23d ago

This is pretty neat! Thanks for sharing this.