ThatAIguyA world of ideas

THE CONSCIOUSNESS ATLAS
Read. Experiment. Follow the evidence.

ConsciousnessLearn · Explore · Joseph Anady

SwiGLU-style gated feed-forward projection

Two learned maps project x into the intermediate width. The configured activation, SiLU in these dossiers, is applied to the gate projection; its result multiplies the up-projection componentwise. A down-projection maps that gated intermediate vector back to the…

Donor model implementationhistorical source recovered; expression not executed in this website audit
Learn with the Atlas

Learn to read this model

Start with the symbols, follow the operations, and check what the result means.

Open guided lesson
donor-eq-03f1de4a08694dsource-code mathematical expression
downproj=self.downproj(self.actfn(self.gateproj(x))∗self.upproj(x))down_proj = self.down_proj( self.act_fn(self.gate_proj(x)) * self.up_proj(x))

Read the equation

Two learned maps project x into the intermediate width. The configured activation, SiLU in these dossiers, is applied to the gate projection; its result multiplies the up-projection componentwise. A down-projection maps that gated intermediate vector back to the residual width. This formula does not itself establish the numerical exactness of a substituted linear layer.

Terms & definitions

TermMeaning in this source
x

Input residual vector

How it works

Read the definition from its right-hand expression to the quantity on the left. Its surrounding source records the intended input, state, or parameter context. Where the source leaves an operation unspecified, this page preserves that gap.

Assumptions & limits

Source recovery establishes that the expression appears in this record. Its mathematical validity, implementation behavior, and interpretation must be assessed separately. See the linked source and research notes for the checks available for this version.

Original context

Read the surrounding source passage
self.act_fn = ACT2FN[config.hidden_act]

    def forward(self, x):
        down_proj = self.down_proj(
            self.act_fn(self.gate_proj(x)) * self.up_proj(x))
        return down_proj

    def to_exact(self, act_bits=16):
Exact original notation
down_proj = self.down_proj(
            self.act_fn(self.gate_proj(x)) * self.up_proj(x))

Related builds

Sources & provenance

01
kimi source tree.txt
lines 2710–2711 · Aug 5, 2026
down_proj = self.down_proj( self.act_fn(self.gate_proj(x)) * self.up_proj(x))
02
DEEPSEEK_R1_COMPLETE.txt
lines 2499–2499 · Aug 5, 2026
down_proj = self.down_proj(self.act_fn(self.gate_proj(x)) * self.up_proj(x))
03
kimi source tree.txt
lines 2710–2711 · Aug 5, 2026
down_proj = self.down_proj( self.act_fn(self.gate_proj(x)) * self.up_proj(x))
04
DEEPSEEK_R1_COMPLETE.txt
lines 2499–2499 · Aug 5, 2026
down_proj = self.down_proj(self.act_fn(self.gate_proj(x)) * self.up_proj(x))

Search equations, builds, manuscript text, and recovered sources.