gpt2 vs Qwen3.5-2B

Try Try

gpt2 has 137M parameters (137M active per token) and takes 548 MB on disk; Qwen3.5-2B has 2.27B (1.94B active) and takes 4.55 GB. Compare them layer by layer.

At a glance

openai-community/gpt2Qwen/Qwen3.5-2B
Repo createdMar 2, 2022updated Feb 19, 2024Feb 28, 2026updated Mar 2, 2026
Model typeDenseFull attention (MHA)DenseHybrid attention: 18 linear + 6 full (GQA)
InputsTextText + images331M vision encoder
Total parameters137M17× less2.27B17× more
Active per token137M14× less100% of the model1.94B14× more85% of the model
ExpertsNone (dense)None (dense)
Max context (from config)1K tokens256× less256K tokens256× more
Layers122.0× less242.0× more18 linear + 6 full attention
On disk548 MB8.3× less1 file4.55 GB8.3× more1 file
PrecisionFP32 (100%)BF16 (100%)
QuantizationNoneoriginal precision (FP32)Noneoriginal precision (BF16)
Fewest GPUs1× RTX 4060a single 8 GB card · weights only1× RTX 4060a single 8 GB card · weights only
Licensemitapache-2.0
GitHubopenai/gpt-2Not linked