An open API service indexing awesome lists of open source software.

Projects in Awesome Lists tagged with contrastive-learning

A curated list of projects in awesome lists tagged with contrastive-learning .

https://github.com/kevinmusgrave/pytorch-metric-learning

The easiest way to use deep metric learning in your application. Modular, flexible, and extensible. Written in PyTorch.

computer-vision contrastive-learning deep-learning deep-metric-learning embeddings image-retrieval machine-learning metric-learning pytorch self-supervised-learning

Last synced: 12 May 2025

https://github.com/KevinMusgrave/pytorch-metric-learning

The easiest way to use deep metric learning in your application. Modular, flexible, and extensible. Written in PyTorch.

computer-vision contrastive-learning deep-learning deep-metric-learning embeddings image-retrieval machine-learning metric-learning pytorch self-supervised-learning

Last synced: 09 Apr 2025

https://github.com/google-research/simclr

SimCLRv2 - Big Self-Supervised Models are Strong Semi-Supervised Learners

computer-vision contrastive-learning representation-learning self-supervised-learning simclr simclrv2 unsupervised-learning

Last synced: 27 Sep 2025

https://github.com/vturrisi/solo-learn

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

barlow-twins byol contrastive-learning deepcluster dino mae masked-input-prediction moco nnclr nvidia-dali pytorch pytorch-lightning ressl self-supervised-learning simclr simsiam swav transformer-models vibcreg vicreg

Last synced: 06 Oct 2025

https://github.com/unum-cloud/UForm

Pocket-Sized Multimodal AI for content understanding and generation across multilingual texts, images, and 🔜 video, up to 5x faster than OpenAI CLIP and LLaVA 🖼️ & 🖋️

bert clip clustering contrastive-learning cross-attention huggingface-transformers image-search language-vision llava multi-lingual multimodal neural-network openai openclip pretrained-models pytorch representation-learning semantic-search transformer vector-search

Last synced: 19 Apr 2026

https://github.com/lucidrains/coca-pytorch

Implementation of CoCa, Contrastive Captioners are Image-Text Foundation Models, in Pytorch

artificial-intelligence attention-mechanism contrastive-learning deep-learning image-to-text multimodal transformers

Last synced: 15 May 2025

https://github.com/unum-cloud/uform

Pocket-Sized Multimodal AI for content understanding and generation across multilingual texts, images, and 🔜 video, up to 5x faster than OpenAI CLIP and LLaVA 🖼️ & 🖋️

bert clip clustering contrastive-learning cross-attention huggingface-transformers image-search language-vision llava multi-lingual multimodal neural-network openai openclip pretrained-models pytorch representation-learning semantic-search transformer vector-search

Last synced: 14 May 2025

https://github.com/PyGCL/PyGCL

PyGCL: A PyTorch Library for Graph Contrastive Learning

contrastive-learning graph-contrastive-learning graph-representation-learning machine-learning

Last synced: 06 May 2025

https://github.com/adaptivemotorcontrollab/cebra

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

contrastive-learning machine-learning neuroscience-methods pytorch

Last synced: 11 Apr 2025

https://github.com/spijkervet/simclr

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

contrastive-learning pytorch representation-learning simclr unsupervised-learning

Last synced: 15 May 2025

https://github.com/Spijkervet/SimCLR

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

contrastive-learning pytorch representation-learning simclr unsupervised-learning

Last synced: 05 Apr 2025

https://github.com/lucidrains/x-clip

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

artificial-intelligence contrastive-learning deep-learning multi-modal-learning zero-shot-learning

Last synced: 01 Apr 2025

https://github.com/tfzhou/ContrastiveSeg

ICCV2021 (Oral) - Exploring Cross-Image Pixel Contrast for Semantic Segmentation

cityscapes contrastive-learning hard-example-mining pascal-context pixel-contrast semantic-segmentation

Last synced: 08 May 2025

https://github.com/salesforce/PCL

PyTorch code for "Prototypical Contrastive Learning of Unsupervised Representations"

contrastive-learning pre-trained-model representation-learning self-supervised-learning unsupervsied-learning

Last synced: 08 May 2025

https://github.com/salesforce/pcl

PyTorch code for "Prototypical Contrastive Learning of Unsupervised Representations"

contrastive-learning pre-trained-model representation-learning self-supervised-learning unsupervsied-learning

Last synced: 05 Apr 2025

https://github.com/Shen-Lab/GraphCL

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

contrastive-learning graph-neural-network pre-training self-supervised-learning

Last synced: 21 Jul 2025

