lucidrains / mlm-pytorch
An implementation of masked language modeling for Pytorch, made as concise and simple as possible
☆180Updated last year
Alternatives and similar repositories for mlm-pytorch
Users that are interested in mlm-pytorch are comparing it to the libraries listed below
Sorting:
- A simple and working implementation of Electra, the fastest way to pretrain language models from scratch, in Pytorch☆226Updated last year
- Pytorch implementation of Compressive Transformers, from Deepmind☆157Updated 3 years ago
- Implementation of the GBST block from the Charformer paper, in Pytorch☆117Updated 3 years ago
- Transformer with Untied Positional Encoding (TUPE). Code of paper "Rethinking Positional Encoding in Language Pre-training". Improve exis…☆251Updated 3 years ago
- Sequence modeling with Mega.☆295Updated 2 years ago
- Understanding the Difficulty of Training Transformers☆329Updated 2 years ago
- Language Modeling Example with Transformers and PyTorch Lighting☆65Updated 4 years ago
- Code for the ALiBi method for transformer language models (ICLR 2022)☆526Updated last year
- pytorch; mask language model ; bert☆72Updated 5 years ago
- Implementation of Feedback Transformer in Pytorch☆105Updated 4 years ago
- Run Effective Large Batch Contrastive Learning Beyond GPU/TPU Memory Constraint☆387Updated last year
- A minimal PyTorch Lightning OpenAI GPT w DeepSpeed Training!☆111Updated 2 years ago
- Implementation of Mega, the Single-head Attention with Multi-headed EMA architecture that currently holds SOTA on Long Range Arena☆203Updated last year
- Optimus: the first large-scale pre-trained VAE language model☆385Updated last year
- Pretrain and finetune ELECTRA with fastai and huggingface. (Results of the paper replicated !)☆328Updated last year
- Implementation of the conditionally routed attention in the CoLT5 architecture, in Pytorch☆227Updated 8 months ago
- Fully featured implementation of Routing Transformer☆291Updated 3 years ago
- Transformers for Longer Sequences☆608Updated 2 years ago
- Flexible components pairing 🤗 Transformers with Pytorch Lightning☆608Updated 2 years ago
- ☆218Updated 4 years ago
- Official code repository of the paper Linear Transformers Are Secretly Fast Weight Programmers.☆105Updated 3 years ago
- Trains Transformer model variants. Data isn't shuffled between batches.☆143Updated 2 years ago
- Implementation of Gated State Spaces, from the paper "Long Range Language Modeling via Gated State Spaces", in Pytorch☆100Updated 2 years ago
- Code accompanying our papers on the "Generative Distributional Control" framework☆118Updated 2 years ago
- FairSeq repo with Apollo optimizer☆114Updated last year
- An implementation of local windowed attention for language modeling☆449Updated 4 months ago
- Experiments around a simple idea for inducing multiple hierarchical predictive model within a GPT☆212Updated 8 months ago
- Language modeling via stochastic processes. Oral @ ICLR 2022.☆138Updated 2 years ago
- Code for the NAACL 2022 long paper "DiffCSE: Difference-based Contrastive Learning for Sentence Embeddings"☆293Updated 2 years ago
- Implicit MLE: Backpropagating Through Discrete Exponential Family Distributions☆258Updated last year