Repositories

lucidrains repositories

402 supported repositories

Pytorch implementation of the hamburger module from the ICLR 2021 paper "Is Attention Better Than Matrix Decomposition"

Last commit Jan 13, 2021

 (99 stars) (8 forks) (0 indexed issues) (0 open good first issues)

Unofficial implementation of Hippoformer, Integrating Hippocampus-inspired Spatial Memory with Transformers

Last commit Apr 28, 2026

 (52 stars) (0 forks) (0 indexed issues) (0 open good first issues)

The Gaussian Histogram Loss (HL-Gauss) proposed by Imani et al. with a few convenient wrappers for regression, in Pytorch

Last commit Apr 3, 2026

 (78 stars) (4 forks) (0 indexed issues) (0 open good first issues)

Implementation of a holodeck, written in Pytorch

Last commit Nov 1, 2023

 (19 stars) (1 fork) (0 indexed issues) (0 open good first issues)

Implementation of Hourglass Transformer, in Pytorch, from Google and OpenAI

Last commit Nov 10, 2021

 (99 stars) (6 forks) (0 indexed issues) (0 open good first issues)

Fork of HyenaDNA, a long-range genomic foundation model built with Hyena

Last commit Aug 14, 2023

 (10 stars) (1 fork) (0 indexed issues) (0 open good first issues)

Attempt to make multiple residual streams from Bytedance's Hyper-Connections paper accessible to the public

Last commit May 13, 2026

 (186 stars) (15 forks) (0 indexed issues) (0 open good first issues)

Unofficial implementation of iTransformer - SOTA Time Series Forecasting using Attention networks, out of Tsinghua / Ant group

Last commit Jun 12, 2025

 (535 stars) (38 forks) (0 indexed issues) (0 open good first issues)

Implementation of Imagen, Google's Text-to-Image Neural Network, in Pytorch

Last commit Oct 5, 2023

 (7,324 stars) (690 forks) (1 indexed issue) (1 open good first issue)

Implementation of the new SOTA for model based RL, from the paper "Improving Transformer World Models for Data-Efficient RL", in Pytorch

Last commit May 2, 2025

 (154 stars) (6 forks) (0 indexed issues) (0 open good first issues)

Implementation of Infini-Transformer in Pytorch

Last commit Jan 4, 2025

 (112 stars) (4 forks) (0 indexed issues) (0 open good first issues)

Implementation of Insertion-deletion Denoising Diffusion Probabilistic Models

Last commit May 31, 2022

 (30 stars) (2 forks) (0 indexed issues) (0 open good first issues)

Implementation of Invariant Point Attention, used for coordinate refinement in the structure module of Alphafold2, as a standalone Pytorch module

Last commit Nov 25, 2022

 (171 stars) (12 forks) (0 indexed issues) (0 open good first issues)

An implementation of (Induced) Set Attention Block, from the Set Transformers paper

Last commit Jan 10, 2023

 (68 stars) (4 forks) (0 indexed issues) (0 open good first issues)

Composable transformations of Python+NumPy programs: differentiate, vectorize, JIT to GPU/TPU, and more

Last commit Jan 7, 2020

 (1 star) (1 fork) (0 indexed issues) (0 open good first issues)

Use Jax functions in Pytorch

Last commit Jul 1, 2023

 (263 stars) (9 forks) (0 indexed issues) (0 open good first issues)

Flash Attention Triton kernel with support for second-order derivatives

Last commit Sep 3, 2025

 (8 stars) (1 fork) (0 indexed issues) (0 open good first issues)

Implementation of the Kalman Filtering Attention proposed in "Kalman Filtering Attention for User Behavior Modeling in CTR Prediction"

Last commit Oct 22, 2023

 (59 stars) (4 forks) (0 indexed issues) (0 open good first issues)

Implementation of Kalmanformer, modeling the Kalman gain with a transformer

Last commit Jun 2, 2026

 (44 stars) (1 fork) (0 indexed issues) (0 open good first issues)

KErnel OPerationS, on CPUs and GPUs, with autodiff and without memory overflows

Last commit Mar 18, 2022

 (1 star) (1 fork) (0 indexed issues) (0 open good first issues)