contrastive-learning repositories

Trending repositories tagged contrastive-learning, ranked by trending score. Updated daily.

  1. 1
    lightly-ai/lightly-train

    All-in-one training for vision models (YOLO, ViTs, RT-DETR, DINOv3): pretraining, fine-tuning, distillation.

    GitHub · Python · 1,743 stars · 121 forks · +15 stars in 24 hours · Trending score 1.84

  2. 2
    TIGER-AI-Lab/VLM2Vec

    This repo contains the code for "VLM2Vec / MMEB" [ICLR 2025], "VLM2Vec-V2 / MMEB-V2" [TMLR 2026], and "MMEB-V3" [COLM 2026]

    GitHub · Python · 705 stars · 67 forks · +9 stars in 24 hours · Trending score 1.65

  3. 3
    AdaptiveMotorControlLab/CEBRA

    Learnable latent embeddings for joint behavioral and neural analysis - Official implementation of CEBRA

    GitHub · Python · 1,137 stars · 103 forks · +3 stars in 24 hours · Trending score 0.98

  4. 4
    theislab/scConcept

    Contrastive pre-training for technology-agnostic single-cell representations beyond reconstruction

    GitHub · Python · 41 stars · 7 forks · +3 stars in 24 hours · Trending score 0.91

  5. 5
    unum-cloud/UForm

    Distributed training & inference for multimodal perception: shared embeddings across text, images, video, audio, code & graphs from 64 to 1024 dimensions 🖼️

    GitHub · Cuda · 1,253 stars · 76 forks · +1 stars in 24 hours · Trending score 0.52

  6. 6
    BooBSD/Tsetlin.jl

    The Fuzzy-Pattern Tsetlin Machine library, with zero external dependencies, performs blazingly fast.

    GitHub · Julia · 88 stars · 8 forks · +1 stars in 24 hours · Trending score 0.50

  7. 7
    UCSC-VLAA/ALPS

    🏔️ ALPS: Visual State Encoders for World Models

    GitHub · Python · 34 stars · 1 forks · +1 stars in 24 hours · Trending score 0.45

  8. 8
    KevinMusgrave/pytorch-metric-learning

    Train and evaluate embeddings for similarity search with PyTorch. Includes contrastive losses, hard example mining, samplers, and retrieval metrics.

    GitHub · Python · 6,343 stars · 664 forks · −1 stars in 24 hours · Trending score 0.20

  9. 9
    galilai-group/stable-pretraining

    Reliable, minimal and scalable library for pretraining foundation and world models

    GitHub · Python · 352 stars · 121 forks · 0 stars in 24 hours · Trending score 0.14

  10. 10
    lightly-ai/lightly

    A python library for self-supervised learning and latent world models on images.

    GitHub · Python · 3,831 stars · 378 forks · 0 stars in 24 hours · Trending score 0.02

  11. 11
    jgraving/selfsne

    Self-Supervised Noise Embeddings (Self-SNE)

    GitHub · Python · 160 stars · 10 forks · 0 stars in 24 hours · Trending score 0.00

  12. 12
    lucidrains/contrastive-rl

    Contrastive Reinforcement Learning

    GitHub · Python · 74 stars · 5 forks · 0 stars in 24 hours · Trending score 0.00

  13. 13
    lucidrains/x-clip

    A concise but complete implementation of CLIP with various experimental improvements from recent papers

    GitHub · Python · 726 stars · 48 forks · 0 stars in 24 hours · Trending score 0.00

  14. 14
    liangjianshu/multimodal-image-retrieval

    多模态检索实战:意图识别、Prompt 工程、Qwen LoRA、EmbeddingGemma 2 与 InfoNCE 对比学习。含真实演示、自有数据接入、训练评测及 RAG 检索组件学习指南。

    GitHub · Python · 128 stars · 0 forks · 0 stars in 24 hours · Trending score 0.00

  15. 15
    mk-runner/MLRG

    [CVPR'25] Enhanced Contrastive Learning with Multi-view Longitudinal Data for Chest X-ray Report Generation

    GitHub · Python · 109 stars · 3 forks · Trending score 0.00