google-deepmind / randomized_positional_encodingsLinks
Randomized Positional Encodings Boost Length Generalization of Transformers
☆82Updated last year
Alternatives and similar repositories for randomized_positional_encodings
Users that are interested in randomized_positional_encodings are comparing it to the libraries listed below
Sorting:
- Code for the paper "The Impact of Positional Encoding on Length Generalization in Transformers", NeurIPS 2023☆137Updated last year
- Efficient Transformers with Dynamic Token Pooling☆66Updated 2 years ago
- some common Huggingface transformers in maximal update parametrization (µP)☆87Updated 3 years ago
- This is the implementation of the paper AdaMix: Mixture-of-Adaptations for Parameter-efficient Model Tuning (https://arxiv.org/abs/2205.1…☆136Updated 2 years ago
- [NeurIPS 2023 spotlight] Official implementation of HGRN in our NeurIPS 2023 paper - Hierarchically Gated Recurrent Neural Network for Se…☆66Updated last year
- ☆67Updated last year
- Griffin MQA + Hawk Linear RNN Hybrid☆88Updated last year
- My explorations into editing the knowledge and memories of an attention network☆35Updated 3 years ago
- Sequence modeling with Mega.☆302Updated 2 years ago
- A fusion of a linear layer and a cross entropy loss, written for pytorch in triton.☆75Updated last year
- ☆51Updated last year
- Recurrent Memory Transformer☆154Updated 2 years ago
- Implementation of GateLoop Transformer in Pytorch and Jax☆91Updated last year
- Yet another random morning idea to be quickly tried and architecture shared if it works; to allow the transformer to pause for any amount…☆53Updated 2 years ago
- Experimental playground for benchmarking language model (LM) architectures, layers, and tricks on smaller datasets. Designed for flexible…☆94Updated 3 weeks ago
- Implementation of the conditionally routed attention in the CoLT5 architecture, in Pytorch☆231Updated last year
- [NeurIPS 2022] Your Transformer May Not be as Powerful as You Expect (official implementation)☆34Updated 2 years ago
- Official code release for "SuperBPE: Space Travel for Language Models"☆77Updated last week
- Implementation of Infini-Transformer in Pytorch☆112Updated last year
- ☆57Updated last year
- Revisiting Efficient Training Algorithms For Transformer-based Language Models (NeurIPS 2023)☆81Updated 2 years ago
- ☆20Updated 3 years ago
- ☆83Updated 2 years ago
- ☆124Updated last year
- A fast implementation of T5/UL2 in PyTorch using Flash Attention☆113Updated 2 months ago
- ☆77Updated last year
- ☆150Updated 2 years ago
- ResiDual: Transformer with Dual Residual Connections, https://arxiv.org/abs/2304.14802☆97Updated 2 years ago
- Official repository for the paper "SwitchHead: Accelerating Transformers with Mixture-of-Experts Attention"☆102Updated last year
- Language models scale reliably with over-training and on downstream tasks☆100Updated last year