# Contrastive learning

Trains an encoder so that two views of the same item land close in embedding space while different items land far apart.

## What it is used for

Representation learning, retrieval and similarity search, and class-aware embeddings for tables and images.
