deep-spin / entmax
The entmax mapping and its loss, a family of sparse softmax alternatives.
☆419Updated 6 months ago
Alternatives and similar repositories for entmax:
Users that are interested in entmax are comparing it to the libraries listed below
- Implementation of Sparsemax activation in Pytorch☆158Updated 4 years ago
- Sinkhorn Transformer - Practical implementation of Sparse Sinkhorn Attention☆256Updated 3 years ago
- Transformer with Untied Positional Encoding (TUPE). Code of paper "Rethinking Positional Encoding in Language Pre-training". Improve exis…☆250Updated 3 years ago
- Fully featured implementation of Routing Transformer☆288Updated 3 years ago
- Understanding the Difficulty of Training Transformers☆327Updated 2 years ago
- Code for Multi-Head Attention: Collaborate Instead of Concatenate☆151Updated 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
- Implementation of https://arxiv.org/abs/1904.00962☆372Updated 4 years ago
- My take on a practical implementation of Linformer for Pytorch.☆409Updated 2 years ago
- ☆213Updated 4 years ago
- Long Range Arena for Benchmarking Efficient Transformers☆739Updated last year
- Implementation of Universal Transformer in Pytorch☆259Updated 6 years ago
- LAnguage Modelling Benchmarks☆137Updated 4 years ago
- Code for the paper "Ordered Neurons: Integrating Tree Structures into Recurrent Neural Networks"☆577Updated 5 years ago
- ☆206Updated 9 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…☆306Updated 3 years ago
- Source code for the paper "Hyperbolic Neural Networks", https://arxiv.org/abs/1805.09112☆172Updated 4 years ago
- Implementation of gMLP, an all-MLP replacement for Transformers, in Pytorch☆426Updated 3 years ago
- PyTorch implementation of "Lagging Inference Networks and Posterior Collapse in Variational Autoencoders" (ICLR 2019)☆183Updated 4 years ago
- Transformer training code for sequential tasks☆610Updated 3 years ago
- Pretrain and finetune ELECTRA with fastai and huggingface. (Results of the paper replicated !)☆325Updated last year
- Open source code for paper "Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hypersphere" ICML 2…☆435Updated 2 years ago
- Official PyTorch Repo for "ReZero is All You Need: Fast Convergence at Large Depth"☆408Updated 5 months ago
- ☆311Updated 2 years ago
- ☆367Updated last year
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆226Updated 2 years ago
- Optimus: the first large-scale pre-trained VAE language model☆381Updated last year
- Generative Flow based Sequence-to-Sequence Toolkit written in Python.☆244Updated 4 years ago
- Implicit MLE: Backpropagating Through Discrete Exponential Family Distributions☆257Updated last year