lucidrains / block-recurrent-transformer-pytorch
Implementation of Block Recurrent Transformer - Pytorch
☆217Updated 8 months ago
Alternatives and similar repositories for block-recurrent-transformer-pytorch
Users that are interested in block-recurrent-transformer-pytorch are comparing it to the libraries listed below
Sorting:
- Experiments around a simple idea for inducing multiple hierarchical predictive model within a GPT☆212Updated 8 months ago
- Implementation of Recurrent Memory Transformer, Neurips 2022 paper, in Pytorch☆407Updated 4 months ago
- Implementation of the conditionally routed attention in the CoLT5 architecture, in Pytorch☆227Updated 8 months ago
- Implementation of Soft MoE, proposed by Brain's Vision team, in Pytorch☆289Updated last month
- Sequence modeling with Mega.☆295Updated 2 years ago
- Implementation of Gated State Spaces, from the paper "Long Range Language Modeling via Gated State Spaces", in Pytorch☆100Updated 2 years ago
- Some personal experiments around routing tokens to different autoregressive attention, akin to mixture-of-experts☆118Updated 6 months ago
- A simple but robust PyTorch implementation of RetNet from "Retentive Network: A Successor to Transformer for Large Language Models" (http…☆105Updated last year
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆378Updated last year
- Implementation of Mega, the Single-head Attention with Multi-headed EMA architecture that currently holds SOTA on Long Range Arena☆203Updated last year
- An implementation of local windowed attention for language modeling☆449Updated 4 months ago
- Recurrent Memory Transformer☆149Updated last year
- Implementation of GateLoop Transformer in Pytorch and Jax☆88Updated 10 months ago
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorch☆331Updated 11 months ago
- Implementation of Linformer for Pytorch☆286Updated last year
- Implementation of Infini-Transformer in Pytorch☆110Updated 4 months ago
- Explorations into the recently proposed Taylor Series Linear Attention☆99Updated 8 months ago
- Implementation of the Adan (ADAptive Nesterov momentum algorithm) Optimizer in Pytorch☆252Updated 2 years ago
- Implementation of Memformer, a Memory-augmented Transformer, in Pytorch☆117Updated 4 years ago
- Implementation of fused cosine similarity attention in the same style as Flash Attention☆213Updated 2 years ago
- Just some miscellaneous utility functions / decorators / modules related to Pytorch and Accelerate to help speed up implementation of new…☆121Updated 9 months ago
- Griffin MQA + Hawk Linear RNN Hybrid☆86Updated last year
- ☆164Updated 2 years ago
- Implementation of Recurrent Interface Network (RIN), for highly efficient generation of images and video without cascading networks, in P…☆204Updated last year
- Effortless plugin and play Optimizer to cut model training costs by 50%. New optimizer that is 2x faster than Adam on LLMs.☆381Updated 11 months ago
- Sequence Modeling with Multiresolution Convolutional Memory (ICML 2023)☆124Updated last year
- Huggingface compatible implementation of RetNet (Retentive Networks, https://arxiv.org/pdf/2307.08621.pdf) including parallel, recurrent,…☆226Updated last year
- Trying out the Mamba architecture on small examples (cifar-10, shakespeare char level etc.)☆46Updated last year
- Randomized Positional Encodings Boost Length Generalization of Transformers☆81Updated last year
- Code release for "Dropout Reduces Underfitting"☆313Updated 2 years ago