24 Downloads Updated 4 days ago
ollama run Thox-ai/thoxscene-4b:q8_0
Updated 4 days ago
4 days ago
7254344b16d4 · 4.5GB
THOX’s interactive-3D scene model for ThoxMini and ThoxClip: describe a scene in chat and it answers with one complete, self-contained HTML file that renders an interactive Three.js scene — geometry, materials, lighting, animation and inline camera controls included
Held-out render evaluation: 17⁄24 scenes render-valid one-shot (70.8%) vs 20.8% upstream base · 91.7% JS syntax-valid · 4.2% truncation at the token cap
Your AI. Your Data. Your Rules.™
Status: DOCUMENTED BASELINE (2026-11-01). The shipped build is
v2-lora-r64. On the held-out render evaluation it renders 17 of 24 scenes cleanly one-shot — 3.4× the upstream base model’s rate — but it did not reach this program’s pre-registered promotion bars, and a second, full-fine-tune attempt scored worse. Both attempts’ records are printed in full below; the bars were set before any results and were never moved. Treat this model as a working baseline with a known residual failure mode (variable discipline on long generations), not as a gate-passed release.
This model is free. The hardware built to run it is on Kickstarter until Thu Nov 26, 9:00 AM CT. ThoxScene-4B is the interactive-3D scene model built for ThoxMini and ThoxClip in the THOX device family. THOX is all-or-nothing: if the goal is not reached by the deadline, nothing is charged and nothing ships. Try the virtual devices first at https://thox.ai/#demo-callout-home_lineup then back it here: Back THOX on Kickstarter Your AI. Your Data. Your Rules.™
ollama run Thox-ai/thoxscene-4b # Q4_K_M build (default)
ollama run Thox-ai/thoxscene-4b:q8_0 # Q8_0 build
Serve with thinking off — that is this model’s trained contract. In the API set "think": false; in the interactive CLI use /set think false (or ollama run --think=false). With thinking left on, the base model’s reasoning preamble displaces the direct scene output this fine-tune was trained to produce. Ask for a scene in plain words; the reply is exactly one `html fenced block containing the complete file.
Generated HTML/JavaScript is untrusted code. Run it only in a sandboxed WebView or an isolated frame with no access to privileged APIs, local files, or credentials — never in a trusted page context. ThoxOS surfaces that host ThoxScene output enforce this sandboxing.
ThoxScene-4B is THOX’s specialization of ccore/Qwen3.5-4B-3D-Coder (itself a fine-tune of Qwen/Qwen3.5-4B), retuned for on-device use: direct output with no reasoning preamble, a render-validated training corpus, and THOX showcase content. THOX fine-tuned this model; THOX did not train the base models.
| Base model | ccore/Qwen3.5-4B-3D-Coder (fine-tune of Qwen/Qwen3.5-4B) |
| Parameters | 4B |
| Architecture | Qwen3.5 (qwen3_5) |
| Format on Ollama | GGUF Q4_K_M — 2,708,804,384 B (default) · GGUF Q8_0 — 4,482,403,104 B, both from the shipped v2-lora-r64 snapshot |
| Serving contract | Thinking disabled; house system prompt (pinned Three.js r160); temperature 0.7, top-p 0.95, top-k 20, repetition penalty 1.0; up to 16K output tokens for complex scenes (raise num_ctx above the packaged 8,192 for the longest scenes) |
| Training | fp-LoRA r64 / α128 on all linear layers, vision tower frozen, merged |
| License | Apache-2.0 |
| Platform / device | Run path |
|---|---|
| Ollama | ollama run Thox-ai/thoxscene-4b |
| Hugging Face | Safetensors + GGUF at Thox-ai/ThoxScene-4B (private staging repo; weights staged there by THOX) |
| ThoxMini / ThoxClip | On-device scene generation inside ThoxOS apps |
THOX.ai research and model cards: https://huggingface.co/Thox-ai
Single-file 3D scene generation on THOX devices: product and device showcases, MeshStack and data visualisations, educational dioramas, interiors, mechanisms, voxel scenes, and rapid 3D prototyping inside ThoxOS apps. Not intended for: game-scale worlds, CAD-grade precision, or generating code for privileged execution contexts.
The ThoxScene corpus (Thox-ai/thoxscene-corpus, private): every target passed a headless-Chromium render validation before entering the corpus. Corpus v2: 1,348 rows — 364 upstream-derived (from ccore/ThreeJS-3D-Scenes, MIT; each target render-validated: 364 of 364 attempted rows passed after two harness rescue rounds), 960 THOX programmatic scenes and 24 THOX showcase scenes (the THOX generator’s 243 scenes passed validation 243⁄243). Median target 5,069 characters; sequences capped at 12,288 tokens; zero overlap with the held-out evaluation prompts.
Two bounded attempts were run, per the program’s pre-registered plan:
Attempt 1 — v2-lora-r64 (shipped) |
Attempt 2 — v2-full-ft1 |
|
|---|---|---|
| Method | fp-LoRA r64 / α128 on all linear layers, vision tower frozen | Full fine-tune, vision tower frozen |
| LR / epochs | 1e-4 cosine / 2 | 1e-5 cosine / 1 |
| Train loss | 0.1400 | 0.1670 |
| Train time | 5,015 s | 3,297 s |
Serving smoke (on the Hugging Face card’s record): the shipped Q4_K_M build was loaded in llama-server (chat template, thinking disabled) and answered a scene prompt with exactly the trained direct format — one `html block, no reasoning preamble. On small hosts cap the context (e.g. -c 8192); the model’s native 262K context will not fit small devices.
Held-out set: 24 prompts (12 upstream-validation, 6 THOX, 6 fresh), never trained on. Every output was rendered in headless Chromium by the program’s harness: render-valid = zero console/page errors and a non-blank canvas. Generation: house system prompt, temperature 0.7 / top-p 0.95 / top-k 20, 16,384-token cap; THOX builds in direct mode, the upstream baseline in its native format. Bars were pre-registered in the program review before any results.
| Metric | Bar | Upstream base | Attempt 1 v2-lora-r64 |
Attempt 2 v2-full-ft1 |
|---|---|---|---|---|
| Render-valid | ≥ 80% and ≥ baseline | 20.8% (5⁄24) | 70.8% (17⁄24) | 33.3% (8⁄24) |
| JS syntax-valid | ≥ 95% | 16.7% | 91.7% | 79.2% |
| Truncation at cap | ≤ 10% | 83.3% | 4.2% | 12.5% |
| THOX class render-valid | 6⁄6 | 2⁄6 | 5⁄6 | 2⁄6 |
| Instruction adherence (0–2 × 8) | ≥ 12⁄16 | — | 9⁄16 | 5⁄16 |
Verdict: Attempt 1 beats the baseline on every metric but misses the promotion bars; Attempt 2 is worse on every metric (full fine-tuning also drifted from the house contract — it invented non-core APIs such as THREE.RoundedBoxGeometry). Under the program’s bounded-attempt doctrine there is no third attempt: v2-lora-r64 ships as the documented baseline. Its residual failure mode is consistent: on long generations (≈9–12K tokens) it occasionally references variables it never defined, redeclares an identifier, or touches a binding before initialisation — 7 of 24 outputs failed this way, all genuine code defects (no harness artifacts). Shorter scenes (the THOX class averages ≈2K tokens) are its strength: 5 of 6 rendered, and the three demo scenes on the card’s companion pack come from this build.
The upstream base model was also truth-checked on three of its own card examples before training: 1 of 3 rendered cleanly one-shot. No vendor evaluation claims are made for any model in this family.
Apache-2.0. Lineage: Qwen/Qwen3.5-4B (Apache-2.0) → ccore/Qwen3.5-4B-3D-Coder (Apache-2.0, independent fine-tune by CCORE) → ThoxScene-4B (THOX.ai). Corpus provenance per row in the dataset card: THOX-authored rows Apache-2.0; upstream-derived rows from ccore/ThreeJS-3D-Scenes under its MIT License.
THOX.ai — Your AI. Your Data. Your Rules.™
Published by THOX.ai as Thox-ai/ThoxScene-4B on Hugging Face (private staging repo) and Thox-ai/thoxscene-4b on Ollama, 2026-11-22. GGUF builds converted with llama.cpp b12032 from the shipped v2-lora-r64 merged snapshot. Training record: 2026-11-01, Hugging Face Jobs under the Thox-ai org (a100-large).
@misc{thoxai2026thoxscene4b,
title={ThoxScene-4B},
author={THOX.ai},
year={2026},
url={https://huggingface.co/Thox-ai/ThoxScene-4B}
}