Repository navigation
Is Qwen3 Next 80B-A3B actually correct? #1115
|
Dear Mr. Raschka, Sorry for questioning your knowledge, but I saw difference between your explanation and Qwen's article, exactly on DeltaNet architecture diagram. However, source code from huggingface somehow reflects more into your explanation? I have no idea which one is correct. It is a blessing if you could tell us the source of your explanation. Thank you! |
Replies: 1 comment 6 replies
|
Not the author, so I can't say where the drawing came from, but I compared both figures against the code. They draw the same layer and simplify different parts, and the code is what actually runs. I checked transformers at the SHA you linked ( The README's Gated DeltaNet figure (L128) is basically a redraw of Qwen's. The overview figure at the top (L7) is the one that differs:
So the README overview matches the code for α and β, and Qwen's figure is the accurate one for the conv activation. Qwen's bare α/β is a simplification. Their drawing has the same layout as the block design in Figure 1 of the Gated DeltaNet paper (Yang et al., 2024), whose Section 3.4 says α and β "use linear projection only", with a footnote that α uses Mamba2's parameterization, omitted for brevity. Same topic as #902. One real difference in the README's simplified code: |
Not the author, so I can't say where the drawing came from, but I compared both figures against the code. They draw the same layer and simplify different parts, and the code is what actually runs. I checked transformers at the SHA you linked (
Qwen3_5GatedDeltaNet;Qwen3NextGatedDeltaNetcomputes the same thing with fused projections).The README's Gated DeltaNet figure (L128) is basically a redraw of Qwen's. The overview figure at the top (L7) is the one that differs:
sigmoid(in_proj_b(x)), one per head (L604)