metaclip_2 (image classification)
MetaCLIP 2, a replication of the CLIP image and text model trained on 300+ languages.
Multimodal · 302 operations Checked
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
- Task
- Multimodal
- Parameters
- 87.5M
- Operations
- 302
- Framework
- PyTorch
- Recurrent
- No
- Source
- transformers 5.18.0
- Name in source
- metaclip_2:image-classification
- 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 file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m5832
- Graph hash
- 13b5ef1bd2ab9d70b84a5f5da37a7159b8f4a34a5389f2188049e1ca957be427
- Skeleton hash
- 19313b96192b5200e2f745f4ea3bdab8890817e775bb0f7ed240d27791f841dd
- Architecture hash
- a712b9ead77dca8652ea893479c6d86251015cb74f921136cfb024128eee8a59
- Diagram SHA-256
- fcb52573e49dcc07cf759522694d37c9f756e23bb8a127a651a07f2a3431c67d
- 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.AutoModelForImageClassification.from_config()
What it is
This model is MetaClip2ForImageClassification, the image classification class of MetaCLIP 2.
MetaCLIP 2 is a replication of the original CLIP model trained on 300+ languages. Its authors report that the English and non-English worlds can benefit each other. On multilingual benchmarks such as XM3600, CVQA and Babel-ImageNet, it was reported to surpass earlier models such as mSigLIP and SigLIP-2.
In the Transformers library, MetaCLIP 2 is used the same way as the CLIP models, with the MetaClip2Model class in place of CLIPModel. Given an image and several text descriptions, MetaClip2Model calculates a similarity score for each description, and a softmax over those scores gives label probabilities. The original code is in the facebookresearch/MetaCLIP repository.
Key idea. MetaCLIP 2 replicates the original CLIP model with training on 300+ languages.
- metaclip 2
- metaclip2
- metaclip-2
- meta clip 2
- multilingual vision-language model
- zero-shot image classification
- image-text similarity
- multilingual image-text model
AI-written summary, based on the model's documentation and checked automatically against it; not reviewed by a person. Corrections welcome.