Git Stars Git Stars

#contrastive-learning Repositories

Discover 37 active open source GitHub repositories tagged with #contrastive-learning, accumulating 64,082 total stars (averaging 1,731 stars per project). Leading this topic is facebookresearch/ImageBind with 9,084 stars.

37
Total Repositories
64,082
Total Stars
1,731
Avg Stars/Repo
1
facebookresearch/ImageBind

ImageBind One Embedding Space to Bind Them All

facebookresearch
โญ 9,084 Python ๐Ÿ‘ค facebookresearch Organization ๐Ÿ• Updated 2025-11-21 ๐Ÿ“… Created 2023-03-23
2
KevinMusgrave/pytorch-metric-learning

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

KevinMusgrave
โญ 6,343 Python ๐Ÿ‘ค KevinMusgrave User ๐Ÿ• Updated 2026-11-13 ๐Ÿ“… Created 2019-10-23
3
facebookresearch/moco

PyTorch implementation of MoCo: https://arxiv.org/abs/1911.05722

facebookresearch
โญ 5,139 ๐Ÿ‘ค facebookresearch Organization ๐Ÿ• Updated 2026-02-03 ๐Ÿ“… Created 2020-03-17
4
lightly-ai/lightly

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

lightly-ai
โญ 3,833 Python ๐Ÿ‘ค lightly-ai Organization ๐Ÿ• Updated 2026-11-10 ๐Ÿ“… Created 2020-10-13
5
ToTheBeginning/PuLID

[NeurIPS 2024] Official code for PuLID: Pure and Lightning ID Customization via Contrastive Alignment

ToTheBeginning
โญ 3,547 Python ๐Ÿ‘ค ToTheBeginning User ๐Ÿ• Updated 2025-07-31 ๐Ÿ“… Created 2024-04-17
6
zhoushengisnoob/DeepClustering

Methods and Implements of Deep Clustering

zhoushengisnoob
โญ 3,060 ๐Ÿ‘ค zhoushengisnoob User ๐Ÿ• Updated 2026-11-06 ๐Ÿ“… Created 2018-06-18
7
OpenGVLab/InternVideo

[ECCV2024] Video Foundation Models & Data for Multimodal Understanding

OpenGVLab
โญ 2,421 Python ๐Ÿ‘ค OpenGVLab Organization ๐Ÿ• Updated 2026-07-02 ๐Ÿ“… Created 2022-11-23
8
facebookresearch/perception_models

State-of-the-art Image & Video CLIP, Multimodal Large Language Models, and More!

facebookresearch
โญ 2,415 Jupyter Notebook ๐Ÿ‘ค facebookresearch Organization ๐Ÿ• Updated 2026-04-13 ๐Ÿ“… Created 2025-04-16
9
tangxyw/RecSysPapers

A collection of industry classics and cutting-edge papers in the field of recommendation/advertising/search. A collection of industry classics and cutting-edge papers in the field of recommendation/advertising/search.

tangxyw
โญ 2,216 Python ๐Ÿ‘ค tangxyw User ๐Ÿ• Updated 2026-06-11 ๐Ÿ“… Created 2022-08-16
10
LAION-AI/CLAP

Contrastive Language-Audio Pretraining

LAION-AI
โญ 2,167 Python ๐Ÿ‘ค LAION-AI Organization ๐Ÿ• Updated 2025-05-15 ๐Ÿ“… Created 2022-03-06
11
lightly-ai/lightly-train

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

lightly-ai
โญ 1,743 Python ๐Ÿ‘ค lightly-ai Organization ๐Ÿ• Updated 2026-11-12 ๐Ÿ“… Created 2025-04-10
12
McGill-NLP/llm2vec

Code for 'LLM2Vec: Large Language Models Are Secretly Powerful Text Encoders'

McGill-NLP
โญ 1,731 Python ๐Ÿ‘ค McGill-NLP Organization ๐Ÿ• Updated 2026-04-04 ๐Ÿ“… Created 2024-04-03
13
vturrisi/solo-learn

