Comment Comment by jorlow Note llama's feed forward is a bit different too: self.w2(F.silu(self.w1(x)) * self.w3(x)) I.e. the nonlinearity is a gate.https://github.com/meta-llama/llama3/blob/14aab0428d3ec3a959... parent jorlow 2 years ago
https://github.com/meta-llama/llama3/blob/14aab0428d3ec3a959...