NingAnMe / Label-Smoothing-for-CrossEntropyLoss-PyTorch
add a Arg: label_smoothing for torch.nn.CrossEntropyLoss()
☆14Updated 4 years ago
Alternatives and similar repositories for Label-Smoothing-for-CrossEntropyLoss-PyTorch:
Users that are interested in Label-Smoothing-for-CrossEntropyLoss-PyTorch are comparing it to the libraries listed below
- ☆20Updated 5 years ago
- Learning to Encode Position for Transformer with Continuous Dynamical Model☆59Updated 4 years ago
- A quick walk-through of the innards of LSTMs and a naive implementation of the Mogrifier LSTM paper in PyTorch☆75Updated 4 years ago
- ☆19Updated 3 years ago
- Official PyTorch implementation of Time-aware Large Kernel (TaLK) Convolutions (ICML 2020)☆29Updated 4 years ago
- code for Explicit Sparse Transformer☆60Updated last year
- My implementation of the gMLP model from the paper "Pay Attention to MLPs".☆25Updated 3 years ago
- For paper《Gaussian Transformer: A Lightweight Approach for Natural Language Inference》☆28Updated 5 years ago
- Implementing SYNTHESIZER: Rethinking Self-Attention in Transformer Models using Pytorch☆70Updated 4 years ago
- Implementation of Mogrifier LSTM in PyTorch☆35Updated 4 years ago
- PyTorch implementation of RealFormer: Transformer Likes Residual Attention☆11Updated 3 years ago
- A PyTorch implementation of the paper - "Synthesizer: Rethinking Self-Attention in Transformer Models"☆72Updated 2 years ago
- Code for the ACL2020 paper Character-Level Translation with Self-Attention☆32Updated 4 years ago
- Code and data to accompany the camera-ready version of "Cross-Attention is All You Need: Adapting Pretrained Transformers for Machine Tra…☆29Updated 3 years ago
- PyTorch implementation of FNet: Mixing Tokens with Fourier transforms☆25Updated 3 years ago
- (ACL-IJCNLP 2021) Convolutions and Self-Attention: Re-interpreting Relative Positions in Pre-trained Language Models.☆21Updated 2 years ago
- ☆18Updated 3 years ago
- PyTorch implementation of Pay Attention to MLPs☆40Updated 3 years ago
- [EMNLP'19] Summary for Transformer Understanding☆53Updated 5 years ago
- Unofficial PyTorch implementation of the paper "cosFormer: Rethinking Softmax In Attention".☆44Updated 3 years ago
- ☆36Updated 4 years ago
- Reproducing the Linear Multihead Attention introduced in Linformer paper (Linformer: Self-Attention with Linear Complexity)☆73Updated 4 years ago
- 🤗An unofficial PyTorch implementation of ConvBert based on huggingface/transformers.☆16Updated 2 years ago
- Code for "Understanding and Improving Layer Normalization"☆46Updated 5 years ago
- Code for the paper "Adaptive Transformers for Learning Multimodal Representations" (ACL SRW 2020)☆44Updated 2 years ago
- Supercharging Imbalanced Data Learning WithCausal Representation Transfer☆12Updated 3 years ago
- The code of "Inductive Unsupervised Domain Adaptation for Few-Shot Classification via Clustering", ECML-PKDD 2020.☆21Updated 2 years ago
- Code for EMNLP 2020 paper CoDIR☆41Updated 2 years ago
- Self Supervised Learning for Time Series Using Similarity Distillation☆10Updated 2 years ago
- ☆18Updated 5 years ago