tech-srl / layer_norm_expressivity_roleLinks
Code for the paper "On the Expressivity Role of LayerNorm in Transformers' Attention" (Findings of ACL'2023)
☆57Updated last year
Alternatives and similar repositories for layer_norm_expressivity_role
Users that are interested in layer_norm_expressivity_role are comparing it to the libraries listed below
Sorting:
- Using FlexAttention to compute attention with different masking patterns☆47Updated last year
- Triton Implementation of HyperAttention Algorithm☆48Updated 2 years ago
- Official repository of paper "RNNs Are Not Transformers (Yet): The Key Bottleneck on In-context Retrieval"☆27Updated last year
- Code for NeurIPS 2024 Spotlight: "Scaling Laws and Compute-Optimal Training Beyond Fixed Training Durations"☆87Updated last year
- Source-to-Source Debuggable Derivatives in Pure Python☆15Updated last year
- ☆57Updated last year
- ☆38Updated last year
- ☆52Updated last year
- Explorations into the recently proposed Taylor Series Linear Attention☆100Updated last year
- A basic pure pytorch implementation of flash attention☆16Updated last year
- Implementation of some personal helper functions for Einops, my most favorite tensor manipulation library ❤️☆57Updated 3 years ago
- ☆91Updated last year
- ☆45Updated 2 years ago
- One Initialization to Rule them All: Fine-tuning via Explained Variance Adaptation☆46Updated 2 months ago
- ☆107Updated last year
- ☆53Updated last year
- ☆82Updated last year
- HGRN2: Gated Linear RNNs with State Expansion☆56Updated last year
- Code for the paper "Query-Key Normalization for Transformers"☆50Updated 4 years ago
- Implementation of the Kalman Filtering Attention proposed in "Kalman Filtering Attention for User Behavior Modeling in CTR Prediction"☆59Updated 2 years ago
- Implementation of Token Shift GPT - An autoregressive model that solely relies on shifting the sequence space for mixing☆49Updated 3 years ago
- [NeurIPS 2022] Your Transformer May Not be as Powerful as You Expect (official implementation)☆34Updated 2 years ago
- Why Do We Need Weight Decay in Modern Deep Learning? [NeurIPS 2024]☆70Updated last year
- Utilities for Training Very Large Models☆58Updated last year
- Deep Networks Grok All the Time and Here is Why☆38Updated last year
- [NeurIPS 2023] Sparse Modular Activation for Efficient Sequence Modeling☆40Updated 2 years ago
- ☆35Updated last year
- ☆32Updated 2 years ago
- Latent Diffusion Language Models☆70Updated 2 years ago
- Minimal (400 LOC) implementation Maximum (multi-node, FSDP) GPT training☆132Updated last year