Text Generation
Safetensors
GGUF
Rust
English
Vietnamese
dioxus
accessibility
wcag
fine-tuned
raft
code
server-functions
qwen3
family-hub
scoped-css
syncstore
conversational
Instructions to use rockypod/neotoi-coder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use rockypod/neotoi-coder with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="rockypod/neotoi-coder", filename="neotoi-coder-v1-q4_k_m_final.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use rockypod/neotoi-coder with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf rockypod/neotoi-coder:Q4_K_M # Run inference directly in the terminal: llama-cli -hf rockypod/neotoi-coder:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf rockypod/neotoi-coder:Q4_K_M # Run inference directly in the terminal: llama-cli -hf rockypod/neotoi-coder:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf rockypod/neotoi-coder:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf rockypod/neotoi-coder:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf rockypod/neotoi-coder:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf rockypod/neotoi-coder:Q4_K_M
Use Docker
docker model run hf.co/rockypod/neotoi-coder:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use rockypod/neotoi-coder with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "rockypod/neotoi-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": "rockypod/neotoi-coder", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/rockypod/neotoi-coder:Q4_K_M
- Ollama
How to use rockypod/neotoi-coder with Ollama:
ollama run hf.co/rockypod/neotoi-coder:Q4_K_M
- Unsloth Studio
How to use rockypod/neotoi-coder with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for rockypod/neotoi-coder to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for rockypod/neotoi-coder to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for rockypod/neotoi-coder to start chatting
- Pi
How to use rockypod/neotoi-coder with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf rockypod/neotoi-coder:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "rockypod/neotoi-coder:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use rockypod/neotoi-coder with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf rockypod/neotoi-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 rockypod/neotoi-coder:Q4_K_M
Run Hermes
hermes
- Docker Model Runner
How to use rockypod/neotoi-coder with Docker Model Runner:
docker model run hf.co/rockypod/neotoi-coder:Q4_K_M
- Lemonade
How to use rockypod/neotoi-coder with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull rockypod/neotoi-coder:Q4_K_M
Run and chat with the model
lemonade run user.neotoi-coder-Q4_K_M
List all available models
lemonade list
Update README for v2.0 — 135.5/140 (96.8%)
Browse files
README.md
CHANGED
|
@@ -3,6 +3,7 @@ license: other
|
|
| 3 |
license_name: neotoi-coder-community-license
|
| 4 |
language:
|
| 5 |
- en
|
|
|
|
| 6 |
base_model: Qwen/Qwen3-Coder-14B
|
| 7 |
tags:
|
| 8 |
- dioxus
|
|
@@ -16,38 +17,73 @@ tags:
|
|
| 16 |
pipeline_tag: text-generation
|
| 17 |
---
|
| 18 |
|
| 19 |
-
# Neotoi Coder
|
| 20 |
|
| 21 |
A Rust/Dioxus 0.7 specialist fine-tuned from Qwen3-Coder-14B using RAFT
|
| 22 |
(Retrieval-Augmented Fine-Tuning). Optimized for production-quality
|
| 23 |
-
Dioxus 0.7 components with Tailwind v4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
|
| 25 |
## Exam Results
|
| 26 |
|
| 27 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
|---|---|---|---|
|
| 29 |
-
|
|
| 30 |
-
|
|
| 31 |
-
| T3 Signal Hygiene | 10/10 | 8/10 | ✅ |
|
| 32 |
-
| T4 WCAG/ARIA | 9/10 | 7/10 | ✅ |
|
| 33 |
-
| T5 use_resource | 4/5 | 4/5 | ✅ |
|
| 34 |
-
| T6 Hard Reasoning | 2/5 | 2/5 | ✅ |
|
| 35 |
-
| T7 Primitives+CSS | 8/10 | 6/10 | ✅ |
|
| 36 |
-
| **Overall** | **51/60** | **50/60** | **✅ PASS** |
|
| 37 |
|
| 38 |
## Model Details
|
| 39 |
|
| 40 |
- **Base model:** Qwen3-Coder-14B
|
| 41 |
- **Method:** RAFT (Retrieval-Augmented Fine-Tuning)
|
| 42 |
-
- **Dataset:**
|
| 43 |
- **Scope:** Rust + Dioxus 0.7 + Tailwind v4 + WCAG 2.2 AAA
|
| 44 |
-
- **Quantization:** Q4_K_M (8.
|
| 45 |
- **Author:** Kevin Miller, Jr.
|
| 46 |
|
| 47 |
-
##
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 48 |
|
| 49 |
-
|
| 50 |
-
Thinking must be enabled manually depending on your inference backend.
|
| 51 |
|
| 52 |
### LM Studio
|
| 53 |
|
|
@@ -62,11 +98,10 @@ In the chat interface go to the prompt template settings and configure:
|
|
| 62 |
| Before Assistant | `<\|im_start\|>assistant\n<think>` |
|
| 63 |
| After Assistant | `<\|im_end\|>` |
|
| 64 |
|
| 65 |
-
### Ollama
|
| 66 |
|
| 67 |
-
Create a Modelfile:
|
| 68 |
```
|
| 69 |
-
FROM neotoi-coder-
|
| 70 |
PARAMETER temperature 0.2
|
| 71 |
PARAMETER num_predict 4096
|
| 72 |
PARAMETER repeat_penalty 1.15
|
|
@@ -81,13 +116,25 @@ TEMPLATE """<|im_start|>system
|
|
| 81 |
SYSTEM You are Neotoi, an expert Rust and Dioxus 0.7 developer. Always think step-by-step before answering.
|
| 82 |
```
|
| 83 |
|
| 84 |
-
###
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 85 |
```bash
|
| 86 |
./llama-cli \
|
| 87 |
-
-m neotoi-coder-
|
| 88 |
-ngl 99 \
|
| 89 |
--temp 0.2 \
|
| 90 |
-
-p "<|im_start|>user\nYour question
|
| 91 |
```
|
| 92 |
|
| 93 |
## What It Knows
|
|
@@ -95,18 +142,23 @@ SYSTEM You are Neotoi, an expert Rust and Dioxus 0.7 developer. Always think ste
|
|
| 95 |
- Dioxus 0.7 RSX brace syntax — never function-call style
|
| 96 |
- `use_signal`, `use_resource` with correct three-arm match
|
| 97 |
- `r#for` on label elements only, never inputs
|
| 98 |
-
-
|
| 99 |
-
|
|
|
|
| 100 |
- dioxus-primitives — no manual ARIA on managed components
|
| 101 |
- `styles!()` macro for CSS modules
|
| 102 |
-
- Tailwind v4 utility classes
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 103 |
|
| 104 |
## What It Does Not Know
|
| 105 |
|
| 106 |
-
- Tier 6 hard reasoning edge cases (use_context panic behavior,
|
| 107 |
-
optimistic UI race conditions) — known weak spots
|
| 108 |
- Playwright/E2E testing (out of scope)
|
| 109 |
- Non-Dioxus web frameworks
|
|
|
|
| 110 |
|
| 111 |
## License
|
| 112 |
|
|
@@ -121,15 +173,6 @@ Built with:
|
|
| 121 |
- [Unsloth](https://github.com/unslothai/unsloth) — 2x faster fine-tuning
|
| 122 |
- [TRL](https://github.com/huggingface/trl) — SFTTrainer
|
| 123 |
- [Qwen3-Coder-14B](https://huggingface.co/Qwen/Qwen3-Coder-14B) — base model
|
| 124 |
-
- [MLX](https://github.com/ml-explore/mlx) —
|
| 125 |
- [Claude Code](https://claude.ai/code) — dataset pipeline and training infrastructure
|
| 126 |
-
- [Ansible](https://www.ansible.com) — server automation and RAFT workflow orchestration
|
| 127 |
-
- [repomix](https://github.com/yamadashy/repomix) — bundling framework source into LLM context
|
| 128 |
-
- [Forgejo](https://forgejo.org) — self-hosted git, source stored locally
|
| 129 |
-
- [Zed](https://zed.dev) — editor used throughout development
|
| 130 |
- [Dioxus](https://dioxuslabs.com) — the framework this model specializes in
|
| 131 |
-
|
| 132 |
-
Developed on:
|
| 133 |
-
- Apple M3 MacBook Pro — dataset generation, MLX inference, LM Studio
|
| 134 |
-
- Rocky Linux 10.1 — dataset generation, Unsloth fine-tuning, PyTorch, GGUF export
|
| 135 |
-
- CachyOS — additional RAFT pipeline work
|
|
|
|
| 3 |
license_name: neotoi-coder-community-license
|
| 4 |
language:
|
| 5 |
- en
|
| 6 |
+
- vi
|
| 7 |
base_model: Qwen/Qwen3-Coder-14B
|
| 8 |
tags:
|
| 9 |
- dioxus
|
|
|
|
| 17 |
pipeline_tag: text-generation
|
| 18 |
---
|
| 19 |
|
| 20 |
+
# Neotoi Coder v2.0
|
| 21 |
|
| 22 |
A Rust/Dioxus 0.7 specialist fine-tuned from Qwen3-Coder-14B using RAFT
|
| 23 |
(Retrieval-Augmented Fine-Tuning). Optimized for production-quality
|
| 24 |
+
Dioxus 0.7 components with Tailwind v4, WCAG 2.2 AAA accessibility,
|
| 25 |
+
GlobalSignal state management, i18n, dark mode, and static content navigation.
|
| 26 |
+
|
| 27 |
+
## What's New in v2.0
|
| 28 |
+
|
| 29 |
+
Significant improvements over v1.0 across every tier:
|
| 30 |
+
|
| 31 |
+
- **New Tier 8 — GlobalSignal & i18n:** Correct `.write()` vs `.set()` semantics,
|
| 32 |
+
pre-rsx! i18n bindings, dark mode via `document::eval`, sticky nav with `use_hook`
|
| 33 |
+
- **New Tier 9 — Static Content Navigator:** `use_memo` filtering, tag-based
|
| 34 |
+
routing, deterministic LLM intent mapping over static content
|
| 35 |
+
- **New Tier 10 — Dioxus 0.7.4 APIs:** `WritableResultExt`, `use_context` panic
|
| 36 |
+
behavior, WebSocket Stream+Sink, `consume_context` vs `use_context`
|
| 37 |
+
- **T6 Hard Reasoning:** Went from 2/5 passes to 10/10 — full perfect score
|
| 38 |
+
- **T4 WCAG/ARIA:** Perfect 14/14 — tooltip always in DOM, listbox/option
|
| 39 |
+
nesting, aria_labelledby on all role containers
|
| 40 |
+
- **T5 use_resource:** Perfect 8/8 — three-arm match, no .ok() wrapper,
|
| 41 |
+
signal read inside closure
|
| 42 |
+
- **MLX format included** for Apple Silicon (Ollama 0.19+, mlx_lm)
|
| 43 |
|
| 44 |
## Exam Results
|
| 45 |
|
| 46 |
+
### v2.0 — 100 Question Weighted Exam
|
| 47 |
+
|
| 48 |
+
| Tier | Questions | Weight | Score | Max | Status |
|
| 49 |
+
|---|---|---|---|---|---|
|
| 50 |
+
| T1 Fundamentals | Q1–12 | 1.0 | 11/12 | 12 | ✅ |
|
| 51 |
+
| T2 RSX Syntax | Q13–24 | 1.0 | 10/12 | 12 | ✅ |
|
| 52 |
+
| T3 Signal Hygiene | Q25–36 | 1.0 | 12/12 | 12 | ✅ Perfect |
|
| 53 |
+
| T4 WCAG/ARIA | Q37–50 | 1.5 | 14/14 | 21 | ✅ Perfect |
|
| 54 |
+
| T5 use_resource | Q51–58 | 1.5 | 8/8 | 12 | ✅ Perfect |
|
| 55 |
+
| T6 Hard Reasoning | Q59–68 | 2.0 | 10/10 | 20 | ✅ Perfect |
|
| 56 |
+
| T7 Primitives+CSS | Q69–80 | 1.5 | 11/12 | 18 | ✅ |
|
| 57 |
+
| T8 GlobalSignal/i18n | Q81–88 | 1.5 | 8/8 | 12 | ✅ Perfect |
|
| 58 |
+
| T9 Static Navigator | Q89–94 | 1.5 | 6/6 | 9 | ✅ Perfect |
|
| 59 |
+
| T10 Dioxus 0.7.4 | Q95–100 | 2.0 | 6/6 | 12 | ✅ Perfect |
|
| 60 |
+
| **Overall** | **Q1–100** | | **135.5/140** | **140** | **✅ 96.8%** |
|
| 61 |
+
|
| 62 |
+
### Version History
|
| 63 |
+
|
| 64 |
+
| Version | Score | Exam | Status |
|
| 65 |
|---|---|---|---|
|
| 66 |
+
| v1.0 | 51/60 (85%) | 60Q standard | Published |
|
| 67 |
+
| v2.0 | 135.5/140 (96.8%) | 100Q weighted | Published |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 68 |
|
| 69 |
## Model Details
|
| 70 |
|
| 71 |
- **Base model:** Qwen3-Coder-14B
|
| 72 |
- **Method:** RAFT (Retrieval-Augmented Fine-Tuning)
|
| 73 |
+
- **Dataset:** 4,185 curated Dioxus 0.7 examples (3 training runs)
|
| 74 |
- **Scope:** Rust + Dioxus 0.7 + Tailwind v4 + WCAG 2.2 AAA
|
| 75 |
+
- **Quantization:** Q4_K_M (8.4 GB) and MLX 4-bit (7.8 GB)
|
| 76 |
- **Author:** Kevin Miller, Jr.
|
| 77 |
|
| 78 |
+
## Files
|
| 79 |
+
|
| 80 |
+
| File | Format | Size | Use case |
|
| 81 |
+
|---|---|---|---|
|
| 82 |
+
| `neotoi-coder-v2-q4_k_m.gguf` | GGUF Q4_K_M | 8.4 GB | LM Studio, llama.cpp, Ollama Linux |
|
| 83 |
+
| `mlx/` | MLX 4-bit | 7.8 GB | Ollama 0.19+ Apple Silicon, mlx_lm |
|
| 84 |
+
| `neotoi-coder-v1-q4_k_m_final.gguf` | GGUF Q4_K_M | 8.4 GB | v1.0 legacy |
|
| 85 |
|
| 86 |
+
## Enabling Thinking Mode
|
|
|
|
| 87 |
|
| 88 |
### LM Studio
|
| 89 |
|
|
|
|
| 98 |
| Before Assistant | `<\|im_start\|>assistant\n<think>` |
|
| 99 |
| After Assistant | `<\|im_end\|>` |
|
| 100 |
|
| 101 |
+
### Ollama (Linux / GGUF)
|
| 102 |
|
|
|
|
| 103 |
```
|
| 104 |
+
FROM neotoi-coder-v2-q4_k_m.gguf
|
| 105 |
PARAMETER temperature 0.2
|
| 106 |
PARAMETER num_predict 4096
|
| 107 |
PARAMETER repeat_penalty 1.15
|
|
|
|
| 116 |
SYSTEM You are Neotoi, an expert Rust and Dioxus 0.7 developer. Always think step-by-step before answering.
|
| 117 |
```
|
| 118 |
|
| 119 |
+
### mlx_lm server (Apple Silicon / Ollama 0.19+)
|
| 120 |
+
|
| 121 |
+
```bash
|
| 122 |
+
mlx_lm server \
|
| 123 |
+
--model path/to/mlx/ \
|
| 124 |
+
--host 127.0.0.1 \
|
| 125 |
+
--port 8080
|
| 126 |
+
```
|
| 127 |
+
|
| 128 |
+
Then point any OpenAI-compatible client at `http://localhost:8080`.
|
| 129 |
+
|
| 130 |
+
### llama.cpp
|
| 131 |
+
|
| 132 |
```bash
|
| 133 |
./llama-cli \
|
| 134 |
+
-m neotoi-coder-v2-q4_k_m.gguf \
|
| 135 |
-ngl 99 \
|
| 136 |
--temp 0.2 \
|
| 137 |
+
-p "<|im_start|>user\nYour question<|im_end|>\n<|im_start|>assistant\n<think>"
|
| 138 |
```
|
| 139 |
|
| 140 |
## What It Knows
|
|
|
|
| 142 |
- Dioxus 0.7 RSX brace syntax — never function-call style
|
| 143 |
- `use_signal`, `use_resource` with correct three-arm match
|
| 144 |
- `r#for` on label elements only, never inputs
|
| 145 |
+
- `GlobalSignal` — `.write()` not `.set()` for statics
|
| 146 |
+
- WCAG 2.2 AAA: tooltip always in DOM, listbox/option nesting,
|
| 147 |
+
`aria_labelledby` on all role containers
|
| 148 |
- dioxus-primitives — no manual ARIA on managed components
|
| 149 |
- `styles!()` macro for CSS modules
|
| 150 |
+
- Tailwind v4 utility classes and semantic tokens
|
| 151 |
+
- EN/VI i18n via pre-rsx! let bindings
|
| 152 |
+
- Dark mode via `document::eval` + CSS custom properties
|
| 153 |
+
- Static content navigation with `use_memo` filtering
|
| 154 |
+
- `use_context` panics without provider — never returns None
|
| 155 |
+
- `WritableResultExt` from Dioxus 0.7.4
|
| 156 |
|
| 157 |
## What It Does Not Know
|
| 158 |
|
|
|
|
|
|
|
| 159 |
- Playwright/E2E testing (out of scope)
|
| 160 |
- Non-Dioxus web frameworks
|
| 161 |
+
- WebSocket Stream+Sink (simulated only — v2.1 target)
|
| 162 |
|
| 163 |
## License
|
| 164 |
|
|
|
|
| 173 |
- [Unsloth](https://github.com/unslothai/unsloth) — 2x faster fine-tuning
|
| 174 |
- [TRL](https://github.com/huggingface/trl) — SFTTrainer
|
| 175 |
- [Qwen3-Coder-14B](https://huggingface.co/Qwen/Qwen3-Coder-14B) — base model
|
| 176 |
+
- [MLX](https://github.com/ml-explore/mlx) — Apple Silicon inference
|
| 177 |
- [Claude Code](https://claude.ai/code) — dataset pipeline and training infrastructure
|
|
|
|
|
|
|
|
|
|
|
|
|
| 178 |
- [Dioxus](https://dioxuslabs.com) — the framework this model specializes in
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|