Skip to content

training

Contrastive Learning

A self-supervised learning approach that trains models by pulling similar examples closer together and pushing dissimilar examples apart in embedding space. Contrastive learning creates powerful representations without labeled data.

In practice

CLIP uses contrastive learning to align image and text embeddings, learning that a photo of a cat should be near the text 'a photo of a cat.'