deep-spin / entmaxLinks
The entmax mapping and its loss, a family of sparse softmax alternatives.
☆437Updated 11 months ago
Alternatives and similar repositories for entmax
Users that are interested in entmax are comparing it to the libraries listed below
Sorting:
- Sinkhorn Transformer - Practical implementation of Sparse Sinkhorn Attention☆263Updated 3 years ago
- Understanding the Difficulty of Training Transformers☆329Updated 3 years ago
- Transformer with Untied Positional Encoding (TUPE). Code of paper "Rethinking Positional Encoding in Language Pre-training". Improve exis…☆251Updated 3 years ago
- Implementation of Sparsemax activation in Pytorch☆160Updated 5 years ago
- ☆218Updated 4 years ago
- Fast, general, and tested differentiable structured prediction in PyTorch☆1,112Updated 3 years ago
- The Noise Contrastive Estimation for softmax output written in Pytorch☆319Updated 5 years ago
- ☆315Updated 2 years ago
- Implementation of https://arxiv.org/abs/1904.00962☆374Updated 4 years ago
- Long Range Arena for Benchmarking Efficient Transformers☆757Updated last year
- Fully featured implementation of Routing Transformer☆292Updated 3 years ago
- Code for Multi-Head Attention: Collaborate Instead of Concatenate☆151Updated last year
- This is a repository with the code for the ACL 2019 paper "Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, t…☆314Updated 3 years ago
- ☆376Updated last year
- Fast Differentiable Sorting and Ranking☆604Updated last year
- Pretrain and finetune ELECTRA with fastai and huggingface. (Results of the paper replicated !)☆329Updated last year
- Implementation of gMLP, an all-MLP replacement for Transformers, in Pytorch☆426Updated 3 years ago
- Transformer training code for sequential tasks☆612Updated 3 years ago
- A simple and working implementation of Electra, the fastest way to pretrain language models from scratch, in Pytorch☆227Updated last year
- My take on a practical implementation of Linformer for Pytorch.☆415Updated 2 years ago
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆225Updated 3 years ago
- Flexible components pairing 🤗 Transformers with Pytorch Lightning☆609Updated 2 years ago
- Implicit MLE: Backpropagating Through Discrete Exponential Family Distributions☆258Updated last year
- Code for EMNLP18 paper "Spherical Latent Spaces for Stable Variational Autoencoders"☆169Updated 6 years ago
- PyTorch implementation of "Lagging Inference Networks and Posterior Collapse in Variational Autoencoders" (ICLR 2019)☆184Updated 4 years ago
- Implementation of the "Poincare Glove: Hyperbolic word embeddings" paper☆88Updated 4 years ago
- LAnguage Modelling Benchmarks☆137Updated 5 years ago
- [ICML 2021 Oral] We show pure attention suffers rank collapse, and how different mechanisms combat it.☆164Updated 4 years ago
- Codes for "Understanding and Improving Transformer From a Multi-Particle Dynamic System Point of View"☆148Updated 5 years ago
- Implementation of Universal Transformer in Pytorch☆260Updated 6 years ago