gpt2 vs Edge0-35B-A3B-preview

Try Try

gpt2 has 137M parameters (137M active per token) and takes 548 MB on disk; Edge0-35B-A3B-preview has 34.7B (2.95B active) and takes 19.5 GB. Compare them layer by layer.

At a glance

openai-community/gpt2Edge0/Edge0-35B-A3B-preview
Repo createdMar 2, 2022updated Feb 19, 2024Sep 8, 2026updated Sep 17, 2026
Model typeDenseFull attention (MHA)Mixture of expertsHybrid attention: 30 linear + 10 full (GQA)
InputsTextText
Total parameters137M253× less34.7B253× more
Active per token137M22× less100% of the model2.95B22× more8.5% of the model
ExpertsNone (dense)8 of 256 activeplus 1 shared, always on
Max context (from config)1K tokens256× less256K tokens256× more
Layers123.3× less403.3× more30 linear + 10 full attention
On disk548 MB36× less1 file19.5 GB36× more4 files
PrecisionFP32 (100%)4-bit MLX (89%), scales (11%), other (0.12%)
QuantizationNoneoriginal precision (FP32)4-bit MLXgroups of 64 · 100% of parameters
Fewest GPUs1× RTX 4060a single 8 GB card · weights only1× RTX 4090a single 24 GB card · weights only
Licensemitapache-2.0
GitHubopenai/gpt-2Edge0-AI/edge0