A compiled Core ML build of QwenPaw-Flash-9B, packaged to run entirely on device on the Apple Neural Engine (ANE). It targets macOS (Apple silicon), needs no network at inference time, and streams tokens locally with the weights quantized to 6 bits.
This repository holds the compiled model set only, not training or original weights. It is a self-contained artifact that a companion on-device runtime loads to drive generation. Nothing here calls out to a server.
QwenPaw-Flash-9B shares the Qwen3.5 hybrid design: of its 32 layers, 24 are Gated DeltaNet linear-attention (state-space) blocks and 8 are full softmax-attention blocks, interleaved "three linear, one attention". The linear blocks carry a small fixed-size recurrent state instead of a growing key/value cache, so memory stays flat as context grows, while the periodic attention blocks preserve exact long-range recall. It is the largest of the 0.8B, 2B, and 4B builds, with the same vocabulary and a deeper, wider network. Unlike the smaller builds it does not tie its input and output embeddings, so it ships a separate output-projection matrix. This build converts the upstream model to Core ML and palettizes the weights to 6 bits for on-device use.
On-device assistants and chat, drafting, and summarization, in offline or privacy-sensitive settings where prompts must not leave the device. At 9B parameters it is the most capable of these builds but also the heaviest: it is intended for Apple silicon Macs with ample memory, not phones. The set is driven by an on-device runtime that runs prompt ingestion (prefill) as a batched pass on the Neural Engine and generates tokens one at a time, carrying the linear-attention state forward and reading the attention layers from a paged key/value cache.
Not for tasks requiring verified factual accuracy, and not a basis for legal, medical, financial, or safety decisions. Not intended for high-stakes automated decisions without human review.
A language model predicts plausible text; it does not verify facts and has no understanding of truth. Output can be confident and still be wrong, incomplete, or biased, and 6-bit quantization can widen small errors relative to the base model. The base model's biases and limitations carry over; see the base model card.
Treat every response critically and check important output against a trusted source. This model defaults to emitting a "thinking" prefix; preserve that per-model default when integrating a chat template.
The repository contains a set of compiled .mlmodelc programs plus the
tokenizer. It is designed to be loaded by an on-device runtime that implements
paged key/value attention on the host between the Neural Engine trunk programs;
it is not a single .mlpackage you call with one prediction. The included
chat_template.jinja documents the chat format (roles, the "thinking" prefix,
tool-call rendering).
| Property | Value |
|---|---|
| Objective | Autoregressive next-token prediction |
| Hidden size | 4096 |
| Layers | 32 (24 Gated DeltaNet + 8 attention) |
| Attention heads | 16 query / 4 key-value (grouped-query) |
| Vocabulary | 248320 |
| Context length | up to 262144 tokens |
| Tied embeddings | no (separate output projection) |
| Weight format | 6-bit palettized (per-grouped-channel k-means) |
| Activations | fp16 |
mf0of9.mlmodelc ... mf8of9.mlmodelc - the transformer trunk, cut into 9
programs around the attention layers; each is a multifunction bundle whose
"prefill" (batched) and "decode" (single-token) graphs share one quantized
weight blob, so the weights are resident once.head.mlmodelc - the vocabulary matrices as one bundle of three functions: the
token-embedding matrix (shared by the single-token and batched embed lookups,
one quantized copy) and a separate output-projection (lm_head) matrix, since
9B does not tie them.tile.mlmodelc, tile_prefill.mlmodelc, tile_carry.mlmodelc - weightless
flash-attention kernels for the paged key/value cache.tokenizer.json, tokenizer_config.json, chat_template.jinja - the
byte-level BPE tokenizer and chat template.Please cite the upstream QwenPaw-Flash-9B model. See the base model card at agentscope-ai/QwenPaw-Flash-9B for the canonical reference and license.
leok7v on Hugging Face.
Have the files? Publish a torrent.
Publish a torrentHave the complete files and permission to share them? Replace the example folder path. The script checks the files, makes a torrent and submits its magnet and checksums. Keep your torrent client seeding. Get your community key from your settings, and read the script before running it.
curl -fsSL https://pirateface.co/package.sh | bash -s -- --repo leok7v/QwenPaw-Flash-9B-coreml ./model-folderhead.mlmodelc/weights/weight.bin 1.5 GBvision.mlmodelc/weights/weight.bin 909 MBmf1of9.mlmodelc/weights/weight.bin 650 MBmf2of9.mlmodelc/weights/weight.bin 650 MBmf3of9.mlmodelc/weights/weight.bin 650 MBmf4of9.mlmodelc/weights/weight.bin 650 MBmf5of9.mlmodelc/weights/weight.bin 650 MBmf6of9.mlmodelc/weights/weight.bin 650 MBmf7of9.mlmodelc/weights/weight.bin 650 MBmf0of9.mlmodelc/weights/weight.bin 524 MBmf8of9.mlmodelc/weights/weight.bin 126 MBmf3of9.mlmodelc/coremldata.bin 2.2 kBmf4of9.mlmodelc/coremldata.bin 2.2 kBmf5of9.mlmodelc/coremldata.bin 2.2 kBmf6of9.mlmodelc/coremldata.bin 2.2 kBmf7of9.mlmodelc/coremldata.bin 2.2 kBmf2of9.mlmodelc/coremldata.bin 2.2 kBmf1of9.mlmodelc/coremldata.bin 2.2 kBmf0of9.mlmodelc/coremldata.bin 2 kBmf8of9.mlmodelc/coremldata.bin 0.5 kBtile_carry.mlmodelc/coremldata.bin 0.5 kBhead.mlmodelc/coremldata.bin 0.4 kBtile.mlmodelc/coremldata.bin 0.4 kBtile_prefill.mlmodelc/coremldata.bin 0.4 kBvision.mlmodelc/coremldata.bin 0.4 kBhead.mlmodelc/analytics/coremldata.bin 0.2 kBmf0of9.mlmodelc/analytics/coremldata.bin 0.2 kBmf1of9.mlmodelc/analytics/coremldata.bin 0.2 kBmf2of9.mlmodelc/analytics/coremldata.bin 0.2 kBmf3of9.mlmodelc/analytics/coremldata.bin 0.2 kBmf4of9.mlmodelc/analytics/coremldata.bin 0.2 kBmf5of9.mlmodelc/analytics/coremldata.bin 0.2 kBmf6of9.mlmodelc/analytics/coremldata.bin 0.2 kBmf7of9.mlmodelc/analytics/coremldata.bin 0.2 kBmf8of9.mlmodelc/analytics/coremldata.bin 0.2 kBtile.mlmodelc/analytics/coremldata.bin 0.2 kBtile_carry.mlmodelc/analytics/coremldata.bin 0.2 kBtile_prefill.mlmodelc/analytics/coremldata.bin 0.2 kBvision.mlmodelc/analytics/coremldata.bin 0.2 kBagentscope-ai/QwenPaw-Flash-9B