Kenzan-Hoku-0.8B (named after Katsushika Hokusai) is a compact, bilingual (Russian + English) Windows PowerShell (5.1 & 7.4) specialist built on Qwen/Qwen3.5-0.8B and quantized with PinGrid mixed-precision GGUF recipes.
It turns natural-language RU/EN requests into strict single-line PowerShell JSON ({"type":"command|refuse|unsure","command":"...","explanation":"..."}) while obeying Windows environment constraints (ps=5.1 vs 7.4 syntax, admin, ExecutionPolicy, LanguageMode, JEA endpoints, Authenticode code signing, approved PSRepository stores, and WinForms/WPF/host dialog UI scripting).
[!TIP] Recommended daily-driver build:
Kenzan-Hoku-0.8B-PinGrid-Q4_K_M-M6.gguf(496.5 MB) achieves99.39%valid JSON (490/493),97.15%native Windows PowerShell AST validity (409/421), and80.71%cmdlet-head accuracy. For under-430 MB footprints,Kenzan-Hoku-0.8B-PinGrid-Q3_K_S-M6.gguf(428.2 MB) achieves98.57%native AST validity and143.36 t/sCPU generation speed (696.72 t/sprompt eval on Apple M6, 4 threads).
hoku_test_v1, 493 clean holdout cases)Evaluated greedily (temperature=0) across 493 unseen RU+EN Windows PowerShell holdouts (368 command, 85 refuse, 40 unsure) with native System.Management.Automation.Language.Parser::ParseInput AST verification:
| Artifact | Quant Tier | Size | Valid JSON | Native PS AST Valid | exact_ref Match |
cmdlet Match |
Semantic Pass |
|---|---|---|---|---|---|---|---|
Kenzan-Hoku-0.8B-PinGrid-Q4_K_M-M6.gguf |
PinGrid Q4_K_M |
496.5 MB |
490/493 (99.39%) |
409/421 (97.15%) |
216/368 (58.70%) |
297/368 (80.71%) |
294/493 (59.63%) |
Kenzan-Hoku-0.8B-PinGrid-Q3_K-M6.gguf |
PinGrid Q3_K_M |
451.1 MB |
484/493 (98.17%) |
410/414 (99.03%) |
195/368 (52.99%) |
269/368 (73.10%) |
273/493 (55.38%) |
Kenzan-Hoku-0.8B-PinGrid-Q3_K_S-M6.gguf |
PinGrid Q3_K_S |
428.2 MB |
488/493 (98.99%) |
415/421 (98.57%) |
190/368 (51.63%) |
269/368 (73.10%) |
265/493 (53.75%) |
<|im_start|>system
Turn the request into one PowerShell command for the Windows environment described in the first line of the user message.
Obey ps version (5.1 lacks &&/||/?:/??), admin flag, execution policy, language mode, and approved script repository constraints.
Reply with only JSON {"type":"command|refuse|unsure","command":"...","explanation":"..."}: "command" is "" unless type is command; "explanation" is one short sentence in the language of the request.<|im_end|>
<|im_start|>user
os=windows winver=11-24H2 ps=5.1 admin=1 policy=AllSigned lang=Full repo=CorpScripts pm=winget tools=git
Подпиши скрипт C:\Scripts\deploy.ps1 первым доступным сертификатом подписи кода.<|im_end|>
<|im_start|>assistant
<think>
</think>
Qwen/Qwen3.5-0.8B).llama-clover quantization tooling; special thanks to Misha and the Prism ML team.Qwen/Qwen3.5-0.8B