fkodom / dilated-attention-pytorch
(Unofficial) Implementation of dilated attention from "LongNet: Scaling Transformers to 1,000,000,000 Tokens" (https://arxiv.org/abs/2307.02486)
☆50Updated last year
Alternatives and similar repositories for dilated-attention-pytorch:
Users that are interested in dilated-attention-pytorch are comparing it to the libraries listed below
- Implementation of Infini-Transformer in Pytorch☆110Updated 3 months ago
- My own attempt at a long context genomics model, leveraging recent advances in long context attention modeling (Flash Attention + other h…☆52Updated last year
- A simple but robust PyTorch implementation of RetNet from "Retentive Network: A Successor to Transformer for Large Language Models" (http…☆105Updated last year
- Implementation of the conditionally routed attention in the CoLT5 architecture, in Pytorch☆226Updated 7 months ago
- Implementation of GateLoop Transformer in Pytorch and Jax☆87Updated 10 months ago
- Implementation of Recurrent Memory Transformer, Neurips 2022 paper, in Pytorch☆407Updated 3 months ago
- Implementation of the dilated self attention as described in "LongNet: Scaling Transformers to 1,000,000,000 Tokens"☆13Updated last year
- Some personal experiments around routing tokens to different autoregressive attention, akin to mixture-of-experts☆118Updated 6 months ago
- Official implementation of "Hydra: Bidirectional State Space Models Through Generalized Matrix Mixers"☆128Updated 2 months ago
- Pytorch Implementation of the sparse attention from the paper: "Generating Long Sequences with Sparse Transformers"☆78Updated 2 weeks ago
- Experiments around a simple idea for inducing multiple hierarchical predictive model within a GPT☆211Updated 8 months ago
- Implementation of the proposed Adam-atan2 from Google Deepmind in Pytorch☆103Updated 4 months ago
- Griffin MQA + Hawk Linear RNN Hybrid☆85Updated 11 months ago
- Implementation of Zorro, Masked Multimodal Transformer, in Pytorch☆97Updated last year
- Implementation of the Llama architecture with RLHF + Q-learning☆164Updated 2 months ago
- A repository for log-time feedforward networks☆221Updated last year
- Randomized Positional Encodings Boost Length Generalization of Transformers☆80Updated last year
- Implementation of Soft MoE, proposed by Brain's Vision team, in Pytorch☆283Updated 3 weeks ago
- Recurrent Memory Transformer☆149Updated last year
- Implementation of Agent Attention in Pytorch☆89Updated 9 months ago
- ☆185Updated this week
- Bi-Directional Equivariant Long-Range DNA Sequence Modeling☆179Updated 3 months ago
- Implementation of MambaByte in "MambaByte: Token-free Selective State Space Model" in Pytorch and Zeta☆116Updated 3 weeks ago
- PyTorch Implementation of Jamba: "Jamba: A Hybrid Transformer-Mamba Language Model"☆166Updated 3 weeks ago
- Implementation of 🌻 Mirasol, SOTA Multimodal Autoregressive model out of Google Deepmind, in Pytorch☆88Updated last year
- Huggingface compatible implementation of RetNet (Retentive Networks, https://arxiv.org/pdf/2307.08621.pdf) including parallel, recurrent,…☆226Updated last year
- Exploring an idea where one forgets about efficiency and carries out attention across each edge of the nodes (tokens)☆50Updated 3 weeks ago
- An annotated implementation of the Hyena Hierarchy paper☆32Updated last year
- Template repo for Python projects, especially those focusing on machine learning and/or deep learning.☆15Updated this week
- Official repository for the paper "SwitchHead: Accelerating Transformers with Mixture-of-Experts Attention"☆97Updated 6 months ago