CyberZHG / torch-multi-head-attention
Multi-head attention in PyTorch
☆150Updated 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
- Experiments with supervised contrastive learning methods with different loss functions☆219Updated 2 years ago
- Pytorch implementation of the GradNorm. GradNorm addresses the problem of balancing multiple losses for multi-task learning by learning a…☆261Updated 2 years ago
- PyTorch implementation of Representation Learning with Contrastive Predictive Coding by Van den Oord et al. (2018)☆84Updated 3 years ago
- Implement the paper "Self-Attention with Relative Position Representations"☆127Updated 4 years ago
- A minimal pytorch package implementing a gradient reversal layer.☆158Updated 4 months ago
- Minimal RNN classifier with self-attention in Pytorch☆150Updated 3 years ago
- This in my Demo of Chen et al. "GradNorm: Gradient Normalization for Adaptive Loss Balancing in Deep Multitask Networks" ICML 2018☆173Updated 3 years ago
- Implementing SYNTHESIZER: Rethinking Self-Attention in Transformer Models using Pytorch☆70Updated 4 years ago
- A collection of awesome things about mixed sample data augmentation☆131Updated 4 years ago
- MSc group project: Reproduction of 'Multi-Task Learning using Uncertainty to Weigh Losses for Scene Geometry and Semantics'; A. Kendall, …☆88Updated 5 years ago
- This is a repository for Multi-task learning with toy data in Pytorch and Tensorflow☆136Updated 6 years ago
- Simple implement dilated LSTM, residual LSTM and Attention LSTM (follow the corresponding papers).☆17Updated 5 years ago
- Independent implementation of Supervised Contrastive Loss. Straight to the point and beyond☆79Updated 4 years ago
- The Noise Contrastive Estimation for softmax output written in Pytorch☆318Updated 5 years ago
- Code implementing the experiments described in the paper "On The Power of Curriculum Learning in Training Deep Networks" by Hacohen & Wei…☆108Updated 5 years ago
- ☆145Updated 3 years ago
- A quick walk-through of the innards of LSTMs and a naive implementation of the Mogrifier LSTM paper in PyTorch☆76Updated 4 years ago
- ☆83Updated 5 years ago
- implement Domain-Adversarial Training of Neural Networks☆60Updated 6 years ago
- Learning deep representations by mutual information estimation and maximization☆324Updated 6 years ago
- pytorch implementation Variational Autoencoder and Conditional Variational Autoencoder☆79Updated 6 years ago
- AdaShare: Learning What To Share For Efficient Deep Multi-Task Learning☆112Updated 4 years ago
- Contrastive Predictive Coding for Automatic Speaker Verification☆492Updated 5 years ago
- [ICLR 2022] Official implementation of cosformer-attention in cosFormer: Rethinking Softmax in Attention☆188Updated 2 years ago
- Unofficial implementation of Google's FNet: Mixing Tokens with Fourier Transforms☆259Updated 3 years ago
- A pytorch &keras implementation and demo of Fastformer.☆187Updated 2 years ago
- About Code release for "Flowformer: Linearizing Transformers with Conservation Flows" (ICML 2022), https://arxiv.org/pdf/2202.06258.pdf☆315Updated 8 months ago
- Pytorch implementation of R-Transformer. Some parts of the code are adapted from the implementation of TCN and Transformer.☆228Updated 5 years ago
- PyTorch implementation of Pay Attention to MLPs☆40Updated 3 years ago
- Recent Advances in MLP-based Models (MLP is all you need!)☆114Updated 2 years ago