RL10x / RetNetLinks
an implementation of paper"Retentive Network: A Successor to Transformer for Large Language Models" https://arxiv.org/pdf/2307.08621.pdf
☆11Updated 2 years ago
Alternatives and similar repositories for RetNet
Users that are interested in RetNet are comparing it to the libraries listed below
Sorting:
- [NeurIPS 2023 spotlight] Official implementation of HGRN in our NeurIPS 2023 paper - Hierarchically Gated Recurrent Neural Network for Se…☆66Updated last year
- ☆57Updated last year
- ☆67Updated last year
- Griffin MQA + Hawk Linear RNN Hybrid☆89Updated last year
- Implementation of GateLoop Transformer in Pytorch and Jax☆91Updated last year
- Contextual Position Encoding but with some custom CUDA Kernels https://arxiv.org/abs/2405.18719☆22Updated last year
- Randomized Positional Encodings Boost Length Generalization of Transformers☆82Updated last year
- RWKV, in easy to read code☆72Updated 9 months ago
- ☆51Updated last year
- Code for the paper "The Impact of Positional Encoding on Length Generalization in Transformers", NeurIPS 2023☆138Updated last year
- Jax implementation of "Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Models"☆15Updated last year
- Implementation of Griffin from the paper: "Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Models"☆56Updated 2 months ago
- Efficient Transformers with Dynamic Token Pooling☆66Updated 2 years ago
- Pytorch implementation of "Block Recurrent Transformers" (Hutchins & Schlag et al., 2022)☆85Updated 3 years ago
- ☆14Updated 2 years ago
- ☆27Updated 5 months ago
- HGRN2: Gated Linear RNNs with State Expansion☆56Updated last year
- ☆29Updated last year
- Recurrent Memory Transformer☆154Updated 2 years ago
- A large-scale RWKV v7(World, PRWKV, Hybrid-RWKV) inference. Capable of inference by combining multiple states(Pseudo MoE). Easy to deploy…☆46Updated 2 months ago
- My Implementation of Q-Sparse: All Large Language Models can be Fully Sparsely-Activated☆33Updated last year
- ☆35Updated 2 weeks ago
- ☆45Updated 2 years ago
- Implementation of Infini-Transformer in Pytorch☆112Updated last year
- Official repository for the paper "Approximating Two-Layer Feedforward Networks for Efficient Transformers"☆38Updated 6 months ago
- Code for ICML 25 paper "Metadata Conditioning Accelerates Language Model Pre-training (MeCo)"☆48Updated 6 months ago
- ☆22Updated 2 years ago
- Some personal experiments around routing tokens to different autoregressive attention, akin to mixture-of-experts☆121Updated last year
- ☆29Updated last year
- An Experiment on Dynamic NTK Scaling RoPE☆64Updated 2 years ago