deep-spin / entmaxLinks
The entmax mapping and its loss, a family of sparse softmax alternatives.
☆451Updated last year
Alternatives and similar repositories for entmax
Users that are interested in entmax are comparing it to the libraries listed below
Sorting:
- Implementation of Sparsemax activation in Pytorch☆166Updated 5 years ago
- Sinkhorn Transformer - Practical implementation of Sparse Sinkhorn Attention☆268Updated 4 years ago
- Understanding the Difficulty of Training Transformers☆332Updated 3 years ago
- The Noise Contrastive Estimation for softmax output written in Pytorch☆319Updated 6 years ago
- Fully featured implementation of Routing Transformer☆296Updated 4 years ago
- Implementation of https://arxiv.org/abs/1904.00962☆377Updated 4 years ago
- Transformer with Untied Positional Encoding (TUPE). Code of paper "Rethinking Positional Encoding in Language Pre-training". Improve exis…☆252Updated 4 years ago
- My take on a practical implementation of Linformer for Pytorch.☆421Updated 3 years ago
- ☆318Updated 3 years ago
- ☆385Updated 2 years ago
- ☆219Updated 5 years ago
- ☆212Updated last year
- Code for Multi-Head Attention: Collaborate Instead of Concatenate☆151Updated 2 years ago
- Fast, general, and tested differentiable structured prediction in PyTorch☆1,116Updated 3 years ago
- Transformer training code for sequential tasks☆610Updated 4 years ago
- PyTorch implementation of "Lagging Inference Networks and Posterior Collapse in Variational Autoencoders" (ICLR 2019)☆185Updated 4 years ago
- Long Range Arena for Benchmarking Efficient Transformers☆767Updated last year
- Source code for the paper "Hyperbolic Neural Networks", https://arxiv.org/abs/1805.09112☆181Updated 5 years ago
- Implementation of Universal Transformer in Pytorch☆264Updated 6 years ago
- Implementation of the "Poincare Glove: Hyperbolic word embeddings" paper☆88Updated 4 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…☆316Updated 4 years ago
- LAnguage Modelling Benchmarks☆138Updated 5 years ago
- Open source code for paper "Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hypersphere" ICML 2…☆458Updated 3 years ago
- Implementation of Stochastic Beam Search using Fairseq☆105Updated 6 years ago
- Implementation of gMLP, an all-MLP replacement for Transformers, in Pytorch☆431Updated 4 years ago
- A simple and working implementation of Electra, the fastest way to pretrain language models from scratch, in Pytorch☆235Updated 2 years ago
- ☆196Updated 2 years ago
- Optimus: the first large-scale pre-trained VAE language model☆391Updated 2 years ago
- Code for EMNLP18 paper "Spherical Latent Spaces for Stable Variational Autoencoders"☆170Updated 6 years ago
- Pretrain and finetune ELECTRA with fastai and huggingface. (Results of the paper replicated !)☆330Updated last year