Model Depth
What is Model Depth?
In one sentence: Model depth is how many layers, or Transformer blocks, a model has stacked on top of each other.
A deeper model can build more steps of understanding, one layer on top of another. But deeper models are slower, because each layer must finish before the next starts, and they can be harder to train.
What does Model Depth look like?
Llama 3 8B has 32 layers, while bigger models can have 80 or more.
Why does Model Depth matter?
Depth is one of the two main ways to make a model bigger, along with width.
Last updated · Fact-checked by The AI Math
Linking to this page from a lesson or article? <a href="https://getaimath.com/dictionary/model-depth/">Model Depth, explained simply</a> (The AI Math Dictionary)