Skip to content
Other

Qwen3.5-4B-3D-Coder

компактная модель для генерации 3D-сцен на Three.js

2 min readupdated

Независимый файнтюн (дообученная версия) от разработчика ccore на базе Qwen/Qwen3.5-4B (~4.54B параметров), заточенный под программирование и создание интерактивных 3D-сцен на Three.js в виде готовых HTML/JavaScript-файлов. В отличие от базовой модели, она специально обучалась на 3D-окружениях и умеет работать не только с текстовыми запросами, но и принимать на вход картинку-референс при подключении vision-проектора. Подойдёт разработчикам, прототипировщикам и энтузиастам, которым нужна лёгкая локальная модель для быстрой сборки воксельных и стилизованных 3D-миров в браузере.

Ключевые особенности

  • Генерация самодостаточного кода: выдаёт единый HTML-файл с подключением core-модуля Three.js (three.module.min.js) и встроенным управлением камерой без сторонних аддонов.
  • Поддержка изображений (Vision): GGUF-версии Q4_K_M и Q8_0 умеют строить 3D-сцены по референс-картинке, если загрузить оригинальный BF16 vision-проектор от Qwen3.5-4B (~644 МБ).
  • Открытые материалы: вместе с весами в FP16 и GGUF автор выложил технический отчёт (PDF) и обучающий датасет CCORE Three.js 3D Scenes на 4 146 примеров под лицензией MIT.
  • Улучшенный one-shot: в обновлении чекпоинта от 27 октября заметно выросло качество сцен с первой попытки и исправлена ошибка со слоями.

Что можно сделать

  • Собирать воксельные локации по описанию: генерировать в браузере многосоставные сцены вроде заповедника для слонов, драконьего гнезда на скале, шлюзового канала или диспетчерской вышки с вращающимся радаром.
  • Переводить картинки в 3D-прототипы: загрузить референс в веб-интерфейс llama.cpp и попросить воссоздать сцену в воксельном стиле.
  • Дообучать свои модели: использовать открытый датасет с полными цепочками рассуждений (thinking traces) и готовым HTML/JS-кодом для собственных экспериментов.

Пример

llama-server \
  -m Qwen3.5-4B-3D-Coder-Q4_K_M.gguf \
  --mmproj mmproj-Qwen3.5-4B-BF16.gguf \
  --n-gpu-layers all --flash-attn on \
  --ctx-size 65536 --parallel 1
ПодробнееФорматы весов: полные FP16 (Safetensors, 4 шарда, проверены в Transformers 5.20.2) и GGUF (Q4_K_M, Q8_0).
Рекомендуемые параметры генерации для GGUF: Temperature 0.6–0.8, Top P 0.90–0.95, Top K 20–40, Repeat penalty 1.0.
Важно для LM Studio: в настройках нужно вручную отключить Multi-Token Prediction (MTP), иначе модель работает некорректно.
Ограничения: это раннее превью; иногда в коде встречаются дублирующиеся имена переменных, а сложные сцены могут требовать повторной генерации.
Примеры
Discuss 1.2K 601.1K

Will it run?

Runs in F16

Fits without quantisation.

  • F16weights 8.5 GB · ready files9.8 GB
  • FP8 / INT8recommendedweights 4.2 GB5.2 GB
  • GGUF Q8_0weights 4.2 GB · ready files5.1 GB
  • GGUF Q4_K_Mweights 2.5 GB · ready files3.3 GB
  • 4-bitweights 2.4 GB3.1 GB

Tip: go 8-bit.FP8 / INT8 is within about a percent of full precision in quality, takes half the memory and runs faster on RTX 40/50 and H100. Full precision only pays off for fine-tuning.

What to get for this model

Massed ComputeOpen Massed Compute

Your own GPU: FP8 / INT8 — from RTX 2060 · F16 — from RTX 3080

Massed Compute hourly prices, November 2026. The discounted price applies with the coupon at checkout.

Estimate: weights plus working memory. Long videos, high resolutions and long contexts need more.

Run it on Massed Compute

The script downloads the model to the rented machine. How to run it is in the model card.

  1. 1. Rent a machine with a fitting GPU

    Open Massed Compute
  2. 2. Paste the script into the machine's terminal

    Connect over SSH (the Massed Compute panel shows the command) or open a terminal on the machine's desktop.

    HF_TOKEN / CIVITAI_TOKENThe script starts with token lines: paste yours between the quotes. The Hugging Face token is for gated models, the Civitai one for Civitai models.

    # ccore/Qwen3.5-4B-3D-Coder
    mkdir -p ~/models
    curl -LsSf https://astral.sh/uv/install.sh | sh
    source "$HOME/.local/bin/env"
    uv tool install "huggingface_hub[cli]"
    hf download ccore/Qwen3.5-4B-3D-Coder --local-dir ~/models/Qwen3.5-4B-3D-Coder
    # The model is in ~/models. How to run it is in the model card (link above).
    Add more LoRAs to Qwen3.5-4B-3D-Coder
  3. 3. Use it

    The model is in ~/models. How to run it is in the model card (link above).

Stop the machine in the panel when you are done: it bills by the minute while it runs.

How to speed it up

Picked for this model type. Choose your hardware above to see what fits you exactly.

  • FlashAttention 44.0.0b40from November 18, 2026new release

    fastest exact attention on B200

    Kernels for Blackwell (beta). Exact attention without quantisation — fine for everything, LLMs included.

    How to enable: pip install flash-attn-4; vLLM and SGLang pick it up themselves.

    Earlier generations (2)
    • FlashAttention 3 — The Hopper (H100/H200) version with FP8.
    • FlashAttention 2 — The standard for RTX 30/40/50 and A100: exact attention without the memory cost of long contexts.
  • torch.compile2.15.0from October 28, 2026new release

    10–30% for free

    Compiles the model for your GPU. Slower first run, faster afterwards.

    How to enable: model = torch.compile(model); in ComfyUI the TorchCompileModel node.

Model family

  1. Qwen3.5-4B-Basefamily root
  2. Qwen3.5-4B
  3. Qwen3.5-4B-3D-Coder

New posts about versions of Qwen3.5-4B-Base (quants, finetunes, LoRAs) will show up under the bell.

Quantised versions 12All on Hugging Face
Fine-tunes 12All on Hugging Face
LoRAs and adapters 12All on Hugging Face
Merges 1All on Hugging Face

About the model

ccore/Qwen3.5-4B-3D-Coder
Author
ccore
Category
Other
Released
Posted

On NeyroLearn

Hugging Face

601.1K1.2K

Ask AI about this model

Answered by Gemini 4 · the chat is kept only in this tab

Comments