deep-spin / entmax
The entmax mapping and its loss, a family of sparse softmax alternatives.
☆425Updated 7 months ago
Alternatives and similar repositories for entmax:
Users that are interested in entmax are comparing it to the libraries listed below
- Sinkhorn Transformer - Practical implementation of Sparse Sinkhorn Attention☆257Updated 3 years ago
- Fully featured implementation of Routing Transformer☆288Updated 3 years ago
- Implementation of Sparsemax activation in Pytorch☆158Updated 4 years ago
- Transformer with Untied Positional Encoding (TUPE). Code of paper "Rethinking Positional Encoding in Language Pre-training". Improve exis…☆250Updated 3 years ago
- Understanding the Difficulty of Training Transformers☆328Updated 2 years ago
- Code for Multi-Head Attention: Collaborate Instead of Concatenate☆152Updated last year
- Fast, general, and tested differentiable structured prediction in PyTorch☆1,108Updated 2 years ago
- The Noise Contrastive Estimation for softmax output written in Pytorch☆318Updated 5 years ago
- My take on a practical implementation of Linformer for Pytorch.☆411Updated 2 years ago
- ☆213Updated 4 years ago
- Transformer training code for sequential tasks☆610Updated 3 years ago
- Transformer based on a variant of attention that is linear complexity in respect to sequence length☆738Updated 9 months ago
- Implementation of https://arxiv.org/abs/1904.00962☆371Updated 4 years ago
- LAnguage Modelling Benchmarks☆137Updated 4 years ago
- Implementation of Universal Transformer in Pytorch☆259Updated 6 years ago
- Long Range Arena for Benchmarking Efficient Transformers☆745Updated last year
- Official PyTorch Repo for "ReZero is All You Need: Fast Convergence at Large Depth"☆408Updated 6 months 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…☆309Updated 3 years ago
- Source code for the paper "Hyperbolic Neural Networks", https://arxiv.org/abs/1805.09112☆174Updated 4 years ago
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆226Updated 2 years ago
- An implementation of Performer, a linear attention-based transformer, in Pytorch☆1,115Updated 3 years ago
- ☆312Updated 2 years ago
- Implementation of the "Poincare Glove: Hyperbolic word embeddings" paper☆85Updated 4 years ago
- A simple and working implementation of Electra, the fastest way to pretrain language models from scratch, in Pytorch☆221Updated last year
- Code for EMNLP18 paper "Spherical Latent Spaces for Stable Variational Autoencoders"☆168Updated 6 years ago
- ☆188Updated 2 years ago
- Pretrain and finetune ELECTRA with fastai and huggingface. (Results of the paper replicated !)☆326Updated last year
- Code for the paper "Ordered Neurons: Integrating Tree Structures into Recurrent Neural Networks"☆577Updated 5 years ago
- Flexible components pairing 🤗 Transformers with Pytorch Lightning☆612Updated 2 years ago
- DeLighT: Very Deep and Light-Weight Transformers☆467Updated 4 years ago