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
Related projects ⓘ
Alternatives and complementary repositories for dilated-attention-pytorch
- A simple but robust PyTorch implementation of RetNet from "Retentive Network: A Successor to Transformer for Large Language Models" (http…☆100Updated 11 months ago
- Implementation of Infini-Transformer in Pytorch☆104Updated last month
- Implementation of the Llama architecture with RLHF + Q-learning☆156Updated 10 months ago
- Implementation of the conditionally routed attention in the CoLT5 architecture, in Pytorch☆224Updated 2 months ago
- Implementation of GateLoop Transformer in Pytorch and Jax☆86Updated 4 months ago
- My own attempt at a long context genomics model, leveraging recent advances in long context attention modeling (Flash Attention + other h…☆51Updated last year
- Code for exploring Based models from "Simple linear attention language models balance the recall-throughput tradeoff"☆212Updated 2 months ago
- Experiments around a simple idea for inducing multiple hierarchical predictive model within a GPT☆205Updated 2 months ago
- Repository for StripedHyena, a state-of-the-art beyond Transformer architecture☆267Updated 8 months ago
- Understand and test language model architectures on synthetic tasks.☆161Updated 6 months ago
- Some personal experiments around routing tokens to different autoregressive attention, akin to mixture-of-experts☆108Updated 3 weeks ago
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorch☆291Updated 4 months ago
- Bi-Directional Equivariant Long-Range DNA Sequence Modeling☆157Updated last month
- Huggingface compatible implementation of RetNet (Retentive Networks, https://arxiv.org/pdf/2307.08621.pdf) including parallel, recurrent,…☆226Updated 7 months ago
- Pytorch Implementation of the sparse attention from the paper: "Generating Long Sequences with Sparse Transformers"☆59Updated this week
- Griffin MQA + Hawk Linear RNN Hybrid☆85Updated 6 months ago
- Implementation of MambaByte in "MambaByte: Token-free Selective State Space Model" in Pytorch and Zeta☆108Updated this week
- Just some miscellaneous utility functions / decorators / modules related to Pytorch and Accelerate to help speed up implementation of new…☆117Updated 3 months ago
- ☆175Updated this week
- Code repository for Black Mamba☆232Updated 9 months ago
- FlashFFTConv: Efficient Convolutions for Long Sequences with Tensor Cores☆277Updated last month
- An annotated implementation of the Hyena Hierarchy paper☆31Updated last year
- Implementation of the proposed Adam-atan2 from Google Deepmind in Pytorch☆94Updated 2 weeks ago
- Implementation of 🌻 Mirasol, SOTA Multimodal Autoregressive model out of Google Deepmind, in Pytorch☆88Updated 10 months ago
- The simplest, fastest repository for training/finetuning medium-sized GPTs.☆83Updated last week
- ☆73Updated 11 months ago
- Implementation of Soft MoE, proposed by Brain's Vision team, in Pytorch☆242Updated 6 months ago
- ☆132Updated last year
- Official repository for the paper "SwitchHead: Accelerating Transformers with Mixture-of-Experts Attention"☆91Updated last month
- Tree Attention: Topology-aware Decoding for Long-Context Attention on GPU clusters☆104Updated last month