lucidrains / CoLT5-attention
Implementation of the conditionally routed attention in the CoLT5 architecture, in Pytorch
☆225Updated 2 months ago
Related projects ⓘ
Alternatives and complementary repositories for CoLT5-attention
- Experiments around a simple idea for inducing multiple hierarchical predictive model within a GPT☆205Updated 3 months ago
- Implementation of Recurrent Memory Transformer, Neurips 2022 paper, in Pytorch☆394Updated this week
- Sequence modeling with Mega.☆298Updated last year
- Understand and test language model architectures on synthetic tasks.☆162Updated 6 months ago
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorch☆293Updated 5 months ago
- ☆132Updated last year
- Code for the ALiBi method for transformer language models (ICLR 2022)☆507Updated last year
- Implementation of Block Recurrent Transformer - Pytorch☆213Updated 3 months ago
- Implementation of Mega, the Single-head Attention with Multi-headed EMA architecture that currently holds SOTA on Long Range Arena☆203Updated last year
- Implementation of Infini-Transformer in Pytorch☆104Updated last month
- Exploring finetuning public checkpoints on filter 8K sequences on Pile☆115Updated last year
- Multipack distributed sampler for fast padding-free training of LLMs☆178Updated 3 months ago
- Implementation of fused cosine similarity attention in the same style as Flash Attention☆207Updated last year
- Some personal experiments around routing tokens to different autoregressive attention, akin to mixture-of-experts☆108Updated last month
- Implementation of Soft MoE, proposed by Brain's Vision team, in Pytorch☆246Updated 6 months ago
- This is the implementation of the paper AdaMix: Mixture-of-Adaptations for Parameter-efficient Model Tuning (https://arxiv.org/abs/2205.1…☆126Updated last year
- Recurrent Memory Transformer☆149Updated last year
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆360Updated last year
- Code for exploring Based models from "Simple linear attention language models balance the recall-throughput tradeoff"☆214Updated 3 months ago
- Just some miscellaneous utility functions / decorators / modules related to Pytorch and Accelerate to help speed up implementation of new…☆119Updated 3 months ago
- Pytorch implementation of the PEER block from the paper, Mixture of A Million Experts, by Xu Owen He at Deepmind☆112Updated 2 months ago
- Run Effective Large Batch Contrastive Learning Beyond GPU/TPU Memory Constraint☆361Updated 7 months ago
- Code for the paper "The Impact of Positional Encoding on Length Generalization in Transformers", NeurIPS 2023☆127Updated 6 months ago
- Implementation of the Llama architecture with RLHF + Q-learning☆157Updated 10 months ago
- Implementation of GateLoop Transformer in Pytorch and Jax☆86Updated 5 months ago
- A fast implementation of T5/UL2 in PyTorch using Flash Attention☆71Updated last month
- Explorations into the recently proposed Taylor Series Linear Attention☆90Updated 3 months ago
- Scaling Data-Constrained Language Models☆321Updated last month
- some common Huggingface transformers in maximal update parametrization (µP)☆76Updated 2 years ago
- ☆161Updated last year