gpt2 vs jina-ocr-v1

Try Try

gpt2 has 137M parameters (137M active per token) and takes 548 MB on disk; jina-ocr-v1 has 3.37B (708M active) and takes 6.74 GB. Compare them layer by layer.

At a glance

openai-community/gpt2jinaai/jina-ocr-v1
Repo createdMar 2, 2022updated Feb 19, 2024Sep 1, 2026updated Sep 18, 2026
Model typeDenseFull attention (MHA)Mixture of expertsFull attention (MHA)
InputsTextText + images303M vision encoder
Total parameters137M25× less3.37B25× more
Active per token137M5.2× less100% of the model708M5.2× more21% of the model
ExpertsNone (dense)6 of 64 activeplus 2 shared, always on
Max context (from config)1K tokens32× less32K tokens32× more
Layers12same12same
On disk548 MB12× less1 file6.74 GB12× 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
Licensemitcc-by-nc-4.0
GitHubopenai/gpt-2Not linked