All models

eva02_small_patch14_224

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

Image classification · 711 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 (21 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
21.6M
Operations
711
Framework
PyTorch
Recurrent
No
Published
2024, Image and Vision Computing
Authors
Yuxin Fang, Quan Sun, Xinggang Wang and others
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
m4802
Graph hash
55a03240c10f16e498eb3d94b3df3b49038650cc3fd6bc7f3d75451484558fa2
Skeleton hash
429089161a49323da67efd58827d1e0b78c20b2130b3b6baa6496ed1e5d1d336
Architecture hash
3103217185f872ea9e2be41d3746871c5e45200d49ce0cb0bffb60f710936d28
Diagram SHA-256
a3a9f47ea15baf5e280b1de3822f6e3e2b15485e0b6d5c755d801f7262bbb337
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

timm.create_model('eva02_small_patch14_224', pretrained=False)

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}, 
}