Model page

qwen-community/Qwen3-4B-FP8 warn

The chat template differs from its base model, which changes behavior.

downloads 803likes 0license apache-2.0arch qwen3params 4411.6Mupdated 2025-04-28

claims base: Qwen/Qwen3-4B · chat template: present · view on Hugging Face ↗

Scan coverageStatic battery2026-08-21Weights battery2026-08-21Behavioral batterynot rundetails
BatteryLooks atStatus
Static batteryMetadata & packagingcomplete 2026-08-21
Weights batteryWeights forensics: no GPU, no downloadcomplete 2026-08-21151,936-token embedding scanned · 0 undertrained · lineage consistent
Behavioral batteryLive-inference differentialsnot run

Ingot runs three batteries against a model. What each one checks →

Findings

Scanned 2026-08-21 · published from a community scan.

medium Chat template differs from claimed parent

The chat template does not match Qwen/Qwen3-4B's. Template drift silently changes model behavior even when weights are identical — 37% of drifted derivatives in our census left it undisclosed. Diff the templates before deploying.

How to fixingot patch

Restore the parent's chat template in `tokenizer_config.json` — a pure metadata fix.

  1. Run `ingot patch <owner/model>` — the patch manifest carries the parent's template and applies it to a local copy's `tokenizer_config.json`.
  2. Or fix by hand: copy the `chat_template` value from the parent repo's `tokenizer_config.json` into this model's, and pin your serving stack to that file.
  3. If the drift was intentional (the author retrained on a new template), confirm that in the model card before "fixing" it — restoring the parent template on retrained weights changes behavior too.

info Embedding-norm glitch scan clean

No undertrained tokens found: every non-special token's embedding norm is above 0.3× the vocabulary median (1.126). The glitch-token data-corruption class has no candidate surface in this model.

info Weights consistent with claimed parent Qwen/Qwen3-4B

Mean cosine similarity of 64 sampled token-embedding rows against Qwen/Qwen3-4B is 1.000 — the weights plausibly descend from the declared base (relation: unspecified).

Put this result in your workflow

Check every checkpoint before it ships

Use the web app, API, CLI, or CI gate to scan candidate checkpoints and catch model drift before deployment. Public-model scans publish to the open database; paid plans add the volume needed for continuous checks.

Fix it

Some findings are metadata-level and patchable — apply the fixes to your local copy (your weights never leave your machine):

npx @ingotai/scan patch qwen-community/Qwen3-4B-FP8

Remediation guidance addresses the documented findings only. It is evidence-driven repair, not a safety certification of the model.

Fingerprint

The durable profile of this model: measured weights-and-metadata facts, rebuilt on every scan and battery run. Updated 2026-08-21.

architectureqwen3 · 36 layers · 2560-dim
parameters4411.6M
vocabulary151,936 tokens
licenseapache-2.0
serializationsafetensors
chat templatepresent · sha256:87a2728cb8dc9fe4
claimed lineageQwen/Qwen3-4B
lineage verifiedconsistent vs Qwen/Qwen3-4B — embedding-row cosine 1.000
glitch-token surfaceclean no undertrained tokens
Full measured fingerprint
architecturesQwen3ForCausalLM
librarytransformers
pipelinetext-generation
repo files11
revisionf79388891382
HF snapshot688 downloads · 0 likes · updated 2025-04-28 · captured 2026-08-21
embedding tensormodel.embed_tokens.weight · BF16 · 151,936×2560
embedding normsmedian 1.1262 · mean 1.0974
lineage checkconsistent — cosine 1 over 64 sampled rows vs Qwen/Qwen3-4B
Battery runs (1)the run trace behind the findings — what each job measured
batterystatusqueueddurationattempts
weightscomplete2026-08-21 05:1369s1
weights run 2026-08-21 — measurements
probes runglitch-norm-scan, lineage-norm-correlation
embedding tensormodel.embed_tokens.weight · BF16 · 151,936×2560
glitch surface0 undertrained, 0 plain-ASCII
lineage checkconsistent — cosine 1 over 64 rows vs Qwen/Qwen3-4B

Verdict badge

Ship the verdict in your README — it always shows the latest published analysis:

Ingot verdict: warn

[![Ingot scan](https://ingot.tools/api/v1/models/qwen-community/Qwen3-4B-FP8/badge.svg)](https://ingot.tools/models/qwen-community/Qwen3-4B-FP8)
Gate it in CI