gpt2 vs Qwen3-1.7B

Try Try

gpt2 has 137M parameters (137M active per token) and takes 548 MB on disk; Qwen3-1.7B has 2.03B (1.72B active) and takes 4.06 GB. Compare them layer by layer.

At a glance

openai-community/gpt2Qwen/Qwen3-1.7B
Repo createdMar 2, 2022updated Feb 19, 2024Apr 27, 2025updated Jul 26, 2025
Model typeDenseFull attention (MHA)DenseFull attention (GQA)
InputsTextText
Total parameters137M15× less2.03B15× more
Active per token137M13× less100% of the model1.72B13× more85% of the model
ExpertsNone (dense)None (dense)
Max context (from config)1K tokens40× less40K tokens40× more
Layers122.3× less282.3× more
On disk548 MB7.4× less1 file4.06 GB7.4× more2 files
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-2QwenLM/Qwen3