OpenNLPLab / Transnormer
[EMNLP 2022] Official implementation of Transnormer in our EMNLP 2022 paper - The Devil in Linear Transformer
☆60Updated last year
Alternatives and similar repositories for Transnormer:
Users that are interested in Transnormer are comparing it to the libraries listed below
- [ICLR 2023] Official implementation of Transnormer in our ICLR 2023 paper - Toeplitz Neural Network for Sequence Modeling☆79Updated 10 months ago
- A repository for DenseSSMs☆87Updated 11 months ago
- ☆100Updated last year
- [EVA ICLR'23; LARA ICML'22] Efficient attention mechanisms via control variates, random features, and importance sampling☆81Updated 2 years ago
- [NeurIPS 2023 spotlight] Official implementation of HGRN in our NeurIPS 2023 paper - Hierarchically Gated Recurrent Neural Network for Se…☆64Updated 10 months ago
- ☆51Updated 8 months ago
- Code for paper "Patch-Level Training for Large Language Models"☆81Updated 3 months ago
- Mixture of Attention Heads☆41Updated 2 years ago
- [ICLR 2023] "Sparse MoE as the New Dropout: Scaling Dense and Self-Slimmable Transformers" by Tianlong Chen*, Zhenyu Zhang*, Ajay Jaiswal…☆48Updated 2 years ago
- Code for paper "Diffusion Language Models Can Perform Many Tasks with Scaling and Instruction-Finetuning"☆70Updated last year
- 🔥 A minimal training framework for scaling FLA models☆75Updated this week
- [ICML'24 Oral] The official code of "DiJiang: Efficient Large Language Models through Compact Kernelization", a novel DCT-based linear at…☆99Updated 8 months ago
- [NeurIPS-2024] 📈 Scaling Laws with Vocabulary: Larger Models Deserve Larger Vocabularies https://arxiv.org/abs/2407.13623☆80Updated 5 months ago
- Triton implement of bi-directional (non-causal) linear attention☆43Updated last month
- ☆17Updated 2 months ago
- Keras implement of Finite Scalar Quantization☆70Updated last year
- The this is the official implementation of "DAPE: Data-Adaptive Positional Encoding for Length Extrapolation"☆36Updated 5 months ago
- [ICLR 2024] CLEX: Continuous Length Extrapolation for Large Language Models☆76Updated last year
- ☆188Updated last year
- HGRN2: Gated Linear RNNs with State Expansion☆53Updated 6 months ago
- The accompanying code for "Memory-efficient Transformers via Top-k Attention" (Ankit Gupta, Guy Dar, Shaya Goodman, David Ciprut, Jonatha…☆65Updated 3 years ago
- Enable Next-sentence Prediction for Large Language Models with Faster Speed, Higher Accuracy and Longer Context☆27Updated 6 months ago
- Randomized Positional Encodings Boost Length Generalization of Transformers☆79Updated 11 months ago
- ☆30Updated 9 months ago
- Here we will test various linear attention designs.☆59Updated 10 months ago
- [ICML 2024] When Linear Attention Meets Autoregressive Decoding: Towards More Effective and Efficient Linearized Large Language Models☆30Updated 9 months ago
- PyTorch implementation of "From Sparse to Soft Mixtures of Experts"☆51Updated last year
- [ICML'24] The official implementation of “Rethinking Optimization and Architecture for Tiny Language Models”☆121Updated 2 months ago