sooftware / attentions
PyTorch implementation of some attentions for Deep Learning Researchers.
☆513Updated 2 years ago
Related projects ⓘ
Alternatives and complementary repositories for attentions
- An implementation of Performer, a linear attention-based transformer, in Pytorch☆1,098Updated 2 years ago
- Pytorch library for fast transformer implementations☆1,643Updated last year
- My take on a practical implementation of Linformer for Pytorch.☆407Updated 2 years ago
- Implementation of Linformer for Pytorch☆257Updated 10 months ago
- Unofficial implementation of Google's FNet: Mixing Tokens with Fourier Transforms☆251Updated 3 years ago
- Learning Rate Warmup in PyTorch☆392Updated this week
- Transformer based on a variant of attention that is linear complexity in respect to sequence length☆698Updated 6 months ago
- An implementation of masked language modeling for Pytorch, made as concise and simple as possible☆177Updated last year
- Reformer, the efficient Transformer, in Pytorch☆2,121Updated last year
- Implementation of gMLP, an all-MLP replacement for Transformers, in Pytorch☆425Updated 3 years ago
- Minimal RNN classifier with self-attention in Pytorch☆150Updated 2 years ago
- ☆440Updated last year
- An implementation of local windowed attention for language modeling☆384Updated 2 months ago
- PyTorch implementation of the InfoNCE loss for self-supervised learning.☆489Updated last year
- Contrastive Predictive Coding for Automatic Speaker Verification☆480Updated 5 years ago
- The entmax mapping and its loss, a family of sparse softmax alternatives.☆416Updated 4 months ago
- Pytorch Lightning code guideline for conferences☆1,242Updated last year
- A Pytorch Implementation of "Attention is All You Need" and "Weighted Transformer Network for Machine Translation"☆547Updated 4 years ago
- DeLighT: Very Deep and Light-Weight Transformers☆467Updated 4 years ago
- Flexible components pairing 🤗 Transformers with Pytorch Lightning☆611Updated 2 years ago
- An implementation of 1D, 2D, and 3D positional encoding in Pytorch and TensorFlow☆546Updated 3 weeks ago
- An All-MLP solution for Vision, from Google AI☆1,003Updated 2 months ago
- Source code for "On the Relationship between Self-Attention and Convolutional Layers"☆1,085Updated last year
- Early stopping for PyTorch☆1,230Updated last week
- A simple and working implementation of Electra, the fastest way to pretrain language models from scratch, in Pytorch☆222Updated last year
- PyTorch implementation of beam search decoding for seq2seq models☆336Updated last year
- Implementation of Rotary Embeddings, from the Roformer paper, in Pytorch☆571Updated last week
- Unofficial PyTorch implementation of Attention Free Transformer (AFT) layers by Apple Inc.☆228Updated 2 years ago
- This is a repository with the code for the ACL 2019 paper "Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, t…☆302Updated 3 years ago
- Implementation of Transformer encoder in PyTorch☆60Updated 4 years ago