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:
- Experiments with supervised contrastive learning methods with different loss functions☆220Updated 2 years ago
- Implement the paper "Self-Attention with Relative Position Representations"☆133Updated 4 years ago
- Learning deep representations by mutual information estimation and maximization☆324Updated 6 years ago
- ☆83Updated 5 years ago
- ☆33Updated 4 years ago
- Implementing SYNTHESIZER: Rethinking Self-Attention in Transformer Models using Pytorch☆70Updated 5 years ago
- PCGrad pytorch sample code [not official]☆32Updated 5 years ago
- Loss and accuracy go opposite ways...right?☆94Updated 5 years ago
- This is the repository for "Efficient Low-rank Multimodal Fusion with Modality-Specific Factors", Liu and Shen, et. al. ACL 2018☆264Updated 5 years ago
- ☆146Updated 3 years ago
- A collection of awesome things about mixed sample data augmentation☆132Updated 5 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
- a pytorch implementation of self-attention with relative position representations☆50Updated 4 years ago
- A PyTorch implementation of the paper - "Synthesizer: Rethinking Self-Attention in Transformer Models"☆73Updated 2 years ago
- NeurIPS 2020, Debiased Contrastive Learning☆282Updated 2 years ago
- Pytorch implementation of R-Transformer. Some parts of the code are adapted from the implementation of TCN and Transformer.☆230Updated 5 years ago
- My take on a practical implementation of Linformer for Pytorch.☆414Updated 2 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
- star_transformer pytorch☆27Updated 5 years ago
- PyTorch implementation of the paper "Generalized Cross Entropy Loss for Training Deep Neural Networks with Noisy Labels" in NIPS 2018☆128Updated 5 years ago
- Reproducing the Linear Multihead Attention introduced in Linformer paper (Linformer: Self-Attention with Linear Complexity)☆76Updated 5 years ago
- ☆64Updated 5 years ago
- A minimal pytorch package implementing a gradient reversal layer.☆158Updated 7 months ago
- Contrastive Predictive Coding for Automatic Speaker Verification☆493Updated 5 years ago
- PyTorch implementation of Pay Attention to MLPs☆40Updated 3 years ago
- ICLR 2021, Contrastive Learning with Hard Negative Samples☆270Updated 3 years ago
- code for Explicit Sparse Transformer☆62Updated last year
- Code for the paper "Contrastive Clustering" (AAAI 2021)☆318Updated 2 years ago
- pytorch implementation of Attention is all you need☆238Updated 4 years ago
- PyTorch implementation of Representation Learning with Contrastive Predictive Coding by Van den Oord et al. (2018)☆85Updated 3 years ago