google-deepmind / randomized_positional_encodings
Randomized Positional Encodings Boost Length Generalization of Transformers
☆80Updated 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
- Code for the paper "The Impact of Positional Encoding on Length Generalization in Transformers", NeurIPS 2023☆131Updated 10 months ago
- [NeurIPS 2023 spotlight] Official implementation of HGRN in our NeurIPS 2023 paper - Hierarchically Gated Recurrent Neural Network for Se…☆64Updated 10 months ago
- some common Huggingface transformers in maximal update parametrization (µP)☆80Updated 3 years ago
- Griffin MQA + Hawk Linear RNN Hybrid☆85Updated 10 months ago
- 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 last year
- ☆91Updated last year
- Implementation of Infini-Transformer in Pytorch☆109Updated 2 months ago
- ☆52Updated 8 months ago
- Official repository for the paper "SwitchHead: Accelerating Transformers with Mixture-of-Experts Attention"☆97Updated 5 months ago
- ☆47Updated last year
- ☆73Updated 7 months ago
- ☆37Updated 11 months ago
- Implementation of GateLoop Transformer in Pytorch and Jax☆87Updated 9 months ago
- ☆19Updated 2 years ago
- Language models scale reliably with over-training and on downstream tasks☆96Updated 11 months ago
- ☆51Updated 10 months ago
- Implementation of 🥥 Coconut, Chain of Continuous Thought, in Pytorch☆160Updated 2 months ago
- Code for exploring Based models from "Simple linear attention language models balance the recall-throughput tradeoff"☆223Updated last month
- ☆95Updated 9 months ago
- ☆81Updated last year
- This is the implementation of the paper AdaMix: Mixture-of-Adaptations for Parameter-efficient Model Tuning (https://arxiv.org/abs/2205.1…☆130Updated last year
- ☆49Updated 4 months ago
- The source code of our work "Prepacking: A Simple Method for Fast Prefilling and Increased Throughput in Large Language Models"☆59Updated 5 months ago
- ☆87Updated 5 months ago
- Official repository for the paper "Approximating Two-Layer Feedforward Networks for Efficient Transformers"☆36Updated last year
- Understand and test language model architectures on synthetic tasks.☆185Updated 2 weeks ago
- Pytorch implementation of the PEER block from the paper, Mixture of A Million Experts, by Xu Owen He at Deepmind☆121Updated 7 months ago
- ☆64Updated 6 months ago
- A fusion of a linear layer and a cross entropy loss, written for pytorch in triton.☆65Updated 7 months ago
- ☆73Updated 10 months ago