Downloads · 30 days
997
10% of all-time downloads
Atomic-Germ/Qwen3.8-Distilled-4B-NPU2
Qwen3.8-Distilled-4B-NPU2 is a image-text-to-text model from Atomic-Germ. Use it for the image-text-to-text task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
Downloads · 30 days
997
10% of all-time downloads
All-time downloads
10.2K
Public
Repo size
18.7 GB
Likes
1
Public
Click a slice to open those files.
.q4nx5 GB · 52%
From the Hugging Face model README
PASSES EVERY FLM-TEST SUITE
FastFlowLM Q4NX conversion of Ma7ee7/Qwen3.8_4B_Distilled for AMD XDNA NPU inference.
This repository contains a quantized Q4NX port of the model, compiled for the FastFlowLM (FLM) runtime. It is not a GGUF file.
Qwen3.8 4B Distilled is a 4-billion-parameter reasoning model created by distilling outputs from Qwen3.8-Max into the smaller Qwen3-4B-Thinking-2507 student model.
The full model was fine-tuned on r0b0tlab/qwen3.8-max-distillation-50k, a dataset of responses and reasoning traces generated by qwen3.8-max-preview.
Q4NX is FastFlowLM's native packed-quantization format - a rearranged Q4_1 layout tuned for the NPU matrix engine's tile sizes and memory access patterns. It is not a GGUF file and it does not run on llama.cpp or Ollama; it is meant exclusively for the FastFlowLM engine on AMD Ryzen AI NPUs.
flm CLI)Tested on an AMD Ryzen AI 340 Framework 13 laptop.
| Context Length | TTFT (s) (mean ± std) | Prefill Speed (tok/s) (mean ± std) | Decoding Speed (tok/s) (mean ± std) |
|---|---|---|---|
| 1k | 2.973 ± 0.077 | 355.72 ± 9.25 | 12.31 ± 0.25 |
| 2k | 4.337 ± 0.050 | 466.84 ± 12.27 | 12.15 ± 0.26 |
| 4k | 8.283 ± 0.014 | 478.02 ± 4.65 | 11.01 ± 0.12 |
| 8k | 17.243 ± 0.065 | 454.02 ± 0.02 | 9.38 ± 0.01 |
| 16k | 41.308 ± 0.071 | 376.84 ± 0.00 | 7.27 ± 0.07 |
| 32k | 116.909 ± 0.294 | 265.53 ± 0.06 | 5.06 ± 0.00 |
| File | Purpose |
|---|---|
| model.q4nx | Quantized Q4NX weights |
| config.json | FastFlowLM model configuration |
| tokenizer.json | Tokenizer |
| tokenizer_config.json | Special tokens and chat template |
| chat_template.jinja | Chat template (optional) |
This repository works with flm-add, a small installer that copies the model
into the FastFlowLM user directory and registers the tag. It never
modifies the system FastFlowLM install.
pip install flm-add or uv tool install flm-add
uv tool install flm-add
flm-add Atomic-Germ/Qwen3.8-Distilled-4B-NPU2 --family qwen3.5
FLM_CONFIG_PATH="$HOME/.config/flm/model_list.json" FLM_XCLBIN_PATH="$HOME/.config/flm" flm run qwen3.8-distilled:4b
FastFlowLM's NPU kernels (xclbins) are closed source and are not shipped in
this repository. flm-add links the kernels of the official qwen3-tk:4b
model (Qwen3-4B-Thinking-2507-NPU2), because this model shares the same engine family
(qwen3) and architecture.
The name Qwen3.8 4B Distilled describes the model's distillation lineage:
qwen3.8-max-previewQwen/Qwen3-4B-Thinking-2507Ma7ee7/Qwen3.8_4B_Distilledr0b0tlab/qwen3.8-max-distillation-50kThis is a Qwen3-architecture student model distilled from Qwen3.8-Max-generated outputs.
The repository does not claim that the underlying architecture or original weights are from Qwen3.8-Max. Qwen3.8-Max is the teacher whose generated responses and reasoning traces were used as training targets for the 4B student.
This repository contains quantized conversions of that independently fine-tuned student model. It is not an official Qwen or Alibaba release.
| Property | Value |
|---|---|
| Model type | Decoder-only causal language model |
| Architecture | Qwen3 |
| Parameters | Approximately 4B |
| Student/base model | Qwen/Qwen3-4B-Thinking-2507 |
| Teacher model | qwen3.8-max-preview |
| Full model | Ma7ee7/Qwen3.8_4B_Distilled |
| Training method | Sequence-level supervised distillation |
| File format | Q4NX |
| Primary task | Reasoning and conversational text generation |
| Primary language | English |
| Thinking mode | Enabled |
This model uses sequence-level knowledge distillation.
The smaller student was trained on complete responses produced by the larger teacher. This transfers parts of the teacher's behavior, reasoning patterns, solution structure, and response style without copying the teacher's architecture or weights.
Therefore:
The model inherits a thinking-oriented chat format from Qwen3-4B-Thinking-2507. Depending on the inference application and reasoning parser, visible reasoning may be displayed in a form similar to:
[FLM] Model RAW Output:
<think>
The user is asking a straightforward factual question: "What is the capital of France?"
Since no specific tools or functions are available for answering such questions, I'll simply provide the answer directly.
</think>
The capital of France is **Paris**.
Some applications may hide the thinking section, place it in a collapsible panel, or display it separately from the final answer.
The full model was trained on:
r0b0tlab/qwen3.8-max-distillation-50k
The dataset contains teacher-generated examples across areas including:
Teacher responses were generated by qwen3.8-max-preview. Visible <think>...</think> reasoning traces were retained when present in the dataset.
This model is intended for local experimentation with:
This model repository is published under the Apache License 2.0.
This license does not override the licenses, attribution requirements, or usage terms associated with:
Users are responsible for reviewing the relevant upstream model, dataset, and provider terms before redistribution or commercial use.
This model builds upon work from:
r0b0tlab for the Qwen3.8-Max Distillation 50K dataset@misc{r0b0tlab2026qwen38distillation50k,
title = {Qwen3.8-Max Distillation 50K},
author = {r0b0tlab},
year = {2026},
publisher = {Hugging Face},
howpublished = {\url{https://huggingface.co/datasets/r0b0tlab/qwen3.8-max-distillation-50k}}
}
Qwen3.8 4B Distilled GGUF is an independent community release by Ma7ee7.
It is not produced, endorsed, or officially released by the Qwen team, Alibaba, or Alibaba Cloud.
@misc{qwen3technicalreport,
title={Qwen3 Technical Report},
author={Qwen Team},
year={2025},
eprint={2505.09388},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2505.09388},
}