license: apache-2.0
base_model: huihui-ai/Huihui-Qwen3.5-4B-Claude-4.6-Opus-abliterated
base_model_relation: quantized
pipeline_tag: text-generation
library_name: qnn
language:
- multilingual
tags: - tokforge
- on-device
- npu
- qualcomm
- qnn
- hexagon
- mnn
- qwen3.5
- abliterated
- snapdragon
Qwen3.5 4B Claude 4.6 Opus Abliterated (QNN NPU pack)
An NPU pack for Qwen3.5 4B Claude 4.6 Opus Abliterated in TokForge: the NPU of a Snapdragon phone reads long prompts, and the CPU writes every reply with the matching MNN download.
Published by TokForge for on-device inference.
| What it is | NPU prompt pack (for Qwen3.5 4B Claude 4.6 Opus Abliterated) |
| Format | QNN context binaries for the Hexagon NPU plus a small MNN graph, built with QAIRT 2.40; one folder per chip, about 3.7 GB each |
| Runs on | Snapdragon phones (Hexagon NPU), with the paired MNN model on the CPU |
| Phone class | Snapdragon 8 Elite Gen 5 or Snapdragon 8 Gen 3, with room for about 5.9 GB more memory while the model is loaded |
| Download | 7.32 GB (106 files) |
| Base model | huihui-ai/Huihui-Qwen3.5-4B-Claude-4.6-Opus-abliterated, through TokForge's MNN conversion darkmaniac7/Qwen3.5-4B-Claude-4.6-Opus-abliterated-MNN |
| License | Apache-2.0 |
TokForge
- Website: https://tokforge.ai
- Discord: https://discord.gg/Acv3CBtfVm
- Google Play: https://play.google.com/store/apps/details?id=dev.tokforge
- iOS TestFlight: https://testflight.apple.com/join/jnufjzRr
Runs on-device in the TokForge app.
Use it in TokForge
- Install TokForge from Google Play.
- On Android, open Models > Browse, search for
Qwen3.5-4B-Claude-4.6-Opus-abliterated-MNNand download it. This model is not in the Recommended list. - Get the pack: open Models > Browse and tap Get next to the model under NPU packs for your phone, or turn on Faster long prompts (NPU) in the model's settings when TokForge offers it. TokForge downloads only the folder for your chip, checks every file by sha256, and compares the NPU with the CPU on your phone before it uses the NPU.
- Load the model and chat as usual. Long prompts are read on the NPU; replies are written on the CPU.
TokForge reads the list of packs from darkmaniac7/TokForge-NPU-packs and downloads this pack at the commit named there. The Qualcomm runtime libraries are not in this repo; TokForge ships them inside the app.
Collections: TokForge NPU Packs.
Files
| File | Size | What it is |
|---|---|---|
Qwen3.5-4B-Claude-4.6-Opus-abliterated-MNN-catalogpair/ |
7.32 GB in 105 files | The pack: MANIFEST.json plus one folder per chip (v81/, v75/), each with 49 QNN context binaries, qnn/llm.mnn, qnn/llm_config.json and config_qnn.json |
SHA256SUMS |
14.9 KB | sha256 of every file |
A phone downloads only MANIFEST.json and the folder for its own chip.
What is in it
QNN context binaries (the model's layers compiled for the Hexagon NPU) for two chips, plus the small MNN graph and
configs that drive them. A phone downloads only the folder for its own chip.
The original model is by the Qwen team; reasoning distill by
Jackrong, abliterated (fewer refusals) by
huihui-ai. This pack is exported from
TokForge's MNN conversion of that model and only changes the runtime format for the phone's NPU.
| Chip | NPU | Folder | Download |
|---|---|---|---|
| Snapdragon 8 Elite Gen 5 (SM8850) | Hexagon V81 | Qwen3.5-4B-Claude-4.6-Opus-abliterated-MNN-catalogpair/v81/ |
3.67 GB (3,665,201,712 bytes) |
| Snapdragon 8 Gen 3 (SM8650) | Hexagon V75 | Qwen3.5-4B-Claude-4.6-Opus-abliterated-MNN-catalogpair/v75/ |
3.65 GB (3,650,346,088 bytes) |
Each chip folder holds 49 context binaries (qnn/graph0.bin to qnn/graph48.bin), qnn/llm.mnn (the MNN graph
that drives them), qnn/llm_config.json and config_qnn.json. Qwen3.5-4B-Claude-4.6-Opus-abliterated-MNN-catalogpair/MANIFEST.json lists every file per chip
with its sha256 and size, and the exact download the pack pairs with. SHA256SUMS covers every file in this repo; its README.md line is for an earlier version of this card.
Pairs with one exact download
The pack works only on top of darkmaniac7/Qwen3.5-4B-Claude-4.6-Opus-abliterated-MNN at commit0184c2c9bf71 (the TokForge MNN conversion of
huihui-ai/Huihui-Qwen3.5-4B-Claude-4.6-Opus-abliterated). TokForge matches the two by file hashes:
| File in the paired download | bytes | sha256 |
|---|---|---|
| llm.mnn | 3,651,096 | 9d6ed852d70613abafc292c33298c727ac19e414b5960c93bcfcecb9c7bd45a6 |
| llm.mnn.weight | 2,366,588,266 | 0b206c420482dea8e6f7096d19bf9eb61ab90203d0d0b021df2ece14ad91d639 |
| tokenizer.txt | 2,955,203 | 3f1f5a131d209db739382cd25cf5cc0b2769c87503878a12e4f3a1ed4ca2311c |
With any other download the pack is not used. The pack has no weight file of its own: the NPU weights are inside
the compiled graphs, and the token embeddings are read from the paired download's llm.mnn.weight.
What runs where
- NPU: the 49 compiled graphs, which hold the projections, the MLP blocks and most of the norms of all 32 layers.
- CPU, in the same prompt pass: the 24 linear-attention cores and the 8 full-attention cores with their
key/value cache, a few small norms (their constants are insideqnn/llm.mnn) and the token embedding lookup. - CPU, with your download: the end of the prompt that does not fill a whole 128-token chunk, and every token of
the reply. The pack has no output layer, so the reply always comes from the model you downloaded. - Short prompts stay on the CPU. If the NPU stops during a reply, the CPU finishes it.
How it was made
Exported from the paired download's own int4 weights: MNN's loader dequantizes them, and MNN llmexport (TokForge's
fork of MNN) writes 8-bit per-channel symmetric weights with fp16 activations, feeds
the rotary tables as fp32 inputs and cuts the graph before the output layer. compilefornpu splits the 32 layers into
49 NPU graphs at 24 linear-attention breaks and 40 scalar breaks, each with a 128-row chunk shape and a 1-row shape.
The Qualcomm AI Engine Direct SDK from QAIRT 2.40.0.251030 compiles every graph into one context binary per
chip with the strict HTP options (optimization level 3, fp16 relaxed precision, high-precision sigmoid, advanced
activation fusion off, 8 MB VTCM, 4 HVX threads, weight sharing, and extended UDMA on V81 only, since V75 does not accept it).
The build stops on any difference between a graph's declared inputs and outputs and what QNN created, and every
context binary is read back against its declaration, on each chip. The NPU reads the prompt in 128-token chunks.
Source training weights were not edited.
Limitations
- Snapdragon 8 Elite Gen 5 and Snapdragon 8 Gen 3 only. On other chips TokForge reads prompts on the CPU.
- The NPU part needs about 5.9 GB of memory while the model is loaded; TokForge turns it on only when the phone has
room for it. Measured on phones: 5.90 GB on the Snapdragon 8 Elite Gen 5, 5.85 GB on the Snapdragon 8 Gen 3. - Runtime files for TokForge and MNN, not a Transformers checkpoint.
- The model can still get facts wrong. Check important answers.
License
Apache License 2.0 (https://www.apache.org/licenses/LICENSE-2.0), as the original model, the derived models and the MNN conversion. All
source authors keep their copyrights; no endorsement is claimed.
The context binaries were compiled with Qualcomm's QAIRT SDK. The Qualcomm runtime libraries that run them are not in
this repo; TokForge ships them inside the app under the Qualcomm AI Stack License.
Credits
- Huihui-Qwen3.5-4B-Claude-4.6-Opus-abliterated by huihui-ai (Hugging Face). Used under the Apache-2.0 license.
- Qwen3.5-4B-Claude-4.6-Opus-Reasoning-Distilled by Jackrong (Hugging Face). Used under the Apache-2.0 license.
- Qwen3.5-4B by the Qwen team (Alibaba Cloud) (Hugging Face). Used under the Apache-2.0 license.
- The MNN conversion darkmaniac7/Qwen3.5-4B-Claude-4.6-Opus-abliterated-MNN by TokForge, whose int4 weights this pack is exported from. Apache-2.0.
- Exported with llmexport and run by MNN by Alibaba. Apache-2.0.
- Compiled for the Hexagon NPU with the Qualcomm AI Engine Direct SDK from the Qualcomm AI Runtime (QAIRT) 2.40.0.251030 by Qualcomm. This pack contains compiled model graphs only, no Qualcomm runtime libraries.