solo-learn: a library of self-supervised methods for visual representation learning powered by Pytorch Lightning

vturrisi
โญ 1,582 Python ๐Ÿ‘ค vturrisi User ๐Ÿ• Updated 2026-10-12 ๐Ÿ“… Created 2021-03-06
14
dailenson/SDT

This repository is the official implementation of Disentangling Writer and Character Styles for Handwriting Generation (CVPR 2023)

dailenson
โญ 1,393 Python ๐Ÿ‘ค dailenson User ๐Ÿ• Updated 2025-06-26 ๐Ÿ“… Created 2023-03-22
15
unum-cloud/UForm

Distributed training & inference for multimodal perception: shared embeddings across text, images, video, audio, code & graphs from 64 to 1024 dimensions ๐Ÿ–ผ๏ธ

unum-cloud
โญ 1,253 Cuda ๐Ÿ‘ค unum-cloud Organization ๐Ÿ• Updated 2026-11-18 ๐Ÿ“… Created 2023-02-21
16
yzhuoning/Awesome-CLIP

Awesome list for research on CLIP (Contrastive Language-Image Pre-Training).

yzhuoning
โญ 1,231 ๐Ÿ‘ค yzhuoning User ๐Ÿ• Updated 2024-06-28 ๐Ÿ“… Created 2021-09-05
17
AdaptiveMotorControlLab/CEBRA

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

AdaptiveMotorControlLab
โญ 1,137 Python ๐Ÿ‘ค AdaptiveMotorControlLab Organization ๐Ÿ• Updated 2026-11-18 ๐Ÿ“… Created 2022-04-04
18
PyGCL/PyGCL

PyGCL: A PyTorch Library for Graph Contrastive Learning

PyGCL
โญ 967 Python ๐Ÿ‘ค PyGCL Organization ๐Ÿ• Updated 2026-02-17 ๐Ÿ“… Created 2021-06-07
โญ 933 Python ๐Ÿ‘ค valuesimplex Organization ๐Ÿ• Updated 2025-08-18 ๐Ÿ“… Created 2020-10-22
โญ 831 Jupyter Notebook ๐Ÿ‘ค rll Organization ๐Ÿ• Updated 2025-04-10 ๐Ÿ“… Created 2020-01-26
21
Spijkervet/SimCLR

PyTorch implementation of SimCLR: A Simple Framework for Contrastive Learning of Visual Representations by T. Chen et al.

Spijkervet
โญ 813 Python ๐Ÿ‘ค Spijkervet User ๐Ÿ• Updated 2024-05-21 ๐Ÿ“… Created 2020-03-10
22
nomic-ai/contrastors

Train Models Contrastively in Pytorch

nomic-ai
โญ 791 Python ๐Ÿ‘ค nomic-ai Organization ๐Ÿ• Updated 2025-03-26 ๐Ÿ“… Created 2024-01-30
23
LAION-AI/audio-dataset

Audio Dataset for training CLAP and other models

LAION-AI
โญ 750 Python ๐Ÿ‘ค LAION-AI Organization ๐Ÿ• Updated 2026-01-08 ๐Ÿ“… Created 2022-03-07
25
lucidrains/x-clip

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

lucidrains
โญ 726 Python ๐Ÿ‘ค lucidrains User ๐Ÿ• Updated 2026-11-03 ๐Ÿ“… Created 2021-12-01
26
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]

TIGER-AI-Lab
โญ 705 Python ๐Ÿ‘ค TIGER-AI-Lab Organization ๐Ÿ• Updated 2026-10-23 ๐Ÿ“… Created 2024-10-07
27
qdrant/quaterion

Blazing fast framework for fine-tuning similarity learning models

qdrant
โญ 665 Python ๐Ÿ‘ค qdrant Organization ๐Ÿ• Updated 2026-10-05 ๐Ÿ“… Created 2021-08-31
28
Westlake-AI/openmixup

