gpt2 vs Ternary-Bonsai-2-27B-gguf

Try Try

gpt2 has 137M parameters (137M active per token) and takes 548 MB on disk; Ternary-Bonsai-2-27B-gguf has 26.9B (25.6B active) and takes 53.8 GB. Compare them layer by layer.

At a glance

openai-community/gpt2prism-ml/Ternary-Bonsai-2-27B-gguf
Repo createdMar 2, 2022updated Feb 19, 2024Sep 16, 2026updated Sep 17, 2026
Model typeDenseFull attention (MHA)DenseHybrid attention: 48 linear + 16 full (GQA)
InputsTextText + imagesvision encoder in a separate mmproj file, not counted here
Total parameters137M196× less26.9B196× more
Active per token137M187× less100% of the model25.6B187× more95% of the model
ExpertsNone (dense)None (dense)
Max context (from config)1K tokens256× less256K tokens256× more
Layers125.3× less645.3× more48 linear + 16 full attention
On disk548 MB98× less1 file53.8 GB98× more1 file
PrecisionFP32 (100%)FP16 (100%)
QuantizationNoneoriginal precision (FP32)F16 (GGUF)original precision (FP16)
Fewest GPUs1× RTX 4060a single 8 GB card · weights only1× NVIDIA H100a single 80 GB card · weights only
Licensemitapache-2.0
GitHubopenai/gpt-2Not linked