PyPI Stats
  • Insights
  • PyPI
  • GitHub
  • Search
  • Compare
  • Advisories
  • Ecosystem
  • About
Home

Contrastive Learning Python Packages

Python packages with the GitHub topic contrastive-learning. Sorted by relevance, with stars and monthly downloads.
KevinMusgrave
pytorch-metric-learning

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

3.7M 6K 660
lightly-ai
lightly

A python library for self-supervised learning on images.

251K 4K 326
lightly-ai
lightly-utils

A python library for self-supervised learning on images.

233K 4K 326
lucidrains
x-clip

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

29K 722 49
AdaptiveMotorControlLab
cebra

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

13K 1K 95
RElbers
info-nce-pytorch

PyTorch implementation of the InfoNCE loss for self-supervised learning.

7K 613 43
tensorflow
tfsim-nightly

TensorFlow Similarity is a python package focused on making similarity learning quick and easy.

7K 1K 105
unum-cloud
uform

Pocket-Sized Multimodal AI for Content Understanding and Generation

4K 1K 79
lucidrains
coca-pytorch

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

3K 1K 90
Optimization-AI
libauc

LibAUC: A Deep Learning Library for X-Risk Optimization

3K 320 43
MaximilianWeiland
group-appeal-detector

Automated detection of social group appeals in text

2K 0 0
lucidrains
contrastive-rl-pytorch

Contrastive Reinforcement Learning

2K 63 4
tensorflow
tensorflow-similarity

TensorFlow Similarity is a python package focused on making similarity learning quick and easy.

2K 1K 105
qdrant
quaterion

Blazing fast framework for fine-tuning similarity learning models

1K 660 47
audrina-ebrahimi
ak-ssl

A python library for self-supervised learning

1K 12 2
lucidrains
mammut-pytorch

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

722 104 4
GraphCL
pygcl

PyGCL: A PyTorch Library for Graph Contrastive Learning

645 960 98
filipbasara0
simple-clip

A minimal, but effective implementation of CLIP (Contrastive Language-Image Pretraining) in PyTorch

567 45 8
vijaygovindaraja
graphids

Graph-based cloud intrusion detection using GCN, Transformer autoencoder, and contrastive learning — Scientific Reports 2025

564 0 0
filipbasara0
relic-pytorch

Simple self-supervised contrastive based on based on the ReLIC method

559 12 5
zbr17
gedml

GeDML is an easy-to-use generalized deep metric learning library, which contains state-of-the-art deep metric learning algorithms and auxiliary modules to build end-to-end compute vision systems

540 36 3
4AI
langml

A Keras-based and TensorFlow-backend language model toolkit.

512 12 1
omarkamali
contrastive-ft

CRAFT: Contrastive Representation Aware Fine-Tuning toolkit

512 0 0
LongxingTan
open-retrievals

All-in-One: Text Embedding, Retrieval, Reranking and RAG in Transformers

496 72 12
    • Data from PyPI, GitHub, ClickHouse, and BigQuery