All models

BioCLIP

CLIP model: an image encoder trained contrastively with a text encoder to match images and captions.

Multimodal · 913 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 (14 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
CLIP
Parameters
149.6M
Operations
913
Framework
PyTorch
Recurrent
No
Published
ICML 2021
Cited by
15,391 (as of 4 November 2026)
Authors
Alec Radford, Jong Wook Kim, Chris Hallacy and others
License
MIT
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
m12412
Graph hash
69921755679f167a07d1f20f82f3a7e8423b92d7a15b7f92a07619bfbd7b1179
Skeleton hash
49729fa584299a76b164877af3745046a06ef35de6cf1843e3b4a6b2fc73583e
Architecture hash
d21ff7c7508034424171afc15e3fcaae0859a44e760812aafeee8af4ca1198bf
Diagram SHA-256
15cd62cbcf095c0a6debdf7174e5b83292b3fa4c3d91d5c6400d1770aedce83d
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

BioCLIP is a foundation model for the tree of life, built using the CLIP architecture as a vision model for general organismal biology. It was trained on TreeOfLife-10M from OpenAI's ViT-B/16 checkpoint, using OpenCLIP's code.

CLIP, for Contrastive Language-Image Pre-training, learns image representations from captions instead of a fixed set of predetermined object categories. The pre-training task is to predict which caption goes with which image, on a dataset of 400 million (image, text) pairs collected from the internet.

An image encoder and a text encoder are trained jointly to maximize the cosine similarity of the image and text embeddings of the real pairs in a batch. Each encoder's representation is mapped into the multi-modal embedding space by a linear projection only. The paper considers two architectures for the image encoder, a ResNet-50 base and a Vision Transformer, and the text encoder is a Transformer. At test time the text encoder synthesizes a zero-shot linear classifier by embedding the names or descriptions of the target dataset's classes.

The paper trained a series of eight models, among them the Vision Transformers ViT-B/32, ViT-B/16 and ViT-L/14. It reports that the best CLIP model reaches 76.2% zero-shot accuracy on ImageNet, matching the original ResNet-50 while using none of the 1.28 million crowd-labeled training examples available for that dataset.

Key idea. CLIP showed that predicting which caption goes with which image, over 400 million image-text pairs, yields image representations that transfer zero-shot to downstream tasks through natural language.

  • CLIP
  • Contrastive Language-Image Pre-training
  • BioCLIP
  • zero-shot image classification
  • image-text contrastive learning
  • vision-language model
  • natural language supervision
  • image embeddings
  • image-text matching
  • OpenAI CLIP

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

Cite the paper

@misc{radford2021learningtransferablevisualmodels,
      title={Learning Transferable Visual Models From Natural Language Supervision}, 
      author={Alec Radford and Jong Wook Kim and Chris Hallacy and Aditya Ramesh and Gabriel Goh and Sandhini Agarwal and Girish Sastry and Amanda Askell and Pamela Mishkin and Jack Clark and Gretchen Krueger and Ilya Sutskever},
      year={2021},
      eprint={2103.00020},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2103.00020}, 
}