openai / sparse_attentionLinks
Examples of using sparse attention, as in "Generating Long Sequences with Sparse Transformers"
☆1,588Updated 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:
- Reformer, the efficient Transformer, in Pytorch☆2,180Updated 2 years ago
- Pytorch library for fast transformer implementations☆1,727Updated 2 years ago
- ☆3,669Updated 2 years ago
- Transformer training code for sequential tasks☆611Updated 3 years ago
- An implementation of Performer, a linear attention-based transformer, in Pytorch☆1,148Updated 3 years ago
- Single Headed Attention RNN - "Stop thinking with your head"☆1,183Updated 3 years ago
- Long Range Arena for Benchmarking Efficient Transformers☆764Updated last year
- Source code for "On the Relationship between Self-Attention and Convolutional Layers"☆1,109Updated 2 years ago
- [ICLR 2020] Lite Transformer with Long-Short Range Attention☆611Updated last year
- Transformer based on a variant of attention that is linear complexity in respect to sequence length☆797Updated last year
- On the Variance of the Adaptive Learning Rate and Beyond☆2,554Updated 4 years ago
- Training RNNs as Fast as CNNs (https://arxiv.org/abs/1709.02755)☆2,104Updated 3 years ago
- 🐥A PyTorch implementation of OpenAI's finetuned transformer language model with a script to import the weights pre-trained by OpenAI☆1,516Updated 4 years ago
- My take on a practical implementation of Linformer for Pytorch.☆417Updated 3 years ago
- Longformer: The Long-Document Transformer☆2,162Updated 2 years ago
- LSTM and QRNN Language Model Toolkit for PyTorch☆1,979Updated 3 years ago
- Official PyTorch Repo for "ReZero is All You Need: Fast Convergence at Large Depth"☆414Updated last year
- Efficient GPU kernels for block-sparse matrix multiplication and convolution☆1,049Updated 2 years ago
- Implementation of https://arxiv.org/abs/1904.00962☆376Updated 4 years ago
- Integrating the Best of TF into PyTorch, for Machine Learning, Natural Language Processing, and Text Generation. This is part of the CAS…☆748Updated 3 years ago
- A lightweight library for PyTorch training tools and utilities☆1,709Updated last week
- Library for faster pinned CPU <-> GPU transfer in Pytorch☆685Updated 5 years ago
- PyTorch original implementation of Cross-lingual Language Model Pretraining.☆2,921Updated 2 years ago
- An open source framework for seq2seq models in PyTorch.☆1,512Updated 4 months ago
- DeLighT: Very Deep and Light-Weight Transformers☆469Updated 4 years ago
- Ranger - a synergistic optimizer using RAdam (Rectified Adam), Gradient Centralization and LookAhead in one codebase☆1,203Updated last year
- Make huge neural nets fit in memory☆2,812Updated 5 years ago
- Code and model for the paper "Improving Language Understanding by Generative Pre-Training"☆2,236Updated 6 years ago
- Mesh TensorFlow: Model Parallelism Made Easier☆1,615Updated last year
- Simple Text-Generator with OpenAI gpt-2 Pytorch Implementation☆1,008Updated 6 years ago