gpt2 vs Qwen2.5-VL-7B-Instruct

Try Try

gpt2 has 137M parameters (137M active per token) and takes 548 MB on disk; Qwen2.5-VL-7B-Instruct has 8.29B (7.07B active) and takes 16.6 GB. Compare them layer by layer.

At a glance

openai-community/gpt2Qwen/Qwen2.5-VL-7B-Instruct
Repo createdMar 2, 2022updated Feb 19, 2024Jan 26, 2025updated Apr 6, 2025
Model typeDenseFull attention (MHA)DenseFull attention (GQA)
InputsTextText + images677M vision encoder
Total parameters137M61× less8.29B61× more
Active per token137M52× less100% of the model7.07B52× more85% of the model
ExpertsNone (dense)None (dense)
Max context (from config)1K tokens125× less125K tokens125× more
Layers122.3× less282.3× more
On disk548 MB30× less1 file16.6 GB30× more5 files
PrecisionFP32 (100%)BF16 (100%)
QuantizationNoneoriginal precision (FP32)Noneoriginal precision (BF16)
Fewest GPUs1× RTX 4060a single 8 GB card · weights only1× RTX 4090a single 24 GB card · weights only
Licensemitapache-2.0
GitHubopenai/gpt-2QwenLM/Qwen2.5-VL