Examples of using sparse attention, as in "Generating Long Sequences with Sparse Transformers"
☆1,610Aug 12, 2020Updated 5 years ago
Alternatives and similar repositories for sparse_attention
Users that are interested in sparse_attention are comparing it to the libraries listed below
Sorting:
- Efficient GPU kernels for block-sparse matrix multiplication and convolution☆1,063Jun 8, 2023Updated 2 years ago
- Transformer training code for sequential tasks☆609Sep 14, 2021Updated 4 years ago
- XLNet: Generalized Autoregressive Pretraining for Language Understanding☆6,176May 28, 2023Updated 2 years ago
- PyTorch original implementation of Cross-lingual Language Model Pretraining.☆2,924Feb 14, 2023Updated 3 years ago
- Code for the paper, "Distribution Augmentation for Generative Modeling", ICML 2020.☆131Apr 24, 2023Updated 2 years ago
- ☆3,686Sep 21, 2022Updated 3 years ago
- Code and model for the paper "Improving Language Understanding by Generative Pre-Training"☆2,278Jan 25, 2019Updated 7 years ago
- Code for the Eager Translation Model from the paper You May Not Need Attention☆293Dec 17, 2018Updated 7 years ago
- Longformer: The Long-Document Transformer☆2,188Feb 8, 2023Updated 3 years ago
- Code for the paper "Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformer"☆6,490Jan 14, 2026Updated last month
- A modular framework for vision & language multimodal research from Facebook AI Research (FAIR)☆5,618Jan 12, 2026Updated last month
- Pytorch library for fast transformer implementations☆1,762Mar 23, 2023Updated 2 years ago
- Library of deep learning models and datasets designed to make deep learning more accessible and accelerate ML research.☆17,025Jun 2, 2023Updated 2 years ago
- Facebook AI Research Sequence-to-Sequence Toolkit written in Python.☆32,170Sep 30, 2025Updated 5 months ago
- Lingvo☆2,855Feb 20, 2026Updated last week
- [ICLR'19] Trellis Networks for Sequence Modeling☆473Aug 20, 2019Updated 6 years ago
- An optimizer that trains as fast as Adam and as good as SGD.☆2,911Jul 23, 2023Updated 2 years ago
- LSTM and QRNN Language Model Toolkit for PyTorch☆1,990Feb 12, 2022Updated 4 years ago
- 🐥A PyTorch implementation of OpenAI's finetuned transformer language model with a script to import the weights pre-trained by OpenAI☆1,523Aug 9, 2021Updated 4 years ago
- Code for reproducing results in "Glow: Generative Flow with Invertible 1x1 Convolutions"☆3,181Jul 23, 2024Updated last year
- A PyTorch Extension: Tools for easy mixed precision and distributed training in Pytorch☆8,926Updated this week
- Training RNNs as Fast as CNNs (https://arxiv.org/abs/1709.02755)☆2,113Jan 4, 2022Updated 4 years ago
- Generate embeddings from large-scale graph-structured data.☆3,411Mar 3, 2024Updated 2 years ago
- Single Headed Attention RNN - "Stop thinking with your head"☆1,180Nov 27, 2021Updated 4 years ago
- On the Variance of the Adaptive Learning Rate and Beyond☆2,548Jul 31, 2021Updated 4 years ago
- An open-source NLP research library, built on PyTorch.☆11,889Nov 22, 2022Updated 3 years ago
- Multi-Task Deep Neural Networks for Natural Language Understanding☆2,258Mar 7, 2024Updated last year
- PyTorch implementation of the Quasi-Recurrent Neural Network - up to 16 times faster than NVIDIA's cuDNN LSTM☆1,265Feb 12, 2022Updated 4 years ago
- Open Source Neural Machine Translation and (Large) Language Models in PyTorch☆6,989Oct 14, 2025Updated 4 months ago
- Code for the paper "Language Models are Unsupervised Multitask Learners"☆24,648Aug 14, 2024Updated last year
- Ongoing research training transformer models at scale☆15,461Updated this week
- The author's officially unofficial PyTorch BigGAN implementation.☆2,924Jul 19, 2023Updated 2 years ago
- ELECTRA: Pre-training Text Encoders as Discriminators Rather Than Generators☆2,371Mar 23, 2024Updated last year
- Conditional Transformer Language Model for Controllable Generation☆1,884May 1, 2025Updated 10 months ago
- PyTorch extensions for high performance and large scale training.☆3,400Apr 26, 2025Updated 10 months ago
- Google AI 2018 BERT pytorch implementation☆6,519Sep 15, 2023Updated 2 years ago
- Bayesian optimization in PyTorch☆3,470Updated this week
- Build Graph Nets in Tensorflow☆5,394Dec 12, 2022Updated 3 years ago
- A Pytorch implementation of "FloWaveNet: A Generative Flow for Raw Audio"☆490Apr 23, 2019Updated 6 years ago