Doraemonzzz / tnn-pytorchLinks
☆20Updated 2 years ago
Alternatives and similar repositories for tnn-pytorch
Users that are interested in tnn-pytorch are comparing it to the libraries listed below
Sorting:
- [NeurIPS 2022] Your Transformer May Not be as Powerful as You Expect (official implementation)☆34Updated 2 years ago
- Curse-of-memory phenomenon of RNNs in sequence modelling☆19Updated 7 months ago
- ☆32Updated last year
- [NeurIPS 2023 spotlight] Official implementation of HGRN in our NeurIPS 2023 paper - Hierarchically Gated Recurrent Neural Network for Se…☆66Updated last year
- [EMNLP 2023] Official implementation of the algorithm ETSC: Exact Toeplitz-to-SSM Conversion our EMNLP 2023 paper - Accelerating Toeplitz…☆14Updated 2 years ago
- ☆29Updated last year
- Blog post☆17Updated last year
- [ICLR 2023] Official implementation of Transnormer in our ICLR 2023 paper - Toeplitz Neural Network for Sequence Modeling☆81Updated last year
- Leveraging Recursive Gumbel-Max Trick for Approximate Inference in Combinatorial Spaces, NeurIPS 2021☆13Updated 3 years ago
- Efficient PScan implementation in PyTorch☆17Updated last year
- ☆52Updated 2 years ago
- ☆57Updated last year
- ☆50Updated last year
- Using FlexAttention to compute attention with different masking patterns☆47Updated last year
- Fine-Tuning Pre-trained Transformers into Decaying Fast Weights☆19Updated 3 years ago
- Why Do We Need Weight Decay in Modern Deep Learning? [NeurIPS 2024]☆69Updated last year
- Implementation of Gated State Spaces, from the paper "Long Range Language Modeling via Gated State Spaces", in Pytorch☆101Updated 2 years ago
- Sequence Modeling with Multiresolution Convolutional Memory (ICML 2023)☆127Updated 2 years ago
- HGRN2: Gated Linear RNNs with State Expansion☆55Updated last year
- Code for "Theoretical Foundations of Deep Selective State-Space Models" (NeurIPS 2024)☆15Updated 11 months ago
- ☆24Updated last year
- Reference implementation of "Softmax Attention with Constant Cost per Token" (Heinsen, 2024)☆24Updated last year
- Triton Implementation of HyperAttention Algorithm☆48Updated last year
- sigma-MoE layer☆20Updated last year
- Official Repository for Efficient Linear-Time Attention Transformers.☆18Updated last year
- [ICLR 2023] "Sparse MoE as the New Dropout: Scaling Dense and Self-Slimmable Transformers" by Tianlong Chen*, Zhenyu Zhang*, Ajay Jaiswal…☆56Updated 2 years ago
- Official code for the paper "Attention as a Hypernetwork"☆46Updated last year
- Here we will test various linear attention designs.☆62Updated last year
- Expanding linear RNN state-transition matrix eigenvalues to include negatives improves state-tracking tasks and language modeling without…☆17Updated 8 months ago
- Parallel Associative Scan for Language Models☆18Updated last year