All models

eva02_small_patch14_336

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 (23 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
22.1M
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
m4803
Graph hash
861ecc2dbfa6e4a3885870003552a6a42a9079e5e6b59ba172868b3138a1fe39
Skeleton hash
6b93c440858231b0b37c4005057fc035c14ebc5f1b8ddd99a1444dbbfb2f0c4c
Architecture hash
acf6caf800b902b5e73e27da1515a9574ac32c4ad78e06b4c6d8499f64fb4770
Diagram SHA-256
4040856f2566082a756d0df25d89128ef1f30731c87830fa7003fcf3a755d58d
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_336', 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}, 
}