lucidrains / mlm-pytorchLinks
An implementation of masked language modeling for Pytorch, made as concise and simple as possible
☆179Updated 2 years ago
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☆235Updated 2 years ago
- Sequence modeling with Mega.☆302Updated 2 years ago
- Pytorch implementation of Compressive Transformers, from Deepmind☆163Updated 4 years ago
- Understanding the Difficulty of Training Transformers☆332Updated 3 years ago
- Implementation of the GBST block from the Charformer paper, in Pytorch☆118Updated 4 years ago
- Code for the ALiBi method for transformer language models (ICLR 2022)☆547Updated 2 years ago
- Pretrain and finetune ELECTRA with fastai and huggingface. (Results of the paper replicated !)☆330Updated last year
- A minimal PyTorch Lightning OpenAI GPT w DeepSpeed Training!☆113Updated 2 years ago
- Fully featured implementation of Routing Transformer☆299Updated 4 years ago
- Language Modeling Example with Transformers and PyTorch Lighting☆65Updated 5 years ago
- Trains Transformer model variants. Data isn't shuffled between batches.☆143Updated 3 years ago
- ☆220Updated 5 years ago
- FairSeq repo with Apollo optimizer☆114Updated 2 years ago
- Implementation of H-Transformer-1D, Hierarchical Attention for Sequence Learning☆167Updated last year
- Code for "Finetuning Pretrained Transformers into Variational Autoencoders"☆40Updated 3 years ago
- Implementation of Mega, the Single-head Attention with Multi-headed EMA architecture that currently holds SOTA on Long Range Arena☆206Updated 2 years ago
- Transformer with Untied Positional Encoding (TUPE). Code of paper "Rethinking Positional Encoding in Language Pre-training". Improve exis…☆254Updated 4 years ago
- Optimus: the first large-scale pre-trained VAE language model☆391Updated 2 years ago
- Checkout the new version at the link!☆22Updated 5 years ago
- Transformers for Longer Sequences☆624Updated 3 years ago
- ☆364Updated last year
- Implementation of Gated State Spaces, from the paper "Long Range Language Modeling via Gated State Spaces", in Pytorch☆101Updated 2 years ago
- The entmax mapping and its loss, a family of sparse softmax alternatives.☆456Updated last year
- Code for the NAACL 2022 long paper "DiffCSE: Difference-based Contrastive Learning for Sentence Embeddings"☆297Updated 3 years ago
- Implementation of Marge, Pre-training via Paraphrasing, in Pytorch☆76Updated 4 years ago
- Implementation of Feedback Transformer in Pytorch☆108Updated 4 years ago
- ☆251Updated 5 years ago
- GPT, but made only out of MLPs☆89Updated 4 years ago
- Implementation of the conditionally routed attention in the CoLT5 architecture, in Pytorch☆231Updated last year
- pytorch; mask language model ; bert☆72Updated 6 years ago