gmongaras / Cottention_Transformer
Code for the paper "Cottention: Linear Transformers With Cosine Attention"
☆17Updated 6 months ago
Alternatives and similar repositories for Cottention_Transformer:
Users that are interested in Cottention_Transformer are comparing it to the libraries listed below
- Official code for the paper "Attention as a Hypernetwork"☆32Updated 10 months ago
- HGRN2: Gated Linear RNNs with State Expansion☆54Updated 8 months ago
- [ICML 2024] When Linear Attention Meets Autoregressive Decoding: Towards More Effective and Efficient Linearized Large Language Models☆30Updated 10 months ago
- Official repository of paper "RNNs Are Not Transformers (Yet): The Key Bottleneck on In-context Retrieval"☆27Updated last year
- Here we will test various linear attention designs.☆60Updated last year
- This is a simple torch implementation of the high performance Multi-Query Attention☆17Updated last year
- [NeurIPS 2023 spotlight] Official implementation of HGRN in our NeurIPS 2023 paper - Hierarchically Gated Recurrent Neural Network for Se…☆64Updated last year
- ☆15Updated last year
- Awesome Triton Resources☆27Updated last week
- ☆78Updated 8 months ago
- Xmixers: A collection of SOTA efficient token/channel mixers☆11Updated 6 months ago
- ☆23Updated 7 months ago
- Triton implement of bi-directional (non-causal) linear attention☆47Updated 3 months ago
- ☆53Updated 10 months ago
- ☆32Updated last year
- DeciMamba: Exploring the Length Extrapolation Potential of Mamba (ICLR 2025)☆27Updated last month
- RWKV-X is a Linear Complexity Hybrid Language Model based on the RWKV architecture, integrating Sparse Attention to improve the model's l…☆20Updated last week
- Reference implementation of "Softmax Attention with Constant Cost per Token" (Heinsen, 2024)☆24Updated 11 months ago
- [ICLR 2025] Official Code Release for Explaining Modern Gated-Linear RNNs via a Unified Implicit Attention Formulation☆42Updated 2 months ago
- The open-source materials for paper "Sparsing Law: Towards Large Language Models with Greater Activation Sparsity".☆21Updated 5 months ago
- The official repository for our paper "The Dual Form of Neural Networks Revisited: Connecting Test Time Predictions to Training Patterns …☆16Updated last year
- ☆25Updated last year
- MambaFormer in-context learning experiments and implementation for https://arxiv.org/abs/2402.04248☆52Updated 10 months ago
- GoldFinch and other hybrid transformer components☆45Updated 9 months ago
- ☆14Updated 2 years ago
- Using FlexAttention to compute attention with different masking patterns☆43Updated 7 months ago
- [ICML 2023] "Data Efficient Neural Scaling Law via Model Reusing" by Peihao Wang, Rameswar Panda, Zhangyang Wang☆14Updated last year
- ☆19Updated 2 years ago
- "Found in the Middle: How Language Models Use Long Contexts Better via Plug-and-Play Positional Encoding" Zhenyu Zhang, Runjin Chen, Shiw…☆29Updated last year
- RWKV is an RNN with transformer-level LLM performance. It can be directly trained like a GPT (parallelizable). So it's combining the best…☆44Updated last month