LiyuanLucasLiu / Transformer-Clinic
Understanding the Difficulty of Training Transformers
☆325Updated 2 years ago
Related projects: ⓘ
- Transformer with Untied Positional Encoding (TUPE). Code of paper "Rethinking Positional Encoding in Language Pre-training". Improve exis…☆249Updated 2 years ago
- Fully featured implementation of Routing Transformer☆282Updated 2 years ago
- ☆211Updated 4 years ago
- Implementation of https://arxiv.org/abs/1904.00962☆366Updated 3 years ago
- Pretrain and finetune ELECTRA with fastai and huggingface. (Results of the paper replicated !)☆323Updated 8 months ago
- Code for the paper "Are Sixteen Heads Really Better than One?"☆165Updated 4 years ago
- Efficient, check-pointed data loading for deep learning with massive data sets.☆203Updated last year
- Repository containing code for "How to Train BERT with an Academic Budget" paper☆309Updated last year
- Neural Text Generation with Unlikelihood Training☆311Updated 3 years ago
- Sinkhorn Transformer - Practical implementation of Sparse Sinkhorn Attention☆252Updated 3 years ago
- This is a repository with the code for the ACL 2019 paper "Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, t…☆296Updated 3 years ago
- A masked language modeling objective to train a model to predict any subset of the target words, conditioned on both the input text and a…☆238Updated 3 years ago
- DeLighT: Very Deep and Light-Weight Transformers☆465Updated 3 years ago
- Code for Multi-Head Attention: Collaborate Instead of Concatenate☆148Updated last year
- A simple and working implementation of Electra, the fastest way to pretrain language models from scratch, in Pytorch☆222Updated last year
- Optimus: the first large-scale pre-trained VAE language model☆367Updated last year
- Run Effective Large Batch Contrastive Learning Beyond GPU/TPU Memory Constraint☆342Updated 5 months ago
- Flexible components pairing 🤗 Transformers with Pytorch Lightning☆610Updated last year
- My take on a practical implementation of Linformer for Pytorch.☆403Updated 2 years ago
- Tracking the progress in non-autoregressive generation (translation, transcription, etc.)☆305Updated last year
- For the code release of our arXiv paper "Revisiting Few-sample BERT Fine-tuning" (https://arxiv.org/abs/2006.05987).☆184Updated last year
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆221Updated 2 years ago
- Transformers without Tears: Improving the Normalization of Self-Attention☆128Updated 3 months ago
- The entmax mapping and its loss, a family of sparse softmax alternatives.☆406Updated 2 months ago
- ☆308Updated 2 years ago
- ⛵️The official PyTorch implementation for "BERT-of-Theseus: Compressing BERT by Progressive Module Replacing" (EMNLP 2020).☆310Updated last year
- An implementation of masked language modeling for Pytorch, made as concise and simple as possible☆173Updated last year
- Transformer training code for sequential tasks☆608Updated 3 years ago
- Fast Block Sparse Matrices for Pytorch☆546Updated 3 years ago
- Pytorch Implementation of ALBERT(A Lite BERT for Self-supervised Learning of Language Representations)☆225Updated 3 years ago