DeMoriarty / fast_pytorch_kmeans
This is a pytorch implementation of k-means clustering algorithm
☆285Updated 9 months ago
Related projects ⓘ
Alternatives and complementary repositories for fast_pytorch_kmeans
- kmeans using PyTorch☆481Updated last year
- Approximate nearest neighbor search with product quantization on GPU in pytorch and cuda☆212Updated 11 months ago
- PyTorch implementations of KMeans, Soft-KMeans and Constrained-KMeans which can be run on GPU and work on (mini-)batches of data.☆56Updated last year
- Implementation of Linformer for Pytorch☆255Updated 10 months ago
- A simple way to keep track of an Exponential Moving Average (EMA) version of your Pytorch model☆512Updated 3 weeks ago
- Implementation of Slot Attention from GoogleAI☆394Updated 2 months ago
- An implementation of local windowed attention for language modeling☆383Updated 2 months ago
- Tiny PyTorch library for maintaining a moving average of a collection of parameters.☆405Updated last month
- ICLR 2021, Contrastive Learning with Hard Negative Samples☆250Updated 3 years ago
- PyTorch implementation of the InfoNCE loss for self-supervised learning.☆483Updated 11 months ago
- ☆114Updated 8 months ago
- Pytorch reimplementation for "Gradient Surgery for Multi-Task Learning"☆308Updated 3 years ago
- ☆164Updated last year
- Code for ICML2020 paper - CLUB: A Contrastive Log-ratio Upper Bound of Mutual Information☆312Updated 6 months ago
- A pytorch implementation of the vector quantized variational autoencoder (https://arxiv.org/abs/1711.00937)☆641Updated last year
- Transformer based on a variant of attention that is linear complexity in respect to sequence length☆695Updated 6 months ago
- TF/Keras code for DiffStride, a pooling layer with learnable strides.☆124Updated 2 years ago
- A simple cross attention that updates both the source and target in one step☆150Updated 6 months ago
- Implementation of Rotary Embeddings, from the Roformer paper, in Pytorch☆567Updated last month
- Code used in "Understanding Dimensional Collapse in Contrastive Self-supervised Learning" paper.☆75Updated 2 years ago
- PyTorch implementation of SimCLR: supports multi-GPU training and closely reproduces results☆191Updated 6 months ago
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆222Updated 2 years ago
- Open source code for paper "Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hypersphere" ICML 2…☆432Updated 2 years ago
- [ICLR 2022] Official implementation of cosformer-attention in cosFormer: Rethinking Softmax in Attention☆179Updated last year
- [ICCV 2023] Online Clustered Codebook☆145Updated last month
- Gaussian mixture models in PyTorch.☆513Updated last year
- Implementation of Bit Diffusion, Hinton's group's attempt at discrete denoising diffusion, in Pytorch☆333Updated last year
- Pytorch implementation of stochastically quantized variational autoencoder (SQ-VAE)☆179Updated 2 years ago
- Official PyTorch implementation for the paper "CARD: Classification and Regression Diffusion Models"☆208Updated last year
- Pytorch implementation for t-SNE with cuda to accelerate☆325Updated last year