google-deepmind / randomized_positional_encodings
Randomized Positional Encodings Boost Length Generalization of Transformers
☆79Updated 11 months ago
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☆130Updated 9 months ago
- Griffin MQA + Hawk Linear RNN Hybrid☆85Updated 9 months ago
- ☆91Updated 8 months ago
- ☆47Updated last year
- ☆49Updated 7 months ago
- Implementation of Infini-Transformer in Pytorch☆109Updated last month
- ☆51Updated 9 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
- Code for exploring Based models from "Simple linear attention language models balance the recall-throughput tradeoff"☆221Updated this week
- ☆138Updated last year
- Official repository for the paper "Approximating Two-Layer Feedforward Networks for Efficient Transformers"☆36Updated last year
- some common Huggingface transformers in maximal update parametrization (µP)☆78Updated 2 years ago
- This is the implementation of the paper AdaMix: Mixture-of-Adaptations for Parameter-efficient Model Tuning (https://arxiv.org/abs/2205.1…☆127Updated last year
- Language models scale reliably with over-training and on downstream tasks☆96Updated 10 months ago
- ☆72Updated 9 months ago
- [NeurIPS 2023 spotlight] Official implementation of HGRN in our NeurIPS 2023 paper - Hierarchically Gated Recurrent Neural Network for Se…☆62Updated 9 months ago
- ☆44Updated last year
- Implementation of GateLoop Transformer in Pytorch and Jax☆87Updated 8 months ago
- ☆82Updated 4 months ago
- Understand and test language model architectures on synthetic tasks.☆181Updated last month
- [ICLR 2023] "Sparse MoE as the New Dropout: Scaling Dense and Self-Slimmable Transformers" by Tianlong Chen*, Zhenyu Zhang*, Ajay Jaiswal…☆48Updated last year
- Implementation of 🥥 Coconut, Chain of Continuous Thought, in Pytorch☆156Updated last month
- ☆78Updated 10 months ago
- Code for Zero-Shot Tokenizer Transfer☆120Updated last month
- Official repository for the paper "SwitchHead: Accelerating Transformers with Mixture-of-Experts Attention"☆96Updated 4 months ago
- ☆71Updated 6 months ago
- The source code of our work "Prepacking: A Simple Method for Fast Prefilling and Increased Throughput in Large Language Models"☆59Updated 4 months ago
- A fusion of a linear layer and a cross entropy loss, written for pytorch in triton.☆62Updated 6 months ago
- ☆77Updated last year
- ☆37Updated 10 months ago