Standalone Product Key Memory module in Pytorch - for augmenting Transformer models
☆88Nov 1, 2025Updated 10 months ago
Alternatives and similar repositories for product-key-memory
Users that are interested in product-key-memory are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Implementation of an Attention layer where each head can attend to more than just one token, using coordinate descent to pick topk☆47Jul 16, 2023Updated 3 years ago
- My own attempt at a long context genomics model, leveraging recent advances in long context attention modeling (Flash Attention + other h…☆54Jul 2, 2023Updated 3 years ago
- Experiments around a simple idea for inducing multiple hierarchical predictive model within a GPT☆231Updated this week
- Implementation of GateLoop Transformer in Pytorch and Jax☆93Jun 18, 2024Updated 2 years ago
- Just some miscellaneous utility functions / decorators / modules related to Pytorch and Accelerate to help speed up implementation of new…☆126Jul 26, 2024Updated 2 years ago
- AI Agents on DigitalOcean Gradient AI Platform • AdBuild production-ready AI agents using customizable tools or access multiple LLMs through a single endpoint. Create custom knowledge bases or connect external data.
- Yet another random morning idea to be quickly tried and architecture shared if it works; to allow the transformer to pause for any amount…☆53Oct 22, 2023Updated 2 years ago
- Implementation of LogAvgExp for Pytorch☆37Apr 10, 2025Updated last year
- Explorations into the recently proposed Taylor Series Linear Attention☆102Aug 27, 2026Updated 3 weeks ago
- Implementation of the Triangle Multiplicative module, used in Alphafold2 as an efficient way to mix rows or columns of a 2d feature map, …☆39Aug 3, 2021Updated 5 years ago
- Implementation of the Kalman Filtering Attention proposed in "Kalman Filtering Attention for User Behavior Modeling in CTR Prediction"☆61Oct 22, 2023Updated 2 years ago
- Implementation of Gated State Spaces, from the paper "Long Range Language Modeling via Gated State Spaces", in Pytorch☆100Feb 25, 2023Updated 3 years ago
- Implementation of Recurrent Interface Network (RIN), for highly efficient generation of images and video without cascading networks, in P…☆210Jun 11, 2026Updated 3 months ago
- Implementation of the GLOM model for text☆11Mar 4, 2021Updated 5 years ago
- A Transformer made of Rotation-equivariant Attention using Vector Neurons☆103Aug 1, 2023Updated 3 years ago
- Deploy on Railway without the complexity - Free Credits Offer • AdConnect your repo and Railway handles the rest with instant previews. Quickly provision container image services, databases, and storage volumes.
- Some personal experiments around routing tokens to different autoregressive attention, akin to mixture-of-experts☆121Oct 17, 2024Updated last year
- CUDA implementation of autoregressive linear attention, with all the latest research findings☆46May 23, 2023Updated 3 years ago
- Implementation of a Transformer using ReLA (Rectified Linear Attention) from https://arxiv.org/abs/2104.07012☆49Apr 6, 2022Updated 4 years ago
- Implementation of a holodeck, written in Pytorch☆19Nov 1, 2023Updated 2 years ago
- Another attempt at a long-context / efficient transformer by me☆38Apr 11, 2022Updated 4 years ago
- An attempt to merge ESBN with Transformers, to endow Transformers with the ability to emergently bind symbols☆16Aug 3, 2021Updated 5 years ago
- Fine-Tuning Pre-trained Transformers into Decaying Fast Weights☆20Oct 9, 2022Updated 3 years ago
- Causal Attention with Lookahead Keys☆28Sep 26, 2025Updated last year
- A simple Transformer where the softmax has been replaced with normalization☆20Sep 11, 2020Updated 6 years ago
- Wordpress hosting with auto-scaling - Free Trial Offer • AdFully Managed hosting for WordPress and WooCommerce businesses that need reliable, auto-scalable performance. Cloudways SafeUpdates now available.
- Implementation of MaMMUT, a simple vision-encoder text-decoder architecture for multimodal tasks from Google, in Pytorch☆103Oct 10, 2023Updated 2 years ago
- An implementation of (Induced) Set Attention Block, from the Set Transformers paper☆73Jun 8, 2026Updated 3 months ago
- Implementation of the Llama architecture with RLHF + Q-learning☆170Feb 1, 2025Updated last year
- Exploration into the Scaling Value Iteration Networks paper, from Schmidhuber's group☆37Sep 23, 2024Updated 2 years ago
- Source code for NAACL 2021 paper "TR-BERT: Dynamic Token Reduction for Accelerating BERT Inference"☆49May 25, 2022Updated 4 years ago
- Multidimensional indexing for tensors☆143Jul 17, 2023Updated 3 years ago
- Axial Positional Embedding for Pytorch☆82Feb 25, 2025Updated last year
- Implementation of Discrete Key / Value Bottleneck, in Pytorch☆89Jul 9, 2023Updated 3 years ago
- Implementation of Fast Transformer in Pytorch☆176Aug 26, 2021Updated 5 years ago
- Deploy on Railway without the complexity - Free Credits Offer • AdConnect your repo and Railway handles the rest with instant previews. Quickly provision container image services, databases, and storage volumes.
- Exploring an idea where one forgets about efficiency and carries out attention across each edge of the nodes (tokens)☆56Mar 25, 2025Updated last year
- A GPT, made only of MLPs, in Jax☆59Jun 23, 2021Updated 5 years ago
- An implementation of local windowed attention for language modeling☆506Jul 16, 2025Updated last year
- Implementation of "LM-Infinite: Simple On-the-Fly Length Generalization for Large Language Models"☆40Nov 11, 2024Updated last year
- Toy genetic algorithm in Pytorch☆58Apr 21, 2026Updated 5 months ago
- ☆11Jul 17, 2022Updated 4 years ago
- ☆21May 3, 2020Updated 6 years ago