rockypod commited on
Commit
5628d1d
·
verified ·
1 Parent(s): 9540b2d

Update README for v2.0 — 135.5/140 (96.8%)

Browse files
Files changed (1) hide show
  1. README.md +80 -37
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 v1
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 and WCAG 2.2 AAA accessibility.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24
 
25
  ## Exam Results
26
 
27
- | Tier | Score | Required | Status |
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
  |---|---|---|---|
29
- | T1 Fundamentals | 9/10 | 9/10 | |
30
- | T2 RSX Syntax | 9/10 | 8/10 | |
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:** 3,156 curated Dioxus 0.7 examples
43
  - **Scope:** Rust + Dioxus 0.7 + Tailwind v4 + WCAG 2.2 AAA
44
- - **Quantization:** Q4_K_M (8.38 GB)
45
  - **Author:** Kevin Miller, Jr.
46
 
47
- ## Enabling Thinking Mode
 
 
 
 
 
 
48
 
49
- This model supports Qwen3 native thinking tokens.
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-v1-q4_k_m_final.gguf
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
- ### llama.cpp / llama-cli
 
 
 
 
 
 
 
 
 
 
 
 
85
  ```bash
86
  ./llama-cli \
87
- -m neotoi-coder-v1-q4_k_m_final.gguf \
88
  -ngl 99 \
89
  --temp 0.2 \
90
- -p "<|im_start|>user\nYour question here<|im_end|>\n<|im_start|>assistant\n<think>"
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
- - WCAG 2.2 AAA: `aria_labelledby`, `aria_describedby`,
99
- `role="alert"`, `role="dialog"`, live regions
 
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) — dataset generation on Apple Silicon
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