Instructions to use ccore/Qwen3.5-4B-GLB-3D-Coder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use ccore/Qwen3.5-4B-GLB-3D-Coder with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf ccore/Qwen3.5-4B-GLB-3D-Coder:Q4_K_M # Run inference directly in the terminal: llama cli -hf ccore/Qwen3.5-4B-GLB-3D-Coder:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf ccore/Qwen3.5-4B-GLB-3D-Coder:Q4_K_M # Run inference directly in the terminal: llama cli -hf ccore/Qwen3.5-4B-GLB-3D-Coder:Q4_K_M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf ccore/Qwen3.5-4B-GLB-3D-Coder:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf ccore/Qwen3.5-4B-GLB-3D-Coder:Q4_K_M
Use Docker
docker model run hf.co/ccore/Qwen3.5-4B-GLB-3D-Coder:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use ccore/Qwen3.5-4B-GLB-3D-Coder with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ccore/Qwen3.5-4B-GLB-3D-Coder" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ccore/Qwen3.5-4B-GLB-3D-Coder", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/ccore/Qwen3.5-4B-GLB-3D-Coder:Q4_K_M
- Ollama
How to use ccore/Qwen3.5-4B-GLB-3D-Coder with Ollama:
ollama run hf.co/ccore/Qwen3.5-4B-GLB-3D-Coder:Q4_K_M
- Unsloth Desktop
- Pi
How to use ccore/Qwen3.5-4B-GLB-3D-Coder with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf ccore/Qwen3.5-4B-GLB-3D-Coder:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "ccore/Qwen3.5-4B-GLB-3D-Coder:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use ccore/Qwen3.5-4B-GLB-3D-Coder with Docker Model Runner:
docker model run hf.co/ccore/Qwen3.5-4B-GLB-3D-Coder:Q4_K_M
- Lemonade
How to use ccore/Qwen3.5-4B-GLB-3D-Coder with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull ccore/Qwen3.5-4B-GLB-3D-Coder:Q4_K_M
Run and chat with the model
lemonade run user.Qwen3.5-4B-GLB-3D-Coder-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use ccore/Qwen3.5-4B-GLB-3D-Coder with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf ccore/Qwen3.5-4B-GLB-3D-Coder:Q4_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default ccore/Qwen3.5-4B-GLB-3D-Coder:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use ccore/Qwen3.5-4B-GLB-3D-Coder with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf ccore/Qwen3.5-4B-GLB-3D-Coder:Q4_K_M
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "ccore/Qwen3.5-4B-GLB-3D-Coder:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Streamline model card and consolidate training updates and future plans
Browse files
README.md
CHANGED
|
@@ -18,53 +18,88 @@ tags:
|
|
| 18 |
|
| 19 |
# Qwen3.5-4B-GLB-3D-Coder
|
| 20 |
|
| 21 |
-
|
| 22 |
|
| 23 |
-
|
| 24 |
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
**Dataset release update:** The training dataset will be released tomorrow, **November 3**. Training is still in progress: I’ve extended the run to aim for a stronger checkpoint than the current preview.
|
| 28 |
|
| 29 |
-
|
| 30 |
|
| 31 |
-
|
| 32 |
|
| 33 |
-
|
| 34 |
|
| 35 |
-
|
| 36 |
|
| 37 |
[](https://kishida.github.io/webdemos/rpg-3d-glb/)
|
| 38 |
|
| 39 |
[**Play the 3D RPG demo**](https://kishida.github.io/webdemos/rpg-3d-glb/)
|
| 40 |
|
| 41 |
-
|
| 42 |
|
| 43 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 44 |
|
| 45 |
-
|
| 46 |
|
| 47 |
-
|
| 48 |
|
| 49 |
-
|
|
|
|
|
|
|
| 50 |
|
| 51 |
-
|
| 52 |
|
| 53 |
-
|
| 54 |
|
| 55 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 56 |
|
| 57 |
-
|
| 58 |
|
| 59 |
-
|
| 60 |
|
| 61 |
-
|
|
|
|
|
|
|
| 62 |
|
| 63 |
## Training domains and prompt ideas
|
| 64 |
|
| 65 |
-
The
|
| 66 |
|
| 67 |
-
| Domain
|
| 68 |
|:---|:---|
|
| 69 |
| Characters and NPCs | `Create a village blacksmith wearing a blue apron.` |
|
| 70 |
| Enemies | `Create a swamp goblin scout with a wooden shield.` |
|
|
@@ -92,88 +127,21 @@ The training dataset for this GLB model spans **25 game-asset domains**. The exa
|
|
| 92 |
| Underwater structures | `Create a coral observation dome with a small docking platform.` |
|
| 93 |
| Puzzles and gameplay markers | `Create a glowing rune sequence console with three stone buttons.` |
|
| 94 |
|
| 95 |
-
You can vary the style, setting, materials, colors, and details.
|
| 96 |
|
| 97 |
-
##
|
| 98 |
-
|
| 99 |
-
Describe the scene or asset you want. The model generates HTML/JavaScript that builds it in Three.js, with a GLB export option. Open the generated scene, export the asset, and import the `.glb` file into your editor.
|
| 100 |
-
|
| 101 |
-
The screenshots below show generated assets in the browser and exported assets imported into **Godot**.
|
| 102 |
-
|
| 103 |
-
[](images/godot-imported-assets-01.png)
|
| 104 |
-
|
| 105 |
-
## Example results — updated checkpoint
|
| 106 |
|
| 107 |
-
|
| 108 |
|
| 109 |
-
The
|
| 110 |
|
| 111 |
-
|
| 112 |
-
|:---:|:---:|
|
| 113 |
-
| [](images/jungle-siege-platform.png) | [](images/snow-siege-platform.png) |
|
| 114 |
-
| **Prompt:** `Build a jungle siege platform` | **Prompt:** `Build a weathered snow siege platform` |
|
| 115 |
-
| **Blue goblin brute** | **Red orc leader** |
|
| 116 |
-
| [](images/blue-goblin-brute.png) | [](images/red-orc-leader.png) |
|
| 117 |
-
| **Prompt:** `Create a blue goblin brute` | **Prompt:** `Create a red orc Leader` |
|
| 118 |
-
| **Reinforced mountain command post — result 1** | **Reinforced mountain command post — result 2** |
|
| 119 |
-
| [](images/mountain-command-post-01.png) | [](images/mountain-command-post-02.png) |
|
| 120 |
-
| **Prompt:** `Make a reinforced montain command post` | **Same prompt:** `Make a reinforced montain command post` |
|
| 121 |
-
|
| 122 |
-
### Exported assets in Godot
|
| 123 |
-
|
| 124 |
-
The images named **Godot** show how the exported GLB assets look after import into the Godot editor.
|
| 125 |
-
|
| 126 |
-
[](images/godot-imported-assets-02.png)
|
| 127 |
-
|
| 128 |
-
Click any image to view it at full size.
|
| 129 |
-
|
| 130 |
-
## Available GGUF files
|
| 131 |
-
|
| 132 |
-
| Quantization | File |
|
| 133 |
-
|:---|:---|
|
| 134 |
-
| Q8_0 | [Qwen3.5-4B-GLB-3D-Coder-Q8_0.gguf](Qwen3.5-4B-GLB-3D-Coder-Q8_0.gguf) |
|
| 135 |
-
| Q4_K_M | [Qwen3.5-4B-GLB-3D-Coder-Q4_K_M.gguf](Qwen3.5-4B-GLB-3D-Coder-Q4_K_M.gguf) |
|
| 136 |
-
|
| 137 |
-
The full Safetensors weights and training dataset will follow when training is complete.
|
| 138 |
-
|
| 139 |
-
## Optional vision support
|
| 140 |
-
|
| 141 |
-
For **image-reference inputs** in a runtime that supports Qwen3.5 multimodal GGUF, download the optional vision encoder/projector and load it alongside the model:
|
| 142 |
-
|
| 143 |
-
[**Download mmproj-Qwen3.5-4B-BF16.gguf**](https://huggingface.co/ccore/Qwen3.5-4B-GLB-3D-Coder/resolve/main/mmproj-Qwen3.5-4B-BF16.gguf?download=true) — approximately **644 MiB**.
|
| 144 |
-
|
| 145 |
-
**The same projector is used with either Q4_K_M or Q8_0.** It is an optional companion file for image inputs; it is not needed for text-only prompts.
|
| 146 |
-
|
| 147 |
-
This is the **original, unmodified Qwen3.5-4B BF16 vision encoder/projector**, also provided with [CCORE's previous 3D Coder model](https://huggingface.co/ccore/Qwen3.5-4B-3D-Coder/blob/main/mmproj-Qwen3.5-4B-BF16.gguf). It comes from [lmstudio-community/Qwen3.5-4B-GGUF](https://huggingface.co/lmstudio-community/Qwen3.5-4B-GGUF/tree/f9f88ac3e234be915e23811a6d28ea287bdb927e), based on [Qwen/Qwen3.5-4B](https://huggingface.co/Qwen/Qwen3.5-4B), under Apache 2.0.
|
| 148 |
-
|
| 149 |
-
## Generation settings
|
| 150 |
-
|
| 151 |
-
These are the settings I am currently using:
|
| 152 |
-
|
| 153 |
-
| Parameter | Value |
|
| 154 |
-
|:---|:---|
|
| 155 |
-
| Temperature | **0.8** |
|
| 156 |
-
| Top K | **40** |
|
| 157 |
-
| Top P | **0.95** |
|
| 158 |
-
| Min P | **0.0** |
|
| 159 |
-
|
| 160 |
-
This is a preview, and these settings are a starting point. Feel free to test other combinations and share your results.
|
| 161 |
-
|
| 162 |
-
## System prompt
|
| 163 |
-
|
| 164 |
-
Use the following as the system message, then send your asset request as the user message.
|
| 165 |
-
|
| 166 |
-
```text
|
| 167 |
-
Create game assets for the Godot editor, which uses GLB files. Create whatever the user requests as a good-quality low-poly asset using only Three.js in one complete standalone HTML file. The HTML must show the asset and include an Export GLB button that downloads a working GLB. If the requested asset needs animation, add it and include the animation in the exported GLB; otherwise make it static.
|
| 168 |
-
```
|
| 169 |
|
| 170 |
-
|
| 171 |
|
| 172 |
-
-
|
| 173 |
-
- English prompts currently work better in my tests.
|
| 174 |
-
- This is an early checkpoint, and behavior may change as training progresses.
|
| 175 |
|
| 176 |
-
|
| 177 |
|
| 178 |
## ❤️ Support Future Open-Source AI Models
|
| 179 |
|
|
|
|
| 18 |
|
| 19 |
# Qwen3.5-4B-GLB-3D-Coder
|
| 20 |
|
| 21 |
+
A **4B coding model** that generates standalone **Three.js HTML/JavaScript scenes with GLB export**, for use in editors such as **Godot**.
|
| 22 |
|
| 23 |
+
An independent **CCORE preview** based on [Qwen/Qwen3.5-4B](https://huggingface.co/Qwen/Qwen3.5-4B). This is not an official Qwen release.
|
| 24 |
|
| 25 |
+
## Latest checkpoint update
|
|
|
|
|
|
|
| 26 |
|
| 27 |
+
**Latest GGUF update: November 2, 2026 at 04:50 UTC.** Both Q4_K_M and Q8_0 were replaced with a newer checkpoint, with substantially better visual quality in my tests. Sampling settings and the system prompt are unchanged.
|
| 28 |
|
| 29 |
+
**If you downloaded a GGUF before that timestamp, delete the old copy and download it again in LM Studio or your app. The filenames have not changed.**
|
| 30 |
|
| 31 |
+
## Community showcase: A 3D RPG built with GLB-3D-Coder!
|
| 32 |
|
| 33 |
+
**Naoki Kishida (@kis)** built a playable 3D RPG demo using assets generated with this model. It’s great to see these assets being used in a game—thanks for sharing it with the community!
|
| 34 |
|
| 35 |
[](https://kishida.github.io/webdemos/rpg-3d-glb/)
|
| 36 |
|
| 37 |
[**Play the 3D RPG demo**](https://kishida.github.io/webdemos/rpg-3d-glb/)
|
| 38 |
|
| 39 |
+
## Available GGUF files
|
| 40 |
|
| 41 |
+
| Quantization | File |
|
| 42 |
+
|:---|:---|
|
| 43 |
+
| Q8_0 | [Qwen3.5-4B-GLB-3D-Coder-Q8_0.gguf](Qwen3.5-4B-GLB-3D-Coder-Q8_0.gguf) |
|
| 44 |
+
| Q4_K_M | [Qwen3.5-4B-GLB-3D-Coder-Q4_K_M.gguf](Qwen3.5-4B-GLB-3D-Coder-Q4_K_M.gguf) |
|
| 45 |
+
|
| 46 |
+
## Optional vision support
|
| 47 |
+
|
| 48 |
+
For image-reference inputs in a runtime that supports Qwen3.5 multimodal GGUF, load the [**BF16 vision projector**](https://huggingface.co/ccore/Qwen3.5-4B-GLB-3D-Coder/resolve/main/mmproj-Qwen3.5-4B-BF16.gguf?download=true) (**644 MiB**) alongside either Q4_K_M or Q8_0. It is optional for text-only use.
|
| 49 |
+
|
| 50 |
+
This is the **original, unmodified Qwen3.5-4B vision encoder/projector** from [lmstudio-community/Qwen3.5-4B-GGUF](https://huggingface.co/lmstudio-community/Qwen3.5-4B-GGUF/tree/f9f88ac3e234be915e23811a6d28ea287bdb927e), under Apache 2.0, also provided with [CCORE’s previous 3D Coder model](https://huggingface.co/ccore/Qwen3.5-4B-3D-Coder/blob/main/mmproj-Qwen3.5-4B-BF16.gguf).
|
| 51 |
+
|
| 52 |
+
## How to use
|
| 53 |
+
|
| 54 |
+
Use the system message below, then send a short English asset request. Save the generated HTML, open it in a browser, and click **Export GLB** to download the asset for your editor. Request an animation explicitly when needed.
|
| 55 |
+
|
| 56 |
+
In my tests, **most generations work on the first attempt**, especially in English. Some still need a retry or a small code correction.
|
| 57 |
+
|
| 58 |
+
### Generation settings
|
| 59 |
+
|
| 60 |
+
| Parameter | Value |
|
| 61 |
+
|:---|:---|
|
| 62 |
+
| Temperature | **0.8** |
|
| 63 |
+
| Top K | **40** |
|
| 64 |
+
| Top P | **0.95** |
|
| 65 |
+
| Min P | **0.0** |
|
| 66 |
|
| 67 |
+
These are my current settings; feel free to experiment with other combinations.
|
| 68 |
|
| 69 |
+
### System prompt
|
| 70 |
|
| 71 |
+
```text
|
| 72 |
+
Create game assets for the Godot editor, which uses GLB files. Create whatever the user requests as a good-quality low-poly asset using only Three.js in one complete standalone HTML file. The HTML must show the asset and include an Export GLB button that downloads a working GLB. If the requested asset needs animation, add it and include the animation in the exported GLB; otherwise make it static.
|
| 73 |
+
```
|
| 74 |
|
| 75 |
+
## Example results — updated checkpoint
|
| 76 |
|
| 77 |
+
These assets were generated by this checkpoint using **prompts excluded from the model’s training data and the dataset planned for release**.
|
| 78 |
|
| 79 |
+
| Jungle siege platform | Weathered snow siege platform |
|
| 80 |
+
|:---:|:---:|
|
| 81 |
+
| [](images/jungle-siege-platform.png) | [](images/snow-siege-platform.png) |
|
| 82 |
+
| **Prompt:** `Build a jungle siege platform` | **Prompt:** `Build a weathered snow siege platform` |
|
| 83 |
+
| **Blue goblin brute** | **Red orc leader** |
|
| 84 |
+
| [](images/blue-goblin-brute.png) | [](images/red-orc-leader.png) |
|
| 85 |
+
| **Prompt:** `Create a blue goblin brute` | **Prompt:** `Create a red orc Leader` |
|
| 86 |
+
| **Reinforced mountain command post — result 1** | **Reinforced mountain command post — result 2** |
|
| 87 |
+
| [](images/mountain-command-post-01.png) | [](images/mountain-command-post-02.png) |
|
| 88 |
+
| **Prompt:** `Make a reinforced montain command post` | **Same prompt:** `Make a reinforced montain command post` |
|
| 89 |
|
| 90 |
+
### Exported assets in Godot
|
| 91 |
|
| 92 |
+
The exported GLB assets after import into the Godot editor:
|
| 93 |
|
| 94 |
+
| Godot import — example 1 | Godot import — example 2 |
|
| 95 |
+
|:---:|:---:|
|
| 96 |
+
| [](images/godot-imported-assets-01.png) | [](images/godot-imported-assets-02.png) |
|
| 97 |
|
| 98 |
## Training domains and prompt ideas
|
| 99 |
|
| 100 |
+
The current preview was trained across **25 game-asset domains**. Here is one prompt idea to try for each category:
|
| 101 |
|
| 102 |
+
| Domain | Prompt idea |
|
| 103 |
|:---|:---|
|
| 104 |
| Characters and NPCs | `Create a village blacksmith wearing a blue apron.` |
|
| 105 |
| Enemies | `Create a swamp goblin scout with a wooden shield.` |
|
|
|
|
| 127 |
| Underwater structures | `Create a coral observation dome with a small docking platform.` |
|
| 128 |
| Puzzles and gameplay markers | `Create a glowing rune sequence console with three stone buttons.` |
|
| 129 |
|
| 130 |
+
You can vary the style, setting, materials, colors, and details. Share your results, settings, and any issues you find!
|
| 131 |
|
| 132 |
+
## Release status and next steps
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 133 |
|
| 134 |
+
The model is continuing to improve, so I’ve decided to **double its training dataset**. The additional examples have just finished generating, and I’ll continue training through tomorrow before finalizing the release.
|
| 135 |
|
| 136 |
+
The original dataset focused on **simple prompts**, making asset generation accessible to people without a technical background. I noticed that my [previous 3D Coder model](https://huggingface.co/ccore/Qwen3.5-4B-3D-Coder) generalized better across different prompts, so I expanded the GLB-focused data to **cover more domains and improve support for more detailed, customized requests**.
|
| 137 |
|
| 138 |
+
Once training finishes, I’ll release the **complete dataset, including all the additional examples**, alongside the **full Safetensors weights**, just as I did with the previous model.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 139 |
|
| 140 |
+
For the next model, I’m planning a dataset of **100,000 high-quality examples**, with context lengths ranging from **8K to 128K tokens**. The target is a training run roughly **15× larger than the one used for the current model**.
|
| 141 |
|
| 142 |
+
My first goal is **reliable one-shot asset generation**. After that, I plan to develop a version designed to work directly inside an **agent harness**, where it can generate, test, and refine assets as part of a broader workflow.
|
|
|
|
|
|
|
| 143 |
|
| 144 |
+
Preparing this dataset and running the training will require more resources for data generation, validation, and GPU compute. **If you can contribute toward making this next training run possible, your support would be a huge help.**
|
| 145 |
|
| 146 |
## ❤️ Support Future Open-Source AI Models
|
| 147 |
|