OpenNLPLab / Tnn
[ICLR 2023] Official implementation of Transnormer in our ICLR 2023 paper - Toeplitz Neural Network for Sequence Modeling
☆79Updated 11 months ago
Alternatives and similar repositories for Tnn:
Users that are interested in Tnn are comparing it to the libraries listed below
- [EMNLP 2022] Official implementation of Transnormer in our EMNLP 2022 paper - The Devil in Linear Transformer☆60Updated last year
- [NeurIPS 2023 spotlight] Official implementation of HGRN in our NeurIPS 2023 paper - Hierarchically Gated Recurrent Neural Network for Se…☆64Updated 11 months ago
- ☆102Updated last year
- ☆53Updated 9 months ago
- [ICLR 2025] Official PyTorch implementation of "Forgetting Transformer: Softmax Attention with a Forget Gate"☆91Updated last week
- ☆20Updated 2 years ago
- ☆189Updated last year
- [EVA ICLR'23; LARA ICML'22] Efficient attention mechanisms via control variates, random features, and importance sampling☆83Updated 2 years ago
- [ICLR 2023] "Sparse MoE as the New Dropout: Scaling Dense and Self-Slimmable Transformers" by Tianlong Chen*, Zhenyu Zhang*, Ajay Jaiswal…☆50Updated 2 years ago
- Code for paper "Patch-Level Training for Large Language Models"☆82Updated 5 months ago
- [ICML'24 Oral] The official code of "DiJiang: Efficient Large Language Models through Compact Kernelization", a novel DCT-based linear at…☆100Updated 10 months ago
- Implementation of Gated State Spaces, from the paper "Long Range Language Modeling via Gated State Spaces", in Pytorch☆99Updated 2 years ago
- 32 times longer context window than vanilla Transformers and up to 4 times longer than memory efficient Transformers.☆47Updated last year
- Language Quantized AutoEncoders☆103Updated 2 years ago
- Here we will test various linear attention designs.☆60Updated 11 months ago
- [EMNLP 2023] Official implementation of the algorithm ETSC: Exact Toeplitz-to-SSM Conversion our EMNLP 2023 paper - Accelerating Toeplitz…☆14Updated last year
- Keras implement of Finite Scalar Quantization☆71Updated last year
- Stick-breaking attention☆50Updated last month
- [NeurIPS 2022] Your Transformer May Not be as Powerful as You Expect (official implementation)☆34Updated last year
- Implementation of Griffin from the paper: "Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Models"☆52Updated 2 weeks ago
- ☆19Updated 2 years ago
- A repository for DenseSSMs☆87Updated last year
- ☆32Updated last year
- HGRN2: Gated Linear RNNs with State Expansion☆54Updated 8 months ago
- Implementation of Infini-Transformer in Pytorch☆110Updated 3 months ago
- 🔥 A minimal training framework for scaling FLA models☆101Updated last week
- The this is the official implementation of "DAPE: Data-Adaptive Positional Encoding for Length Extrapolation"☆37Updated 6 months ago
- Code for paper "Diffusion Language Models Can Perform Many Tasks with Scaling and Instruction-Finetuning"☆76Updated last year
- Randomized Positional Encodings Boost Length Generalization of Transformers☆80Updated last year
- Mixture of Attention Heads☆44Updated 2 years ago