https://github.com/yxuansu/simctg

[NeurIPS'22 Spotlight] A Contrastive Framework for Neural Text Generation

contrastive-learning decode deeplearning language-modeling languagemodel nlp textgeneration

Last synced: 14 Jan 2026

https://github.com/johngiorgi/declutr

The corresponding code from our paper "DeCLUTR: Deep Contrastive Learning for Unsupervised Textual Representations". Do not hesitate to open an issue if you run into any trouble!

allennlp contrastive-learning metric-learning natural-language-processing pytorch representation-learning self-supervised-learning semantic-search semantic-text-similarity sentence-embeddings sentence-similarity transformers

Last synced: 14 Oct 2025

https://github.com/JohnGiorgi/DeCLUTR

The corresponding code from our paper "DeCLUTR: Deep Contrastive Learning for Unsupervised Textual Representations". Do not hesitate to open an issue if you run into any trouble!

allennlp contrastive-learning metric-learning natural-language-processing pytorch representation-learning self-supervised-learning semantic-search semantic-text-similarity sentence-embeddings sentence-similarity transformers

Last synced: 30 Mar 2025

https://github.com/mims-harvard/tfc-pretraining

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

consistency-models contrastive-learning deep-learning pre-trained-model representation-learning self-supervised-learning time-series

Last synced: 10 Oct 2025

https://github.com/zdaxie/PixPro

Propagate Yourself: Exploring Pixel-Level Consistency for Unsupervised Visual Representation Learning, CVPR 2021

contrastive-learning cvpr2021 pixel-level-contrastive-learning pixpro unsupervised-learning

Last synced: 08 May 2025

https://github.com/zdaxie/pixpro

Propagate Yourself: Exploring Pixel-Level Consistency for Unsupervised Visual Representation Learning, CVPR 2021

contrastive-learning cvpr2021 pixel-level-contrastive-learning pixpro unsupervised-learning

Last synced: 09 Apr 2025

https://github.com/thudm/gcc

GCC: Graph Contrastive Coding for Graph Neural Network Pre-Training @ KDD 2020

contrastive-learning graph-neural-networks pre-training

Last synced: 06 Apr 2025

https://github.com/THUDM/GCC

GCC: Graph Contrastive Coding for Graph Neural Network Pre-Training @ KDD 2020

contrastive-learning graph-neural-networks pre-training

Last synced: 21 Jul 2025

https://github.com/spijkervet/clmr

Official PyTorch implementation of Contrastive Learning of Musical Representations

contrastive-learning music-classification music-information-retrieval self-supervised-learning

Last synced: 05 Apr 2025

https://github.com/Yunfan-Li/Contrastive-Clustering

Code for the paper "Contrastive Clustering" (AAAI 2021)

clustering contrastive-learning

Last synced: 08 May 2025

https://github.com/voidism/DiffCSE

Code for the NAACL 2022 long paper "DiffCSE: Difference-based Contrastive Learning for Sentence Embeddings"

contrastive-learning representation-learning self-supervised-learning sentence-embeddings sentence-similarity sentence-transformers

Last synced: 09 May 2025

https://github.com/xyupeng/contrastivecrop

[CVPR 2022 Oral] Crafting Better Contrastive Views for Siamese Representation Learning

contrastive-learning pytorch self-supervised-learning

Last synced: 10 Apr 2025

https://github.com/xyupeng/ContrastiveCrop

[CVPR 2022 Oral] Crafting Better Contrastive Views for Siamese Representation Learning

contrastive-learning pytorch self-supervised-learning

Last synced: 08 May 2025

https://github.com/qinbinli/moon

Model-Contrastive Federated Learning (CVPR 2021)

contrastive-learning cvpr2021 federated-learning pytorch

Last synced: 09 Apr 2025

https://github.com/lucidrains/pixel-level-contrastive-learning

Implementation of Pixel-level Contrastive Learning, proposed in the paper "Propagate Yourself", in Pytorch

artificial-intelligence contrastive-learning deep-learning self-supervised-learning

Last synced: 06 Apr 2025

https://github.com/tiger-ai-lab/vlm2vec

This repo contains the code for "VLM2Vec: Training Vision-Language Models for Massive Multimodal Embedding Tasks" [ICLR25]

benchmark contrastive-learning embedding image-retrieval mmeb multimodal rag representation-learning video-retrieval visual-document-retrieval vlm

Last synced: 13 Jun 2025

https://github.com/salesforce/CoST

PyTorch code for CoST: Contrastive Learning of Disentangled Seasonal-Trend Representations for Time Series Forecasting (ICLR 2022)

contrastive-learning deep-learning forecasting-model machine-learning self-supervised-learning time-series time-series-decomposition time-series-forecasting

Last synced: 26 Mar 2025

https://github.com/salesforce/cost

PyTorch code for CoST: Contrastive Learning of Disentangled Seasonal-Trend Representations for Time Series Forecasting (ICLR 2022)

contrastive-learning deep-learning forecasting-model machine-learning self-supervised-learning time-series time-series-decomposition time-series-forecasting

Last synced: 09 Apr 2025

https://github.com/wangz10/contrastive_loss

Experiments with supervised contrastive learning methods with different loss functions

contrastive-learning deep-learning

Last synced: 08 May 2025

https://github.com/andrewatanov/simclr-pytorch

PyTorch implementation of SimCLR: supports multi-GPU training and closely reproduces results

contrastive-learning deep-learning pytorch pytorch-implementation representation-learning self-supervised-learning

Last synced: 09 Apr 2025

https://github.com/rucaibox/negative-sampling-paper

This repository collects 100 papers related to negative sampling methods.

computer-vision contrastive-learning negative-sampling paper papers recommender-system

Last synced: 14 Feb 2026

https://github.com/cvi-szu/ccam

[CVPR 2022] C2AM: Contrastive learning of Class-agnostic Activation Map for Weakly Supervised Object Localization and Semantic Segmentation

contrastive-learning image-segmentation weakly-supervised-learning weakly-supervised-segmentation

Last synced: 17 Mar 2025

https://github.com/chao1224/GraphMVP

Pre-training Molecular Graph Representation with 3D Geometry, ICLR'22 (https://openreview.net/forum?id=xQUe1pOKPam)

contrastive-learning generative-model geometry graph molecule pretraining self-supervised self-supervised-learning

Last synced: 09 May 2025

https://github.com/RUCAIBox/Negative-Sampling-Paper

This repository collects 100 papers related to negative sampling methods.

computer-vision contrastive-learning negative-sampling paper papers recommender-system

Last synced: 09 May 2025

https://github.com/chao1224/graphmvp

Pre-training Molecular Graph Representation with 3D Geometry, ICLR'22 (https://openreview.net/forum?id=xQUe1pOKPam)

contrastive-learning generative-model geometry graph molecule pretraining self-supervised self-supervised-learning

Last synced: 23 Oct 2025

https://github.com/parasj/contracode

Contrastive Code Representation Learning: functionality-based JavaScript embeddings through self-supervised learning

compiler contrastive-learning deep-learning machine-learning momentum-contrast programming-language pytorch

Last synced: 08 Sep 2025

https://github.com/cambridgeltl/sapbert

[NAACL'21 & ACL'21] SapBERT: Self-alignment pretraining for BERT & XL-BEL: Cross-Lingual Biomedical Entity Linking.

acl2021 bert bionlp contrastive-learning language-model lexical-semantics machine-learning metric-learning naacl2021 nlp representation-learning

Last synced: 23 Nov 2025

https://github.com/hiyouga/dual-contrastive-learning

Code for our paper "Dual Contrastive Learning: Text Classification via Label-Aware Data Augmentation"

bert contrastive-learning deep-learning natural-language-processing neural-networks text-classification transformers

Last synced: 17 Oct 2025

https://github.com/yangjianxin1/SimCSE

SimCSE有监督与无监督实验复现

contrastive-learning unsupervised-learning

Last synced: 09 May 2025

https://github.com/yangjianxin1/simcse

SimCSE有监督与无监督实验复现

contrastive-learning unsupervised-learning

Last synced: 20 Aug 2025

https://github.com/AstraZeneca/SubTab

The official implementation of the paper, "SubTab: Subsetting Features of Tabular Data for Self-Supervised Representation Learning"

contrastive-learning multi-view-learning representation-learning self-supervised-learning tabular-data

Last synced: 01 May 2025

https://github.com/astrazeneca/subtab

The official implementation of the paper, "SubTab: Subsetting Features of Tabular Data for Self-Supervised Representation Learning"

contrastive-learning multi-view-learning representation-learning self-supervised-learning tabular-data

Last synced: 08 May 2025

https://github.com/vita-epfl/social-nce

[ICCV21] Official implementation of the "Social NCE: Contrastive Learning of Socially-aware Motion Representations" in PyTorch.

contrastive-learning data-augmentation imitation-learning motion-forecasting multi-agent reinforcement-learning representation-learning

Last synced: 16 Jan 2026

https://github.com/salesforce/CoMatch

Code for CoMatch: Semi-supervised Learning with Contrastive Graph Regularization

contrastive-learning representation-learning self-supervised-learning semi-supervised-learning

Last synced: 08 May 2025

https://github.com/salesforce/comatch

Code for CoMatch: Semi-supervised Learning with Contrastive Graph Regularization

contrastive-learning representation-learning self-supervised-learning semi-supervised-learning

Last synced: 15 Apr 2025

https://github.com/visresearch/patchmix

The official implementation of paper: "Inter-Instance Similarity Modeling for Contrastive Learning"

cifar contrastive-learning imagenet representation-learning self-supervised-learning transfer-learning unsupervised-learning vision-transformer

Last synced: 04 Apr 2026

https://github.com/lucidrains/mammut-pytorch

Implementation of MaMMUT, a simple vision-encoder text-decoder architecture for multimodal tasks from Google, in Pytorch

artificial-intelligence contrastive-learning deep-learning multimodal

Last synced: 26 Jul 2025

https://github.com/ml-jku/clamp

Code for the paper Enhancing Activity Prediction Models in Drug Discovery with the Ability to Understand Human Language

assay-modeling cheminformatics contrastive-learning drug-discovery machine-learning qsar zero-shot

Last synced: 20 Jun 2025

https://github.com/x-plug/mplug-halowl

mPLUG-HalOwl: Multimodal Hallucination Evaluation and Mitigating

benchmark contrastive-learning hallucinations mllm multimodal-hallucination multimodal-large-language-models

Last synced: 31 Aug 2025

https://github.com/kaiwenzha/Rank-N-Contrast

[NeurIPS 2023, Spotlight] Rank-N-Contrast: Learning Continuous Representations for Regression

continuity contrastive-learning neurips neurips-2023 ranking-algorithms regression representation-learning

Last synced: 06 May 2025

https://github.com/thunlp/re-context-or-names

Bert-based models(BERT, MTB, CP) for relation extraction.

bert contrastive-learning pretrain pytorch relation-extraction

Last synced: 25 Apr 2025

https://github.com/ayulockin/swav-tf

TensorFlow implementation of "Unsupervised Learning of Visual Features by Contrasting Cluster Assignments".

augmentation contrastive-learning keras representation-learning self-supervised-learning tensorflow tensorflow2

Last synced: 19 Oct 2025

https://github.com/haoliuhl/hybrid-discriminative-generative

Hybrid Discriminative-Generative Training via Contrastive Learning

contrastive-learning discriminative-model generative-model

Last synced: 16 Mar 2025

https://github.com/arig23498/g-simclr

This is the code base for paper "G-SimCLR : Self-Supervised Contrastive Learning with Guided Projection via Pseudo Labelling" by Souradip Chakraborty, Aritra Roy Gosthipaty and Sayak Paul.

clustering contrastive-learning keras-tensorflow self-supervised-learning tensorflow2 visual-recognition

Last synced: 30 Apr 2025

https://github.com/tsinghua-fib-lab/CLSR

The official implementation of "Disentangling Long and Short-Term Interests for Recommendation" (WWW '22)

contrastive-learning disentangled-representations disentanglement recommendation recommender-system

Last synced: 20 Jul 2025

https://github.com/howardyclo/clcc-cvpr21

An official TensorFlow implementation of “CLCC: Contrastive Learning for Color Constancy” accepted at CVPR 2021.

color-checker color-constancy contrastive-learning cvpr2021 deep-learning illuminant-estimation mediatek white-balance

Last synced: 15 Jul 2025

https://github.com/hkuds/adagcl

[KDD'2023] "AdaGCL: Adaptive Graph Contrastive Learning for Recommendation"

contrastive-learning data-augmentation graph-auto-encoder graph-neural-networks recommender-systems

Last synced: 28 Aug 2025

https://github.com/aimagelab/open-fashion-clip

This is the official repository for the paper "OpenFashionCLIP: Vision-and-Language Contrastive Learning with Open-Source Fashion Data". ICIAP 2023

clip contrastive-learning fashionai vision-and-language

Last synced: 11 Apr 2025

https://github.com/nazmul-karim170/UNICON

[CVPR'22] Official Implementation of the CVPR 2022 paper "UNICON: Combating Label Noise Through Uniform Selection and Contrastive Learning"

contrastive-learning deep-learning deep-neural-networks jensen-shannon-divergence label-noise-robustness machine-learning noisy-labels semi-supervised-learning

Last synced: 05 Apr 2025