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
- A simple but robust PyTorch implementation of RetNet from "Retentive Network: A Successor to Transformer for Large Language Models" (http…☆104Updated last year
- Implementation of GateLoop Transformer in Pytorch and Jax☆87Updated 7 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
- Griffin MQA + Hawk Linear RNN Hybrid☆85Updated 9 months ago
- Experiments around a simple idea for inducing multiple hierarchical predictive model within a GPT☆205Updated 5 months ago
- Implementation of Infini-Transformer in Pytorch☆109Updated 3 weeks ago
- Bi-Directional Equivariant Long-Range DNA Sequence Modeling☆171Updated 2 weeks ago
- Official implementation of "Hydra: Bidirectional State Space Models Through Generalized Matrix Mixers"☆119Updated 5 months ago
- Some personal experiments around routing tokens to different autoregressive attention, akin to mixture-of-experts☆113Updated 3 months ago
- Implementation of the conditionally routed attention in the CoLT5 architecture, in Pytorch☆225Updated 4 months ago
- Repository for StripedHyena, a state-of-the-art beyond Transformer architecture☆331Updated 10 months ago
- Explorations into the recently proposed Taylor Series Linear Attention☆92Updated 5 months ago
- Implementation of the dilated self attention as described in "LongNet: Scaling Transformers to 1,000,000,000 Tokens"☆13Updated last year
- Implementation of the Llama architecture with RLHF + Q-learning☆157Updated last year
- Huggingface compatible implementation of RetNet (Retentive Networks, https://arxiv.org/pdf/2307.08621.pdf) including parallel, recurrent,…☆225Updated 10 months ago
- An annotated implementation of the Hyena Hierarchy paper☆32Updated last year
- Code for exploring Based models from "Simple linear attention language models balance the recall-throughput tradeoff"☆219Updated last month
- Implementation of 🌻 Mirasol, SOTA Multimodal Autoregressive model out of Google Deepmind, in Pytorch☆88Updated last year
- Implementation of the proposed Adam-atan2 from Google Deepmind in Pytorch☆101Updated 2 months ago
- Implementation of Soft MoE, proposed by Brain's Vision team, in Pytorch☆257Updated 9 months ago
- ☆164Updated last year
- Randomized Positional Encodings Boost Length Generalization of Transformers☆79Updated 10 months ago
- Just some miscellaneous utility functions / decorators / modules related to Pytorch and Accelerate to help speed up implementation of new…☆119Updated 6 months ago
- Understand and test language model architectures on synthetic tasks.☆177Updated 2 weeks ago
- Code repository for Black Mamba☆234Updated 11 months ago
- Implementation of Recurrent Memory Transformer, Neurips 2022 paper, in Pytorch☆403Updated 3 weeks ago
- Evaluating the Mamba architecture on the Othello game☆44Updated 9 months ago
- Sequence modeling with Mega.☆297Updated 2 years ago
- Implementation of Agent Attention in Pytorch☆89Updated 6 months ago
- Recurrent Memory Transformer☆148Updated last year