Instructions to use ccore/Inkling-2-Mini-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/Inkling-2-Mini-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/Inkling-2-Mini-3D-Coder:Q4_K_M # Run inference directly in the terminal: llama cli -hf ccore/Inkling-2-Mini-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/Inkling-2-Mini-3D-Coder:Q4_K_M # Run inference directly in the terminal: llama cli -hf ccore/Inkling-2-Mini-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/Inkling-2-Mini-3D-Coder:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf ccore/Inkling-2-Mini-3D-Coder:Q4_K_M
Use Docker
docker model run hf.co/ccore/Inkling-2-Mini-3D-Coder:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use ccore/Inkling-2-Mini-3D-Coder with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ccore/Inkling-2-Mini-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/Inkling-2-Mini-3D-Coder", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/ccore/Inkling-2-Mini-3D-Coder:Q4_K_M
- Ollama
How to use ccore/Inkling-2-Mini-3D-Coder with Ollama:
ollama run hf.co/ccore/Inkling-2-Mini-3D-Coder:Q4_K_M
- Unsloth Desktop
- Pi
How to use ccore/Inkling-2-Mini-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/Inkling-2-Mini-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:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "ccore/Inkling-2-Mini-3D-Coder:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use ccore/Inkling-2-Mini-3D-Coder with Docker Model Runner:
docker model run hf.co/ccore/Inkling-2-Mini-3D-Coder:Q4_K_M
- Lemonade
How to use ccore/Inkling-2-Mini-3D-Coder with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull ccore/Inkling-2-Mini-3D-Coder:Q4_K_M
Run and chat with the model
lemonade run user.Inkling-2-Mini-3D-Coder-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use ccore/Inkling-2-Mini-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/Inkling-2-Mini-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:9931/v1 hermes config set model.default ccore/Inkling-2-Mini-3D-Coder:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use ccore/Inkling-2-Mini-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/Inkling-2-Mini-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:9931/v1 \ --custom-model-id "ccore/Inkling-2-Mini-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"
|
Download README.md from ccore/Inkling-2-Mini-3D-Coder: direct link, hf CLI and curl.
- Browser
- Download file 12 kB
-
https://huggingface.co/ccore/Inkling-2-Mini-3D-Coder/resolve/main/README.md
- Command line
-
hf download hf://ccore/Inkling-2-Mini-3D-Coder/README.md
-
curl -L -o README.md https://huggingface.co/ccore/Inkling-2-Mini-3D-Coder/resolve/main/README.md
12 kB
| license: apache-2.0 | |
| base_model: thinkingmachines/Inkling-2-Mini | |
| base_model_relation: finetune | |
| datasets: | |
| - ccore/ThreeJS-3D-Scenes | |
| - ccore/ThreeJS-3D-Scenes-v2 | |
| language: | |
| - en | |
| pipeline_tag: text-generation | |
| tags: | |
| - threejs | |
| - 3d-generation | |
| - code | |
| - lora | |
| - gguf | |
| # Inkling 2 Mini-3D-Coder | |
| ### Early preview · Interactive Three.js scenes from text | |
| Inkling 2 Mini-3D-Coder generates interactive Three.js scenes with **roughly 34–86% fewer output tokens** in my tests. The LoRA used **34.7% fewer tokens on average** across 19 scenes, and the strongest result I saw used **86.8% fewer**. Give it a scene description and it writes a standalone HTML file you can open in a browser and explore. [Base model](https://huggingface.co/thinkingmachines/Inkling-2-Mini) | |
| ## Why I ran this experiment | |
| I started this experiment because Thinking Machines Lab offered free LoRA fine-tuning for Inkling 2 Mini on Tinker. It gave me a chance to revisit a question from my earlier 4B experiments. Thanks to the Thinking Machines Lab team for making this possible. [Tinker model tiers](https://tinker-docs.thinkingmachines.ai/tinker/models/models_and_pricing/) | |
| In my earlier Qwen3.5-4B experiments, some of the longer LoRA runs started to exaggerate object sizes and distort their proportions. Scene quality dropped as those runs continued, so I went back to full fine-tuning. [Qwen3.5-4B-3D-Coder technical report](https://huggingface.co/ccore/Qwen3.5-4B-3D-Coder/blob/main/Qwen3.5-4B-3D-Coder_Technical_Report.pdf) | |
| My hunch is that the 4B model had more to learn about building geometry and getting a whole scene to render reliably, which may have required deeper changes to the weights in that setup. Inkling 2 Mini could already generate usable Three.js scenes. The proportions held up in the Inkling LoRA runs I reviewed, and I could see improvements in how it framed the red panda and laid out the rooms and stairs in the house. I also wanted to see how often it could finish the HTML within the same generation budget. | |
| ## System prompt | |
| For Three.js scene generation, use this system prompt. It matches the one used in training and evaluation. Put your scene description in the user message. | |
| ```text | |
| Use only the Three.js core ES module from https://cdnjs.cloudflare.com/ajax/libs/three.js/0.160.0/three.module.min.js. Do not import addons or legacy examples/js paths; implement any camera controls directly inside the HTML. | |
| ``` | |
| Save the generated HTML as `index.html` and open it in a browser. | |
| ## Scene comparisons | |
| I picked scenes where the differences are easy to see. Each comparison uses the same prompt. The captions mark the larger context windows and the conservatory retry. | |
| ### Voxel red panda | |
| The fine-tune makes the panda’s face, paws, and curled tail easier to read in one shot. This external prompt was tested with seed 67 at temperature 0.9 and a 64K context on both sides. | |
| | Inkling 2 Mini base | Epoch 5 | | |
| | :---: | :---: | | |
| | [](examples/panda-base.png) | [](examples/panda-epoch5.png) | | |
| | 55,761 tokens | **37,898 tokens** | | |
| ### Family home cutaway | |
| This held-out scene shows why the token budget matters. The base hit the 64K limit on all five seeds. Epoch 5 finished the HTML on all five seeds, and four passed the browser check. In the seed 67 comparison below, both models rendered after the base was given a larger context. The fine-tune gives a clearer view of how the central stair connects the two levels and keeps the ground-floor rooms visible. | |
| | Inkling 2 Mini base · 256K | Epoch 5 · 64K | | |
| | :---: | :---: | | |
| | [](examples/house-base.png) | [](examples/house-epoch5.png) | | |
| | 184,685 tokens | **29,567 tokens · 84.0% fewer** | | |
| Across five shots per model, the shortest epoch 5 run for this house used 24,404 tokens, **86.8% fewer** than the longest base run. | |
| ### Manhattan diorama | |
| In the seed 65 pair, the fine-tune fits the whole island in view, with a readable street grid, Central Park, and the Brooklyn Bridge. Epoch 5 used fewer tokens on all five shots for this prompt. | |
| | Inkling 2 Mini base | Epoch 5 | | |
| | :---: | :---: | | |
| | [](examples/manhattan-base.png) | [](examples/manhattan-epoch5.png) | | |
| | 44,246 tokens · 64K | **29,427 tokens · 64K** | | |
| ### Mars cargo landing zone | |
| In seed 66, the fine-tune brings the cargo decks, cranes, and rover route together around the central habitat. | |
| | Inkling 2 Mini base | Epoch 5 | | |
| | :---: | :---: | | |
| | [](examples/mars-base.png) | [](examples/mars-epoch5.png) | | |
| | 61,727 tokens · 64K | **34,264 tokens · 64K** | | |
| ### Mounted skeleton hall of terrestrial vertebrates — voxel study | |
| In seed 67, the fine-tuned hall frames the mounts along a shared aisle and adds controls for inspecting each skeleton. | |
| | Inkling 2 Mini base | Epoch 5 | | |
| | :---: | :---: | | |
| | [](examples/skeletons-base.png) | [](examples/skeletons-epoch5.png) | | |
| | 61,440 tokens · 64K | **32,162 tokens · 64K** | | |
| ### Riverside civic center with floodable terraces | |
| In seed 64, the fine-tuned scene connects the civic center, stepped terraces, and river in one view, with labels and a water-level control. | |
| | Inkling 2 Mini base | Epoch 5 | | |
| | :---: | :---: | | |
| | [](examples/riverside-base.png) | [](examples/riverside-epoch5.png) | | |
| | 59,434 tokens · 64K | **31,987 tokens · 64K** | | |
| ### Voxel sakura bonsai | |
| | Inkling 2 Mini base | Inkling 2 Mini-3D-Coder | | |
| | :---: | :---: | | |
| | [](examples/sakura-base.png) | [](examples/sakura-3d-coder.png) | | |
| | 38,287 tokens · 64K | **19,576 tokens · 64K** | | |
| ### Floating village market | |
| The seed 64 fine-tune makes the bridges between the market pontoons easier to follow. The base finished this scene when I raised the context from 64K to 128K. | |
| | Inkling 2 Mini base · 128K | Epoch 5 · 64K | | |
| | :---: | :---: | | |
| | [](examples/floating-market-base.png) | [](examples/floating-market-epoch5.png) | | |
| | 74,717 tokens | **37,906 tokens** | | |
| ### Victorian conservatory | |
| The seed 67 retry brings the fountain and tropical plants into view through the glass. The first epoch 5 run failed the browser check, so I retried at temperature 0.8. | |
| | Inkling 2 Mini base · temperature 0.9 | Epoch 5 retry · temperature 0.8 | | |
| | :---: | :---: | | |
| | [](examples/conservatory-base.png) | [](examples/conservatory-epoch5.png) | | |
| | 40,672 tokens · 64K | **23,986 tokens · 64K** | | |
| ### Cello rehearsal room | |
| With seed 67, the fine-tune makes the cello the focal point while keeping the music stand, rug, and late-afternoon light in frame. | |
| | Inkling 2 Mini base | Epoch 5 | | |
| | :---: | :---: | | |
| | [](examples/cello-base.png) | [](examples/cello-epoch5.png) | | |
| | 59,058 tokens · 64K | **28,843 tokens · 64K** | | |
| ## Results so far | |
| Across **75 matched prompt and seed pairs covering 19 scenes**, epoch 5 used **34.7% fewer generated tokens on average** at the same 64K context limit. The count includes both reasoning and the final answer. At that limit, time spent before the final answer starts can mean the difference between getting a scene and never reaching the closing HTML tag. That matters for local generation, where context and runtime are limited. | |
| | Checkpoint | Mean token savings per scene at 64K | Complete HTML on the 70-run panel | Valid browser renders | Hits 64K limit | | |
| | --- | ---: | ---: | ---: | ---: | | |
| | Inkling 2 Mini base | — | 57/70 | 44/70 | 12/70 | | |
| | Epoch 4 | 34.2% | 70/70 | 59/70 | 0/70 | | |
| | Epoch 5 | **34.7%** | 70/70 | **56/70** | 0/70 | | |
| The table includes the failures. I also reran the 12 capped base requests with larger contexts and otherwise matched settings. With those completed base counts, the average savings at epoch 5 was **35.8%**. The size of the improvement varies by scene, and a browser pass checks that the scene runs. Judging how well it follows the prompt still takes a look at the result. | |
| <details> | |
| <summary>Evaluation settings</summary> | |
| The 70-run panel uses 10 held-out validation scenes and four external prompts, each with seeds 64–68 and temperature 1.0. Five additional external prompts use seed 67 and temperature 0.9. All original paired runs use reasoning effort 0.9, top-p 1.0, and the same 65,536-token context. The mean gives each scene equal weight after averaging its seed-level reductions, including cutoffs and browser failures. A successful render makes WebGL draw calls without page or console errors. These results come from the Tinker checkpoints. I'm continuing training through epoch 7 and will compare the last two checkpoints before choosing the release. | |
| </details> | |
| ## Training data | |
| The LoRA was trained on [Tinker](https://tinker.thinkingmachines.ai/) with rank 16 and 7,137 complete conversations. I used 3,889 from [ThreeJS 3D Scenes v1](https://huggingface.co/datasets/ccore/ThreeJS-3D-Scenes/tree/57b77a19d38eee8316c8b1f9e71c772046d9f48c) and 3,248 from [v2](https://huggingface.co/datasets/ccore/ThreeJS-3D-Scenes-v2/tree/370b2cf95727666a3ac570f7fdb3f63f4552d382). Each included conversation fits the full system prompt, user request, reasoning, and final scene code into 64K. The intended output is one HTML file using the Three.js r160 core module and its own camera controls. | |
| ## Weights and downloads | |
| This preview ships as **Q4_K_M, Q8_0, and F16 GGUFs** from epoch 5 for local text-to-scene generation. All three passed a short CPU generation check. Training is still in progress. I plan to release the **merged Safetensors** and the **standalone LoRA adapter** on **November 29**, after training and export checks are complete. | |
| I may update the GGUF files after comparing the remaining checkpoints. | |
| This is an independent CCORE fine-tune of Thinking Machines Lab’s Inkling 2 Mini. The weights are derived from the base under [Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0), with a LoRA merge and GGUF conversions for this release. The training datasets are available under MIT. | |
| ### Optional image projector | |
| [mmproj-Inkling-2-Mini-BF16.gguf](https://huggingface.co/ccore/Inkling-2-Mini-3D-Coder/blob/main/mmproj-Inkling-2-Mini-BF16.gguf) (642 MB) is the original Inkling 2 Mini BF16 vision projector exported by [ggml-org/Inkling-2-Mini-GGUF](https://huggingface.co/ggml-org/Inkling-2-Mini-GGUF/blob/0bdc580634ceac4c4d921f452777bf44228de9af/mmproj-Inkling-2-Mini-BF16.gguf). It is a separate file for optional image input. The 3D fine-tune used text prompts. Basic image input was verified on CPU with the epoch-5 Q4_K_M GGUF in llama.cpp b12720. | |
| ```sh | |
| llama-server -m gguf/Inkling-2-Mini-3D-Coder-Q4_K_M.gguf --mmproj mmproj-Inkling-2-Mini-BF16.gguf --jinja | |
| ``` | |