All models

eva02 (MMPretrain)

A plain vision transformer that learns by reconstructing CLIP features under masking.

Image classification · 143 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (16 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Family
EVA-02
Parameters
731.4K
Operations
143
Framework
PyTorch
Recurrent
No
Published
2024, Image and Vision Computing
Authors
Yuxin Fang, Quan Sun, Xinggang Wang and others
Source
timm 1.0.30
Name in source
mmpretrain:eva02
License
Apache-2.0
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m6971
Graph hash
82eccdcfe0af2b42079bc33261bb222df852b3364c9cdb93b13ded3fa025e917
Skeleton hash
f422707612605a4de2afeccd00233ff27bdfe038cb18bb61dde7af29bc159bf0
Architecture hash
4d0671356a393c7f26bc4d5ca0cd2481b107315de0a1efccc3caa3de9aa86587
Diagram SHA-256
dfd4c764b7d8b7dd15eee50101f0db80a03ef817da40a0862b873fba6250e1ac
TorchLens version
2.35.3
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

How this diagram was made

menagerie.classics.wave_b_openmmlab:build_mmpretrain: build({})

What it is

About this model's family

EVA-02 is a plain Transformer visual representation, pre-trained by masked image modeling to reconstruct strong, language-aligned vision features from a giant CLIP vision encoder. The authors describe an updated plain Transformer architecture and extensive pre-training from an open and accessible CLIP encoder, and they claim better results than prior approaches on representative vision tasks with far fewer parameters and compute. The headline number: using only publicly accessible training data, EVA-02 with 304M parameters reaches 90.0 fine-tuning top-1 on the ImageNet-1K validation set, and EVA-02-CLIP reaches 80.4 zero-shot top-1.

Four sizes are offered, from 6M to 304M parameters. The captured members are timm's EVA-02 tiny, small, base and large models at patch size 14 and resolutions 224, 336 or 448, plus the EVA-CLIP variants, which add an extra attention-scale layer norm or use residual post-norm in their blocks. In timm these are vision transformer variants with rotary position embeddings and SwiGLU that evolved from BEiT.

Key idea. A plain vision Transformer pre-trained by masked image modeling to reconstruct the language-aligned features of a large CLIP encoder, matching bigger models at a fraction of the parameters.

  • eva-02
  • eva02
  • eva
  • vision transformer
  • masked image modeling
  • clip
  • eva-clip
  • beit
  • imagenet
  • visual representation

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{fang2023eva02visualrepresentationneon,
      title={EVA-02: A Visual Representation for Neon Genesis}, 
      author={Yuxin Fang and Quan Sun and Xinggang Wang and Tiejun Huang and Xinlong Wang and Yue Cao},
      year={2023},
      eprint={2303.11331},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      doi={https://doi.org/10.1016/j.imavis.2024.105171},
      url={https://arxiv.org/abs/2303.11331}, 
}