C.W.K.
Stream
Lesson 05 of 11 · published

The Llama Lineage: Open-Weight Frontier

~10 min · llama, meta, open-weight

Level 0Token
0 XP0/94 lessons0/10 achievements
0/120 XP to next level120 XP to go0% complete

Meta's Llama series democratized large language model research. Each release pushed forward what 'open weights' could mean.

ReleaseDateVariantsContextNotable
Llama 1Feb 20237B / 13B / 33B / 65B2KFirst competitive open-weight LLM (research-only license)
Llama 2Jul 20237B / 13B / 70B4KCommercial license, chat fine-tunes
Llama 3Apr 20248B / 70B8K → 128K128K vocab, GQA, SwiGLU, RoPE — modern architecture template
Llama 3.1Jul 20248B / 70B / 405B128K405B flagship matches GPT-4-class proprietary models
Llama 3.2Sep 20241B / 3B / 11B vision / 90B vision128KSmaller text models + first vision models
Llama 3.3Dec 202470B128KRefined post-training; 39.3M H100 GPU-hours
Llama 4 ScoutApr 2025109B / 17B active10MMoE, iRoPE, multimodal native
Llama 4 MaverickApr 2025400B / 17B active1M128 experts + 1 shared expert
Llama 4 Behemoth(announced)~2T total / 288B activeFrontier-class teacher model (in training as of 2025)

Llama 3.3 70B's architecture: 80 layers, d_model=8192, 64 Q heads with 8 KV heads (GQA group size 8), SwiGLU activation, RMSNorm, RoPE positional encoding, 128K context window. This is the template every modern open-weight team starts from.

Code

Loading and inspecting Llama 3.3 70B·python
from transformers import AutoConfig
cfg = AutoConfig.from_pretrained("meta-llama/Llama-3.3-70B-Instruct")
for k, v in vars(cfg).items():
    if not k.startswith('_'):
        print(f"  {k} = {v}")
# d_model = 8192, num_hidden_layers = 80,
# num_attention_heads = 64, num_key_value_heads = 8,
# intermediate_size ≈ 28672, vocab_size = 128256, ...

External links

Exercise

Compare config.json files across Llama 1 7B, Llama 3 8B, and Llama 4 Scout. Track how (d_model, n_layers, n_heads, n_kv_heads, vocab_size, context_length) evolved. Plot 'parameters' against 'context length' on a log-log scale. Where on this curve does each generation sit?

Progress

Progress is local-only — sign in to sync across devices.
Spotted a bug or have feedback on this page?Report an Issue

Comments 0

🔔 Reply notifications (sign in)
Sign inPlease sign in to comment.

No comments yet — be the first.