A small English chat assistant that runs entirely in a web browser. Made by Yunus Emre Vurgun for Flyingkiwi, where it runs locally with a custom C → WebAssembly engine: messages never leave the device.
Its goals are modest and specific: answer clearly when it knows, say plainly when it does not or cannot know (live data, private information, the future), correct false premises, and keep a conversation's context. It is a 0.6B-class model, so it still makes mistakes; double-check anything important.
| Parameters | 528M (440M transformer + 87M tied embedding) |
| Vocabulary | 85,121 tokens (language-specialised from Qwen3's 151,669; +0.23% tokens on held-out text) |
| Layers / width | 28 layers, d=1024, FFN 3072, 16 query / 8 KV heads × 128 |
| Attention | Full attention in all 28 layers |
| Context | 4,096 tokens in the browser app (RoPE θ = 1,000,000) |
| Browser weights | 8-bit integers in groups of 32 with fp16 scales, 561 MB (flyingkiwi-q8.fkm) |
| This checkpoint | BF16; the fine-tuned weights |
| Chat format | ChatML without thinking blocks (chat_template.jinja) |
Qwen/Qwen3-0.6B @ c1899de, one language per model, full-parameter fine-tuning in BF16 with FP32 masters.Measured on the project's frozen 100-case set for this language (held out from all training; 30 answerable, 20 unknowable, 10 false-premise, 10 ambiguity, 10 friendly, 20 multi-turn), with the browser's system prompt, greedy decoding and repetition penalty 1.1. Flyingkiwi was run as the shipped 8-bit file in the native build of the browser engine; the reference is unchanged Qwen3-0.6B (8-bit, mean KL 0.0014 from fp32). Responses were graded blind against reference answers by AI graders with spot checks; this is a small, assistant-graded test, not an independent human study. The released variant was chosen among several with this same test (listed in the technical report), so its score is slightly optimistic, and the reference's total moved by a few points between grading runs.
| Category | Qwen3-0.6B | Flyingkiwi |
|---|---|---|
| Answerable facts & reasoning | 22/30 (73%) | 20/30 (67%) |
| False-premise correction | 7/10 (70%) | 5/10 (50%) |
| Says when it cannot know | 17/20 (85%) | 18/20 (90%) |
| Handles ambiguity | 0/10 (0%) | 3/10 (30%) |
| Friendly conversation | 6/10 (60%) | 6/10 (60%) |
| Multi-turn context | 11/20 (55%) | 11/20 (55%) |
| All 100 cases | 63/100 (63%) | 63/100 (63%) |
| Wrong-language replies | 0 | 0 |
| Replies with fabricated facts/claims | 6 | 6 |
TruthfulQA MC1 (817 questions, log-likelihood of each option as the assistant's reply in the same chat format): Qwen3-0.6B 25.8%, Flyingkiwi 25.1%. The earlier v3 release scored 21.3%; the concise retraining removed that loss (the difference to the reference is within the test's sampling error of about 1.5 points).
Engine fidelity: mean KL divergence between the browser file run by the engine (8-bit weights, activations and KV cache) and this checkpoint in Transformers, at the first reply token of 30 development prompts: 0.0114.
from transformers import AutoModelForCausalLM, AutoTokenizer
tok = AutoTokenizer.from_pretrained("yunusemrejr/Flyingkiwi-EN-0.6B")
model = AutoModelForCausalLM.from_pretrained("yunusemrejr/Flyingkiwi-EN-0.6B", dtype="auto")
messages = [{"role": "user", "content": "Why is the sky blue?"}]
ids = tok.apply_chat_template(messages, add_generation_prompt=True, return_tensors="pt")
out = model.generate(ids, max_new_tokens=300, do_sample=True, temperature=0.5, top_p=0.9, repetition_penalty=1.1)
print(tok.decode(out[0, ids.shape[1]:], skip_special_tokens=True))
The model was trained with this system prompt most of the time (it also works without one):
You are Flyingkiwi, a small AI assistant made by Yunus Emre Vurgun. You run entirely on the user's device, so you cannot browse the internet, open links or files, or know today's date and recent events. Be friendly, clear and concise. Be truthful: if you are not sure, say so instead of guessing, and politely correct false assumptions. Use Markdown when it helps and put code in fenced code blocks. Reply in English unless the user asks for another language.
flyingkiwi-q8.fkm is the exact file the browser runs (engine source: engine/flyingkiwi.c in this repository's files; format described in engine/fkm.py). Recommended sampling: temperature 0.5, top-p 0.9, top-k 40, min-p 0.05, repetition penalty 1.1.
Apache-2.0, like the base model Qwen/Qwen3-0.6B (© Alibaba Cloud / Qwen team). Teacher outputs come from Qwen/Qwen3.5-35B-A3B (Apache-2.0). Prompt sources: OpenAssistant OASST2 (Apache-2.0), CohereLabs Aya dataset (Apache-2.0), GSM8K (MIT) and TriviaQA (Apache-2.0) questions; FineWeb-Edu, FineWeb-2 and github-code-clean (permissive/ODC-BY) were used only to count token frequencies for the vocabulary.
Qwen/Qwen3-0.6B