pytorch-metric-learning
Train and evaluate embeddings for similarity search with PyTorch. Includes contrastive losses, hard example mining, samplers, and retrieval metrics.
- 6.3k
- Python
- MIT
- 8 d ago
Train and evaluate embeddings for similarity search with PyTorch. Includes contrastive losses, hard example mining, samplers, and retrieval metrics.
A python library for self-supervised learning and latent world models on images.
[ECCV2024] Video Foundation Models & Data for Multimodal Understanding
推荐/广告/搜索领域工业界经典以及最前沿论文集合。A collection of industry classics and cutting-edge papers in the field of recommendation/advertising/search.
All-in-one training for vision models (YOLO, ViTs, RT-DETR, DINOv3): pretraining, fine-tuning, distillation.
solo-learn: a library of self-supervised methods for visual representation learning powered by Pytorch Lightning
Distributed training & inference for multimodal perception: shared embeddings across text, images, video, audio, code & graphs from 64 to 1024 dimensions 🖼️
A contrastive learning based semi-supervised segmentation network for medical image segmentation
A concise but complete implementation of CLIP with various experimental improvements from recent papers
This repo contains the code for "VLM2Vec / MMEB" [ICLR 2025], "VLM2Vec-V2 / MMEB-V2" [TMLR 2026], and "MMEB-V3" [COLM 2026]
Blazing fast framework for fine-tuning similarity learning models
CAIRI Supervised, Semi- and Self-Supervised Visual Representation Learning Toolbox and Benchmark
[NeurIPS 2020] "Graph Contrastive Learning with Augmentations" by Yuning You, Tianlong Chen, Yongduo Sui, Ting Chen, Zhangyang Wang, Yang Shen
[WSDM'2024 Oral] "SSLRec: A Self-Supervised Learning Framework for Recommendation"
CURL: Contrastive Unsupervised Representation Learning for Sample-Efficient Reinforcement Learning
Self-supervised contrastive learning for time series via time-frequency consistency
Code and resources on scalable and efficient Graph Neural Networks (TNNLS 2023)
[IJCAI-21] "Time-Series Representation Learning via Temporal and Contextual Contrasting"
Run Effective Large Batch Contrastive Learning Beyond GPU/TPU Memory Constraint
[GRL+ @ ICML 2020] PyTorch implementation for "Deep Graph Contrastive Representation Learning" (https://arxiv.org/abs/2006.04131v2)
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!
A curated list for awesome self-supervised learning for graphs.
GCC: Graph Contrastive Coding for Graph Neural Network Pre-Training @ KDD 2020
Code for the NAACL 2022 long paper "DiffCSE: Difference-based Contrastive Learning for Sentence Embeddings"
[CVPR 2025 Highlight] The official CLIP training codebase of Inf-CL: "Breaking the Memory Barrier: Near Infinite Batch Size Scaling for Contrastive Loss". A super memory-efficiency CLIP training scheme.
[Paper][AAAI 2025] (MyGO)Tokenization, Fusion, and Augmentation: Towards Fine-grained Multi-modal Entity Representation
CSI: Novelty Detection via Contrastive Learning on Distributionally Shifted Instances (NeurIPS 2020)
[NAACL'21 & ACL'21] SapBERT: Self-alignment pretraining for BERT & XL-BEL: Cross-Lingual Biomedical Entity Linking.
Pre-training Molecular Graph Representation with 3D Geometry, ICLR'22 (https://openreview.net/forum?id=xQUe1pOKPam)
ACL 2022, SimKGC: Simple Contrastive Knowledge Graph Completion with Pre-trained Language Models
[NAACL 2021] This is the code for our paper `Fine-Tuning Pre-trained Language Model with Weak Supervision: A Contrastive-Regularized Self-Training Approach'.
[CVPR 2022] C2AM: Contrastive learning of Class-agnostic Activation Map for Weakly Supervised Object Localization and Semantic Segmentation
The implementation of "Bootstrapping Semantic Segmentation with Regional Contrast" [ICLR 2022].
Sentence similarity model, used with sentence-transformers.