llama-arch-swiglu-rope-rmsnorm

IN premiseentries/2026/06/21/wiki-LLaMA-chunk-1.md

Created 2026-06-21T09:50:09+00:00

Llama uses SwiGLU activation (not GeLU), rotary positional embeddings/RoPE (not absolute), and RMSNorm (not LayerNorm), differing from GPT-3's architecture

Summary

Llama's internal building blocks were chosen to be different from GPT-3's in three specific ways: how it sharpens signals between layers, how it encodes word order, and how it stabilizes inputs. This means the two models are not structurally interchangeable, and anyone trying to reimplement, fine-tune, or extend Llama has to work with these specific components rather than assuming the older GPT-3 defaults will apply.

Dependents

These beliefs depend on this one: