All models

aimv2_vision_model (base foundation vision)

A vision encoder pre-trained with a multimodal decoder that generates image patches and text tokens.

Image classification · 947 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 (19 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

Parameters
312.3M
Operations
947
Framework
PyTorch
Recurrent
No
Name in source
aimv2_vision_model:base-foundation-vision
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
m3497
Graph hash
0abc45a2fea6d647c7fbc111800c38461d825dbc51e130fd21595e51a5419cbd
Skeleton hash
105bc8db26564a7dea4c9af67fc3827ce6ccc3b72c26566f85e0a68094f4ed6e
Architecture hash
22fbb0ea7a3dd9d28c188c86422131a5700755f84d4ce3c67ddfac2cc6aa070f
Diagram SHA-256
b631807715106c635e1727f6edb696147082cec62cc6adac8b9832b5d671225e
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

transformers.AutoModel.from_config()

What it is

AIMv2 is a family of generalist vision encoders with a straightforward pre-training process. It was proposed in the paper Multimodal Autoregressive Pre-training of Large Vision Encoders. The method extends autoregressive pre-training of vision models to a multimodal setting of images and text.

During pre-training the vision encoder is paired with a multimodal decoder that autoregressively generates raw image patches and text tokens. The paper reports 89.5% accuracy on ImageNet-1k for its AIMV2-3B encoder with a frozen trunk. In the library the vision encoder is available on its own as Aimv2VisionModel, next to Aimv2TextModel and the combined Aimv2Model. The original code is in the apple/ml-aim repository.

Key idea. AIMV2 pre-trains a vision encoder by pairing it with a multimodal decoder that autoregressively generates raw image patches and text tokens.

  • AIMv2
  • aimv2 vision model
  • Aimv2VisionModel
  • vision encoder
  • multimodal autoregressive pre-training
  • image feature extraction
  • image embeddings
  • foundation vision model

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