lucidrains / mlm-pytorch
An implementation of masked language modeling for Pytorch, made as concise and simple as possible
☆177Updated last year
Related projects ⓘ
Alternatives and complementary repositories for mlm-pytorch
- A simple and working implementation of Electra, the fastest way to pretrain language models from scratch, in Pytorch☆222Updated last year
- Sequence modeling with Mega.☆298Updated last year
- Implementation of the GBST block from the Charformer paper, in Pytorch☆117Updated 3 years ago
- Understanding the Difficulty of Training Transformers☆328Updated 2 years ago
- Code for the ALiBi method for transformer language models (ICLR 2022)☆507Updated last year
- Pytorch implementation of Compressive Transformers, from Deepmind☆157Updated 3 years ago
- Implementation of the conditionally routed attention in the CoLT5 architecture, in Pytorch☆225Updated 2 months ago
- An implementation of local windowed attention for language modeling☆384Updated 2 months ago
- Implementation of Gated State Spaces, from the paper "Long Range Language Modeling via Gated State Spaces", in Pytorch☆95Updated last year
- Optimus: the first large-scale pre-trained VAE language model☆376Updated last year
- Language Modeling Example with Transformers and PyTorch Lighting☆65Updated 4 years ago
- Pretrain and finetune ELECTRA with fastai and huggingface. (Results of the paper replicated !)☆325Updated 10 months ago
- A minimal implementation of diffusion models for text generation☆313Updated 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
- pytorch; mask language model ; bert☆71Updated 4 years ago
- ☆315Updated 3 years ago
- Flexible components pairing 🤗 Transformers with Pytorch Lightning☆611Updated 2 years ago
- Fully featured implementation of Routing Transformer☆284Updated 3 years ago
- Trains Transformer model variants. Data isn't shuffled between batches.☆141Updated 2 years ago
- Efficient Transformers with Dynamic Token Pooling☆54Updated last year
- Implementation of Feedback Transformer in Pytorch☆104Updated 3 years ago
- Run Effective Large Batch Contrastive Learning Beyond GPU/TPU Memory Constraint☆361Updated 7 months ago
- Repository containing code for "How to Train BERT with an Academic Budget" paper☆309Updated last year
- Implementation of Mega, the Single-head Attention with Multi-headed EMA architecture that currently holds SOTA on Long Range Arena☆203Updated last year
- FairSeq repo with Apollo optimizer☆107Updated 11 months ago
- Code for the NAACL 2022 long paper "DiffCSE: Difference-based Contrastive Learning for Sentence Embeddings"☆291Updated 2 years ago
- Package to compute Mauve, a similarity score between neural text and human text. Install with `pip install mauve-text`.☆273Updated 4 months ago
- Implementation of H-Transformer-1D, Hierarchical Attention for Sequence Learning☆155Updated 9 months ago
- ☆67Updated 2 years ago