CyberZHG / torch-multi-head-attentionLinks
Multi-head attention in PyTorch
☆152Updated 6 years ago
Alternatives and similar repositories for torch-multi-head-attention
Users that are interested in torch-multi-head-attention are comparing it to the libraries listed below
Sorting:
- Implement the paper "Self-Attention with Relative Position Representations"☆130Updated 4 years ago
- Experiments with supervised contrastive learning methods with different loss functions☆220Updated 2 years ago
- Implementing SYNTHESIZER: Rethinking Self-Attention in Transformer Models using Pytorch☆70Updated 5 years ago
- PyTorch implementation of Representation Learning with Contrastive Predictive Coding by Van den Oord et al. (2018)☆85Updated 3 years ago
- This is the repository for "Efficient Low-rank Multimodal Fusion with Modality-Specific Factors", Liu and Shen, et. al. ACL 2018☆263Updated 5 years ago
- Minimal RNN classifier with self-attention in Pytorch☆150Updated 3 years ago
- [ICLR 2022] Official implementation of cosformer-attention in cosFormer: Rethinking Softmax in Attention☆192Updated 2 years ago
- MSc group project: Reproduction of 'Multi-Task Learning using Uncertainty to Weigh Losses for Scene Geometry and Semantics'; A. Kendall, …☆89Updated 5 years ago
- Contrastive Predictive Coding for Automatic Speaker Verification☆492Updated 5 years ago
- Pytorch implementation of the GradNorm. GradNorm addresses the problem of balancing multiple losses for multi-task learning by learning a…☆269Updated 2 years ago
- Learning deep representations by mutual information estimation and maximization☆324Updated 6 years ago
- A quick walk-through of the innards of LSTMs and a naive implementation of the Mogrifier LSTM paper in PyTorch☆77Updated 4 years ago
- Multihead Attention for PyTorch☆27Updated 6 years ago
- A collection of awesome things about mixed sample data augmentation☆132Updated 5 years ago
- pytorch neural network attention mechanism☆147Updated 6 years ago
- ☆64Updated 5 years ago
- pytorch implementation Variational Autoencoder and Conditional Variational Autoencoder☆80Updated 6 years ago
- My take on a practical implementation of Linformer for Pytorch.☆415Updated 2 years ago
- an implementation of Deep Variational Informational Bottleneck in pytorch (https://arxiv.org/pdf/1612.00410.pdf)☆33Updated 7 years ago
- code for Explicit Sparse Transformer☆62Updated last year
- ☆33Updated 4 years ago
- Independent implementation of Supervised Contrastive Loss. Straight to the point and beyond☆81Updated 4 years ago
- This in my Demo of Chen et al. "GradNorm: Gradient Normalization for Adaptive Loss Balancing in Deep Multitask Networks" ICML 2018☆178Updated 3 years ago
- ☆83Updated 5 years ago
- a pytorch implementation of self-attention with relative position representations☆50Updated 4 years ago
- Code for ICML2020 paper - CLUB: A Contrastive Log-ratio Upper Bound of Mutual Information☆334Updated last year
- Simple implement dilated LSTM, residual LSTM and Attention LSTM (follow the corresponding papers).☆17Updated 5 years ago
- Code for "Understanding and Improving Layer Normalization"☆46Updated 5 years ago
- [ICML 2021 Oral] We show pure attention suffers rank collapse, and how different mechanisms combat it.☆164Updated 4 years ago
- Implementation of the Transformer variant proposed in "Transformer Quality in Linear Time"☆363Updated last year