DonRL10 / 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:
- ☆57Updated last year
- [NeurIPS 2023 spotlight] Official implementation of HGRN in our NeurIPS 2023 paper - Hierarchically Gated Recurrent Neural Network for Se…☆66Updated last year
- Implementation of GateLoop Transformer in Pytorch and Jax☆91Updated last year
- ☆67Updated last year
- RWKV, in easy to read code☆72Updated 8 months ago
- ☆50Updated last year
- My Implementation of Q-Sparse: All Large Language Models can be Fully Sparsely-Activated☆33Updated last year
- Code for the paper "The Impact of Positional Encoding on Length Generalization in Transformers", NeurIPS 2023☆138Updated last year
- Contextual Position Encoding but with some custom CUDA Kernels https://arxiv.org/abs/2405.18719☆22Updated last year
- Griffin MQA + Hawk Linear RNN Hybrid☆89Updated last year
- Implementation of "LM-Infinite: Simple On-the-Fly Length Generalization for Large Language Models"☆40Updated last year
- Randomized Positional Encodings Boost Length Generalization of Transformers☆83Updated last year
- ☆14Updated 2 years ago
- HGRN2: Gated Linear RNNs with State Expansion☆56Updated last year
- A large-scale RWKV v7(World, PRWKV, Hybrid-RWKV) inference. Capable of inference by combining multiple states(Pseudo MoE). Easy to deploy…☆46Updated last month
- Efficient PScan implementation in PyTorch☆17Updated last year
- ☆35Updated this week
- ☆38Updated last year
- ☆20Updated 3 years ago
- ☆29Updated last year
- Experiments on the impact of depth in transformers and SSMs.☆38Updated last month
- ☆24Updated last year
- ☆27Updated 4 months ago
- Official repository of paper "RNNs Are Not Transformers (Yet): The Key Bottleneck on In-context Retrieval"☆27Updated last year
- Jax implementation of "Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Models"☆15Updated last year
- Efficient Transformers with Dynamic Token Pooling☆65Updated 2 years ago
- Official Repository for Efficient Linear-Time Attention Transformers.☆18Updated last year
- GoldFinch and other hybrid transformer components☆45Updated last year
- Triton Implementation of HyperAttention Algorithm☆48Updated 2 years ago
- Implementation of Griffin from the paper: "Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Models"☆56Updated last month