Open-source AI repos
Open-source AI, all in one place.
13,356 open-source AI repositories for learning, teaching, research and building. Kept up to date by the community: anyone can add a repo with a pull request.
28 repos matching “contrast”
Image generation
Stars:2.6kcontrastive-unpaired-translation
Contrastive unpaired image-to-image translation, faster and lighter training than cyclegan (ECCV 2020, in PyTorch)
Python · updated 3 years agoDetails›LLM & RAG frameworks
Stars:806contrastors
Train Models Contrastively in Pytorch
Python · Apache-2.0 · updated 1 year agoDetails›Training & MLOps
Stars:34.6kCLIP
CLIP (Contrastive Language-Image Pretraining), Predict the most relevant text snippet given an image
Jupyter Notebook · MIT · updated 8 months agoDetails›Computer vision
Stars:14.3kopen_clip
An open source implementation of CLIP.
Python · updated 10 days agoDetails›Computer vision
Stars:3.8klightly
A python library for self-supervised learning on images.
Python · MIT · updated 20 days agoDetails›Other
Stars:3.7kSimCSE
[EMNLP 2021] SimCSE: Simple Contrastive Learning of Sentence Embeddings https://arxiv.org/abs/2104.08821
Python · MIT · updated 1 month agoDetails›Training & MLOps
Stars:3.2ksiamese-triplet
Siamese and triplet networks with online pair/triplet mining in PyTorch
Python · BSD-3-Clause · updated 3 years agoDetails›Training & MLOps
Stars:2.5kSimCLR
PyTorch implementation of SimCLR: A Simple Framework for Contrastive Learning of Visual Representations
Jupyter Notebook · MIT · updated 2 years agoDetails›Training & MLOps
Stars:2.2kRecSysPapers
推荐/广告/搜索领域工业界经典以及最前沿论文集合。A collection of industry classics and cutting-edge papers in the field of recommendation/advertising/search.
Python · BSD-2-Clause · updated 5 months agoDetails›Computer vision
Stars:1.7klightly-train
All-in-one training for vision models (YOLO, ViTs, RT-DETR, DINOv3): pretraining, fine-tuning, distillation.
Python · AGPL-3.0 · updated 18 days agoDetails›Computer vision
Stars:1.4kSDT
This repository is the official implementation of Disentangling Writer and Character Styles for Handwriting Generation (CVPR 2023)
Python · MIT · updated 1 year agoDetails›Open models
Stars:1.2kCoCa-pytorch
Implementation of CoCa, Contrastive Captioners are Image-Text Foundation Models, in Pytorch
Python · MIT · updated 2 years agoDetails›Training & MLOps
Stars:1.1kCEBRA
Learnable latent embeddings for joint behavioral and neural analysis - Official implementation of CEBRA
Python · updated 12 days agoDetails›Open models
Stars:1.1kONE-PEACE
A general representation model across vision, audio, language modalities. Paper: ONE-PEACE: Exploring One General Representation Model Toward Unlimited Modalities
Python · Apache-2.0 · updated 2 years agoDetails›LLM & RAG frameworks
Stars:705VLM2Vec
This repo contains the code for "VLM2Vec / MMEB" [ICLR 2025], "VLM2Vec-V2 / MMEB-V2" [TMLR 2026], and "MMEB-V3" [COLM 2026]
Python · Apache-2.0 · updated 1 month agoDetails›Skills & prompts
Stars:687renderlint
Lint the rendered UI: catches overflowing text, low contrast, overlaps, broken responsive layouts, emoji icons and more in any web framework. Built for AI coding agents.
JavaScript · MIT · updated 12 days agoDetails›Training & MLOps
Stars:607curl
CURL: Contrastive Unsupervised Representation Learning for Sample-Efficient Reinforcement Learning
Python · MIT · updated 6 years agoDetails›Image generation
Stars:585FontDiffuser
[AAAI2024] FontDiffuser: One-Shot Font Generation via Denoising Diffusion with Multi-Scale Content Aggregation and Style Contrastive Learning
Python · updated 2 years agoDetails›Open models
Stars:563DoLa
Official implementation for the paper "DoLa: Decoding by Contrasting Layers Improves Factuality in Large Language Models"
Python · updated 4 months agoDetails›Computer vision
Stars:526OpenCE
Contrast Enhancement Techniques for low-light images
MATLAB · MIT · updated 8 years agoDetails›Video & animation
Stars:483clifs
Contrastive Language-Image Forensic Search allows free text searching through videos using OpenAI's machine learning model CLIP
JavaScript · Apache-2.0 · updated 4 years agoDetails›Computer vision
Stars:478U2PL
[CVPR'22 & IJCV'24] Semi-Supervised Semantic Segmentation Using Unreliable Pseudo-Labels & Using Unreliable Pseudo-Labels for Label-Efficient Semantic Segmentation
Python · Apache-2.0 · updated 2 years agoDetails›Vector databases
Stars:451GradCache
Run Effective Large Batch Contrastive Learning Beyond GPU/TPU Memory Constraint
Python · Apache-2.0 · updated 2 years agoDetails›LLM & RAG frameworks
Stars:376DeCLUTR
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!
Python · Apache-2.0 · updated 3 years agoDetails›Computer vision
Stars:351stable-pretraining
Reliable, minimal and scalable library for pretraining foundation and world models
Python · MIT · updated 2 months agoDetails›LLM & RAG frameworks
Stars:155DecisionPivot
DecisionPivot: a diagnostic benchmark for decision models in LLM systems. Contrast pairs that differ in one decisive detail, generators with independent solvers, scorer and runners.
Python · Apache-2.0 · updated 1 month agoDetails›MCP servers
Stars:130uisight
Your AI can already see the screen — it just can't measure it. Live mobile+desktop sessions, a measurement engine (contrast, touch targets, theme drift) reporting findings as text, and a panel you and your agent share. MCP server for web/responsive UIs.
JavaScript · MIT · updated 2 months agoDetails›Skills & prompts
Stars:128multimodal-image-retrieval
多模态检索实战:意图识别、Prompt 工程、Qwen LoRA、EmbeddingGemma 2 与 InfoNCE 对比学习。含真实演示、自有数据接入、训练评测及 RAG 检索组件学习指南。
Python · MIT · updated 26 days agoDetails›
Details come from each project’s own repository. Something wrong or missing? Tell us or open a pull request.