All models

eva02_large_patch14_224

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

Image classification · 1,431 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
303.3M
Operations
1,431
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
m4798
Graph hash
ce9de13d074da382cc762c9b1b06932c95c57326893512f566a70d6dfc8c226d
Skeleton hash
fc3d3bb59db222126847bc72a7b43a666e53e196f95a556fafad20e248c15bb2
Architecture hash
051689a6dadee7b5a8d6d3a0896264bdf907787d3ce33b0b11e02b70ab6dda6a
Diagram SHA-256
f237e1576d18f513bd16a5e0313d5b9a74ceb1c5527dc0f6de5a2efd22ac244d
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_large_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}, 
}