PyRank
  • Insights
  • PyPI
  • GitHub
  • Search
  • Compare
  • Advisories
  • Ecosystem
  • About

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.5M 6K 660
lightly-ai
lightly

A python library for self-supervised learning on images.

219K 4K 326
lightly-ai
lightly-utils

A python library for self-supervised learning on images.

199K 4K 326
lucidrains
x-clip

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

28K 722 49
AdaptiveMotorControlLab
cebra

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

10K 1K 95
tensorflow
tfsim-nightly

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

6K 1K 105
RElbers
info-nce-pytorch

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

6K 614 43
lucidrains
coca-pytorch

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

4K 1K 90
filipbasara0
relic-pytorch

A simple PyTorch implementation of the Representation Learning via Invariant Causal Mechanisms self-supervised contrastive learning paper

4K 12 5
Optimization-AI
libauc

LibAUC: A Deep Learning Library for X-Risk Optimization

2K 320 43
lucidrains
contrastive-rl-pytorch

Contrastive Reinforcement Learning

2K 64 4
tensorflow
tensorflow-similarity

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

2K 1K 105
theislab
sc-concept

code for scConcept

2K 29 4
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 🖼️ & 🖋️

2K 1K 79
MaximilianWeiland
group-appeal-detector

Python package to automatically detect presence and location of a social group mention in political text as well as the author's stance toward the referenced group and the qualitative group category.

1K 0 0
audrina-ebrahimi
ak-ssl

A Self-Supervised Learning Library

1K 12 2
lucidrains
mammut-pytorch

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

918 104 4
filipbasara0
simple-clip

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

875 45 8
qdrant
quaterion

Similarity Learning fine-tuning framework

730 660 48
GraphCL
pygcl

PyGCL: A PyTorch Library for Graph Contrastive Learning

722 961 98
omarkamali
contrastive-ft

CRAFT: Contrastive Representation Aware Fine-Tuning toolkit

560 0 0
spijkervet
simclr

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

500 819 166
gao-lab
cell-decipher

DECIPHER for learning disentangled cellular embeddings in large-scale heterogeneous spatial omics data

447 24 1
LongxingTan
open-retrievals

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

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