DonRL10 / RetNet
an implementation of paper"Retentive Network: A Successor to Transformer for Large Language Models" https://arxiv.org/pdf/2307.08621.pdf
☆12Updated last year
Alternatives and similar repositories for RetNet
Users that are interested in RetNet are comparing it to the libraries listed below
Sorting:
- ☆54Updated 10 months ago
- [NeurIPS 2023 spotlight] Official implementation of HGRN in our NeurIPS 2023 paper - Hierarchically Gated Recurrent Neural Network for Se…☆64Updated last year
- ☆13Updated last year
- Official repository for the paper "Approximating Two-Layer Feedforward Networks for Efficient Transformers"☆37Updated last year
- Contextual Position Encoding but with some custom CUDA Kernels https://arxiv.org/abs/2405.18719☆22Updated 11 months ago
- PyTorch implementation of Retentive Network: A Successor to Transformer for Large Language Models☆14Updated last year
- HGRN2: Gated Linear RNNs with State Expansion☆54Updated 8 months ago
- A large-scale RWKV v6, v7(World, ARWKV, PRWKV) inference. Capable of inference by combining multiple states(Pseudo MoE). Easy to deploy o…☆35Updated 2 weeks ago
- ☆23Updated 7 months ago
- ☆32Updated last year
- Official Code Repository for the paper "Key-value memory in the brain"☆25Updated 2 months ago
- GoldFinch and other hybrid transformer components☆45Updated 9 months ago
- My Implementation of Q-Sparse: All Large Language Models can be Fully Sparsely-Activated☆32Updated 9 months ago
- User-friendly implementation of the Mixture-of-Sparse-Attention (MoSA). MoSA selects distinct tokens for each head with expert choice rou…☆13Updated 2 weeks ago
- Implementation of GateLoop Transformer in Pytorch and Jax☆88Updated 11 months ago
- Tiled Flash Linear Attention library for fast and efficient mLSTM Kernels.☆56Updated last week
- Code for preprint "Metadata Conditioning Accelerates Language Model Pre-training (MeCo)"☆38Updated 2 weeks ago
- Efficient PScan implementation in PyTorch☆16Updated last year
- Official Repository for Efficient Linear-Time Attention Transformers.☆18Updated 11 months ago
- ☆24Updated last year
- Triton Implementation of HyperAttention Algorithm☆48Updated last year
- Engineering the state of RNN language models (Mamba, RWKV, etc.)☆32Updated 11 months ago
- ☆27Updated 10 months ago
- Jax implementation of "Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Models"☆14Updated last year
- ☆12Updated last year
- This is a simple torch implementation of the high performance Multi-Query Attention☆17Updated last year
- The repository contains code for Adaptive Data Optimization☆24Updated 5 months ago
- ☆20Updated 2 years ago
- DPO, but faster 🚀☆42Updated 5 months ago
- Blog post☆17Updated last year