The macro-F1 reflects a dataset that caps majority CWEs (e.g. CWE-79) so rare weaknesses are
learned rather than drowned out.
Note: This Ollama command has not been verified end-to-end. This is a standard qwen3
model so the embedded template should apply normally — but if ollama run ignores the
system prompt and produces rambling text instead of a bare CWE ID, supply an explicit
ChatML Modelfile TEMPLATE as shown in the Qwen3.5-4B card.
ChatML (Qwen3 standard). System prompt fixed; the description is the only user input — never feed the
label or CVE-ID.
Apache-2.0 (inherited from Qwen3-8B). Dataset derives from public upstreams (NVD, MITRE CVE/CWE).