Downloads · 30 days
273
44% of all-time downloads
loqira/Qwen3.5-0.8B-GEC-KAZ-RUS-ENG
Qwen3.5-0.8B-GEC-KAZ-RUS-ENG is a text generation model from loqira. Use it when you need the model to write or continue text. The card lists the license as apache-2.0.
A compact 0.8B grammatical-error-correction / proofreading model for Kazakh, Russian, and English. It takes raw text — voice-dictation output, chat messages, quick notes — and cleans it up: restores punctuation, capit…
Downloads · 30 days
273
44% of all-time downloads
All-time downloads
624
Public
Repo size
563 MB
Likes
4
Public
Click a slice to open those files.
.gguf563 MB · 100%
From the Hugging Face model README
A compact 0.8B grammatical-error-correction / proofreading model for Kazakh, Russian, and English. It takes raw text — voice-dictation output, chat messages, quick notes — and cleans it up: restores punctuation, capitalization, and paragraph breaks, and fixes typos and spelling errors — while preserving your words, meaning, language, and tone. It does not rewrite, paraphrase, translate, soften, or add anything of its own.
Published as GGUF (Q4_0) for CPU inference with llama.cpp, LM Studio, and Ollama. ~537 MB, ~44 tokens/s on CPU.
By Loqira Labs — everyday AI you own, not rent. Runs on the hardware you already have — no cloud, no frontier API.
This model is trained and meant to be used as a one-shot call: send one input, get one corrected output. It is not a conversational model — do not build multi-turn dialogues, do not feed prior turns back in, and do not chain calls in a running chat context. Each correction is an independent request with a fresh context and the same system prompt.
| Base model | Qwen/Qwen3.5-0.8B (hybrid: GatedDeltaNet + full attention, 24 layers, hidden 1024) |
| Relation | finetune (quantization-aware) |
| Method | QAT at 4/8/16-bit with train==deploy parity — our int4/int8 codes are injected into the GGUF, not re-quantized |
| Format | GGUF, Q4_0 weights + Q8_0 / F32 (short-conv, norms) |
| Size | ~537 MB |
| Speed | ~44 tokens/s on CPU |
| Training context | 2048 tokens (≈1600 per sample on average) |
| Chat template + stop token | Both baked into the GGUF |
The stop token is <|im_end|> — clients that read the GGUF metadata pick it up automatically.
The model was trained to always receive this exact system prompt. Pass it as the system message. It is a single unified prompt — the same for every input and every language (Kazakh, Russian, and English input all use this one prompt).
Отформатируй текст голосового ввода: расставь пунктуацию и заглавные буквы, разбей на абзацы, исправь опечатки и орфографические ошибки. Сохрани язык, слова и смысл, ничего не добавляй от себя.
The prompt is in Russian by design — that is what the model was trained on, so it gives the best results. A version of the prompt translated into another language also works, but noticeably worse — keep the Russian prompt unless you have a specific reason not to. Without a system prompt at all (or with an unrelated one) the model is out-of-distribution and quality drops sharply.
The model was trained with an empty reasoning block (<think>\n\n</think>\n\n). A client with "thinking / reasoning" enabled will inject <think>\n and push the model out-of-distribution (garbled prefix, quality loss). Keep thinking OFF and use temperature 0 (greedy, deterministic).
llama-cli)llama-cli -m Qwen3.5-0.8B-GEC-KAZ-RUS-ENG.Q4_0.gguf \
-sys "Отформатируй текст голосового ввода: расставь пунктуацию и заглавные буквы, разбей на абзацы, исправь опечатки и орфографические ошибки. Сохрани язык, слова и смысл, ничего не добавляй от себя." \
-p "привте всем сегдня я хочю расказать про наш новый праект над котрым мы работаем уже почти пол года" \
-st -no-cnv --reasoning off --reasoning-format none \
--chat-template-kwargs "{\"enable_thinking\": false}" \
--temp 0 --top-k 1 --repeat-penalty 1.0 -n 512
For long inputs, raise -n (e.g. 1024–2048) so the output isn't truncated.
Keep each request short. The model was trained on a 2048-token context window (≈1600 tokens per sample on average). It is a single-shot formatter, not a long-document processor — feeding a much longer sequence in one call pushes it out-of-distribution and degrades quality. Split long text into chunks (e.g. by paragraph) and format each chunk in its own request, keeping prompt + output within ~2048 tokens.
Start the server with --reasoning-format none. In each request send the system prompt above, temperature: 0, and "chat_template_kwargs": {"enable_thinking": false}. Strip any leading <think>...</think> from the returned content.
A ready Modelfile is included — it bakes in the correct chat template (think-off), the system prompt, and greedy decoding.
ollama create qwen3.5-gec -f Modelfile
ollama run qwen3.5-gec "привте всем сегдня я хочю расказать про наш новый праект"
Load the GGUF, disable "thinking / reasoning", set temperature 0, and set the system prompt above. Verify that the rendered template produces <think>\n\n</think>\n\n (an empty block), not <think>\n.
This model uses the Qwen3.5 architecture (qwen35 — hybrid GatedDeltaNet + attention), supported in mainline llama.cpp and the apps built on it. Just use a recent llama.cpp / LM Studio / Ollama. If you ever see unknown model architecture 'qwen35', your app bundles an outdated llama.cpp — update it. Verified on the CPU path; on a GPU backend, run the golden-probe examples below first.
Russian — typos:
in : привте всем сегдня я хочю расказать про наш новый праект над котрым мы работаем уже почти пол года
out: Привет всем! Сегодня я хочу рассказать про наш новый проект, над которым мы работаем уже почти пол года.
English — typos:
in : helo evryone i jsut wanted to tel you abuot the meting we have tomorow mornig at nine oclock
out: Hello everyone, I just wanted to tell you about the meeting we have tomorrow morning at nine o'clock.
Kazakh — special letters restored (қ / ө / і):
in : мен калага бардым онда коп адам бар еди кыс кези суык болды
out: Мен қалаға бардым, Онда көп адам бар, Енді қыс кезі суық болды.
Preserves tone — does not soften or rewrite:
in : да ты издеваешься что ли опять всё сломал я же говорил не трогай этот код
out: Да ты издеваешься что ли? Опять всё сломал. Я же говорил: «Не трогай этот код».
You can use these four as a quick golden probe: if your client produces materially different output at temperature 0, the prompt or think-off setting is wrong — check the system prompt and thinking-off first.
Apache-2.0. Base model: Qwen/Qwen3.5-0.8B.
Loqira Labs builds capable AI that runs on the hardware you already have — no cloud, no frontier API, no vendor to answer to. Everyday AI you own, not rent.