CAIRI Supervised, Semi- and Self-Supervised Visual Representation Learning Toolbox and Benchmark

Westlake-AI
โญ 656 Python ๐Ÿ‘ค Westlake-AI Organization ๐Ÿ• Updated 2025-10-15 ๐Ÿ“… Created 2021-12-30
29
RyanWangZf/MedCLIP

EMNLP'22 | MedCLIP: Contrastive Learning from Unpaired Medical Images and Texts

RyanWangZf
โญ 652 Python ๐Ÿ‘ค RyanWangZf User ๐Ÿ• Updated 2024-04-12 ๐Ÿ“… Created 2022-02-19
30
Coder-Yu/SELFRec

An open-source framework for self-supervised recommender systems.

Coder-Yu
โญ 642 Python ๐Ÿ‘ค Coder-Yu User ๐Ÿ• Updated 2025-06-06 ๐Ÿ“… Created 2021-09-14
31
microsoft/CLAP

Learning audio concepts from natural language supervision

microsoft
โญ 625 Python ๐Ÿ‘ค microsoft Organization ๐Ÿ• Updated 2024-09-18 ๐Ÿ“… Created 2022-11-02
32
Shen-Lab/GraphCL

[NeurIPS 2020] "Graph Contrastive Learning with Augmentations" by Yuning You, Tianlong Chen, Yongduo Sui, Ting Chen, Zhangyang Wang, Yang Shen

Shen-Lab
โญ 620 Python ๐Ÿ‘ค Shen-Lab User ๐Ÿ• Updated 2024-07-17 ๐Ÿ“… Created 2020-09-25
33
HKUDS/SSLRec

[WSDM'2024 Oral] "SSLRec: A Self-Supervised Learning Framework for Recommendation"

HKUDS
โญ 562 Python ๐Ÿ‘ค HKUDS Organization ๐Ÿ• Updated 2025-03-21 ๐Ÿ“… Created 2023-02-08
34
gdstudio-org/Embeat

Item-to-item music recommendation system, trained on 45M Spotify tracks and 1.8M playlists. (Enter a Spotify track ID / ISRC, get similar songs.)

gdstudio-org
โญ 548 Python ๐Ÿ‘ค gdstudio-org User ๐Ÿ• Updated 2026-09-24 ๐Ÿ“… Created 2026-06-26
35
jchengai/pluto

PLUTO: Push the Limit of Imitation Learning-based Planning for Autonomous Driving

jchengai
โญ 545 Python ๐Ÿ‘ค jchengai User ๐Ÿ• Updated 2024-07-15 ๐Ÿ“… Created 2024-04-22
36
mims-harvard/TFC-pretraining

Self-supervised contrastive learning for time series via time-frequency consistency

mims-harvard
โญ 510 Python ๐Ÿ‘ค mims-harvard Organization ๐Ÿ• Updated 2024-05-07 ๐Ÿ“… Created 2022-03-12
37
zhaozh10/Awesome-CLIP-in-Medical-Imaging

A Survey on CLIP in Medical Imaging

zhaozh10
โญ 509 ๐Ÿ‘ค zhaozh10 User ๐Ÿ• Updated 2025-03-26 ๐Ÿ“… Created 2023-11-21

Frequently Asked Questions

1

What is the most popular #contrastive-learning repository on GitHub?

The top ranked open source #contrastive-learning project on GitHub is facebookresearch/ImageBind with 9,084 stars. ImageBind One Embedding Space to Bind Them All

2

Which programming languages are most used in #contrastive-learning repositories?

Among the top ranked #contrastive-learning projects on GitHub, the most common programming languages are Python, Jupyter Notebook, Cuda.

3

How is the #contrastive-learning repository ranking calculated?

We track 37 active open source repositories tagged with #contrastive-learning (500+ stars), totaling 64,082 stars with an average of 1,731 stars per repository. Rankings update daily from the GitHub API.