DonRL10 / RetNetLinks
an implementation of paper"Retentive Network: A Successor to Transformer for Large Language Models" https://arxiv.org/pdf/2307.08621.pdf
☆12Updated 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
- ☆55Updated last year
- Implementation of GateLoop Transformer in Pytorch and Jax☆90Updated last year
- ☆31Updated 2 months ago
- Griffin MQA + Hawk Linear RNN Hybrid☆88Updated last year
- ☆66Updated 11 months ago
- Randomized Positional Encodings Boost Length Generalization of Transformers☆82Updated last year
- Pytorch implementation of "Block Recurrent Transformers" (Hutchins & Schlag et al., 2022)☆84Updated 3 years ago
- Jax implementation of "Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Models"☆14Updated last year
- ☆13Updated 2 years ago
- Implementation of Griffin from the paper: "Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Models"☆56Updated 3 weeks ago
- HGRN2: Gated Linear RNNs with State Expansion☆55Updated 11 months ago
- Code for the paper "The Impact of Positional Encoding on Length Generalization in Transformers", NeurIPS 2023☆136Updated last year
- ☆49Updated last year
- A large-scale RWKV v6, v7(World, PRWKV, Hybrid-RWKV) inference. Capable of inference by combining multiple states(Pseudo MoE). Easy to de…☆40Updated this week
- Official Code Repository for the paper "Key-value memory in the brain"☆28Updated 5 months ago
- Contextual Position Encoding but with some custom CUDA Kernels https://arxiv.org/abs/2405.18719☆22Updated last year
- Implementation of "LM-Infinite: Simple On-the-Fly Length Generalization for Large Language Models"☆40Updated 9 months ago
- Efficient PScan implementation in PyTorch☆16Updated last year
- ☆23Updated 10 months ago
- Triton Implementation of HyperAttention Algorithm☆48Updated last year
- RWKV, in easy to read code☆71Updated 4 months ago
- Code for "Theoretical Foundations of Deep Selective State-Space Models" (NeurIPS 2024)☆15Updated 7 months ago
- Efficient Transformers with Dynamic Token Pooling☆62Updated 2 years ago
- PyTorch implementation of Retentive Network: A Successor to Transformer for Large Language Models☆14Updated 2 years ago
- Official repository for the paper "Approximating Two-Layer Feedforward Networks for Efficient Transformers"☆38Updated 2 months ago
- ☆51Updated 2 years ago
- ☆12Updated last year
- A (somewhat) minimal library for finetuning language models with PPO on human feedback.☆86Updated 2 years ago
- An Experiment on Dynamic NTK Scaling RoPE☆64Updated last year