lucidrains / mlm-pytorch
An implementation of masked language modeling for Pytorch, made as concise and simple as possible
☆178Updated last year
Alternatives and similar repositories for mlm-pytorch:
Users that are interested in mlm-pytorch are comparing it to the libraries listed below
- A simple and working implementation of Electra, the fastest way to pretrain language models from scratch, in Pytorch☆223Updated last year
- Understanding the Difficulty of Training Transformers☆328Updated 2 years ago
- Sequence modeling with Mega.☆297Updated 2 years ago
- Implementation of the GBST block from the Charformer paper, in Pytorch☆117Updated 3 years ago
- Flexible components pairing 🤗 Transformers with Pytorch Lightning☆612Updated 2 years ago
- pytorch; mask language model ; bert☆72Updated 5 years ago
- FairSeq repo with Apollo optimizer☆110Updated last year
- Repository containing code for "How to Train BERT with an Academic Budget" paper☆312Updated last year
- Optimus: the first large-scale pre-trained VAE language model☆381Updated last year
- A minimal PyTorch Lightning OpenAI GPT w DeepSpeed Training!☆111Updated last year
- Transformer with Untied Positional Encoding (TUPE). Code of paper "Rethinking Positional Encoding in Language Pre-training". Improve exis…☆250Updated 3 years ago
- Code for the ALiBi method for transformer language models (ICLR 2022)☆516Updated last year
- Pretrain and finetune ELECTRA with fastai and huggingface. (Results of the paper replicated !)☆326Updated last year
- Implementation of Feedback Transformer in Pytorch☆105Updated 4 years ago
- Pytorch implementation of Compressive Transformers, from Deepmind☆156Updated 3 years ago
- Fully featured implementation of Routing Transformer☆289Updated 3 years ago
- An implementation of local windowed attention for language modeling☆423Updated last month
- ☆213Updated 4 years ago
- Run Effective Large Batch Contrastive Learning Beyond GPU/TPU Memory Constraint☆374Updated 11 months ago
- Language Modeling Example with Transformers and PyTorch Lighting☆65Updated 4 years ago
- ☆338Updated 10 months ago
- Code for the NAACL 2022 long paper "DiffCSE: Difference-based Contrastive Learning for Sentence Embeddings"☆293Updated 2 years ago
- Implementation of Mega, the Single-head Attention with Multi-headed EMA architecture that currently holds SOTA on Long Range Arena☆204Updated last year
- Trains Transformer model variants. Data isn't shuffled between batches.☆140Updated 2 years ago
- Implementation of the conditionally routed attention in the CoLT5 architecture, in Pytorch☆226Updated 5 months ago
- Implementation of Linformer for Pytorch☆270Updated last year
- Princeton NLP's pre-training library based on fairseq with DeepSpeed kernel integration 🚃☆114Updated 2 years ago
- Implementation of Gated State Spaces, from the paper "Long Range Language Modeling via Gated State Spaces", in Pytorch☆98Updated 2 years ago
- Long Range Arena for Benchmarking Efficient Transformers☆747Updated last year
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆370Updated last year