ShaderManager / RetNetLinks
PyTorch implementation of Retentive Network: A Successor to Transformer for Large Language Models
☆14Updated last year
Alternatives and similar repositories for RetNet
Users that are interested in RetNet are comparing it to the libraries listed below
Sorting:
- A simple but robust PyTorch implementation of RetNet from "Retentive Network: A Successor to Transformer for Large Language Models" (http…☆106Updated last year
- Implementation of MoE Mamba from the paper: "MoE-Mamba: Efficient Selective State Space Models with Mixture of Experts" in Pytorch and Ze…☆107Updated 3 months ago
- A repository for DenseSSMs☆87Updated last year
- Integrating Mamba/SSMs with Transformer for Enhanced Long Context and High-Quality Sequence Modeling☆197Updated 3 months ago
- HGRN2: Gated Linear RNNs with State Expansion☆55Updated 10 months ago
- [ICLR 2025] Official Code Release for Explaining Modern Gated-Linear RNNs via a Unified Implicit Attention Formulation☆43Updated 4 months ago
- Implementation of Griffin from the paper: "Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Models"☆55Updated 3 months ago
- several types of attention modules written in PyTorch for learning purposes☆54Updated 9 months ago
- Implementation of MambaByte in "MambaByte: Token-free Selective State Space Model" in Pytorch and Zeta☆118Updated 3 months ago
- Implementation of Agent Attention in Pytorch☆90Updated last year
- Experiments on Multi-Head Latent Attention☆93Updated 10 months ago
- PyTorch implementation of Soft MoE by Google Brain in "From Sparse to Soft Mixtures of Experts" (https://arxiv.org/pdf/2308.00951.pdf)☆75Updated last year
- ☆28Updated 9 months ago
- Implementation of a modular, high-performance, and simplistic mamba for high-speed applications☆36Updated 8 months ago
- an implementation of paper"Retentive Network: A Successor to Transformer for Large Language Models" https://arxiv.org/pdf/2307.08621.pdf☆12Updated last year
- Implementation of the paper: "Mixture-of-Depths: Dynamically allocating compute in transformer-based language models"☆99Updated last week
- A single repo with all scripts and utils to train / fine-tune the Mamba model with or without FIM☆55Updated last year
- This repository contains papers for a comprehensive survey on accelerated generation techniques in Large Language Models (LLMs).☆11Updated last year
- Efficient Infinite Context Transformers with Infini-attention Pytorch Implementation + QwenMoE Implementation + Training Script + 1M cont…☆83Updated last year
- Official implementation of the ICML 2024 paper RoSA (Robust Adaptation)☆42Updated last year
- The official GitHub page for the survey paper "A Survey of RWKV".☆27Updated 6 months ago
- ☆43Updated 5 months ago
- Implementation of Infini-Transformer in Pytorch☆111Updated 6 months ago
- Official PyTorch Implementation of "The Hidden Attention of Mamba Models"☆224Updated last year
- Here we will test various linear attention designs.☆60Updated last year
- Inference Speed Benchmark for Learning to (Learn at Test Time): RNNs with Expressive Hidden States☆71Updated last year
- Community Implementation of the paper: "Multi-Head Mixture-of-Experts" In PyTorch☆25Updated 3 months ago
- PyTorch Implementation of Jamba: "Jamba: A Hybrid Transformer-Mamba Language Model"☆173Updated 3 months ago
- User-friendly implementation of the Mixture-of-Sparse-Attention (MoSA). MoSA selects distinct tokens for each head with expert choice rou…☆22Updated 2 months ago
- My implementation of the original transformer model (Vaswani et al.). I've additionally included the playground.py file for visualizing o…☆43Updated 7 months ago