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
- A simple and working implementation of Electra, the fastest way to pretrain language models from scratch, in Pytorch☆226Updated last year
- Understanding the Difficulty of Training Transformers☆329Updated 2 years ago
- Sequence modeling with Mega.☆294Updated 2 years ago
- Pytorch implementation of Compressive Transformers, from Deepmind☆157Updated 3 years ago
- Optimus: the first large-scale pre-trained VAE language model☆385Updated last year
- Language Modeling Example with Transformers and PyTorch Lighting☆65Updated 4 years ago
- Code for the ALiBi method for transformer language models (ICLR 2022)☆522Updated last year
- pytorch; mask language model ; bert☆72Updated 5 years ago
- Implementation of the GBST block from the Charformer paper, in Pytorch☆116Updated 3 years ago
- 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…☆251Updated 3 years ago
- Pretrain and finetune ELECTRA with fastai and huggingface. (Results of the paper replicated !)☆328Updated last year
- Implementation of Gated State Spaces, from the paper "Long Range Language Modeling via Gated State Spaces", in Pytorch☆99Updated 2 years ago
- Fully featured implementation of Routing Transformer☆292Updated 3 years ago
- Implementation of the conditionally routed attention in the CoLT5 architecture, in Pytorch☆226Updated 7 months ago
- Code for the NAACL 2022 long paper "DiffCSE: Difference-based Contrastive Learning for Sentence Embeddings"☆293Updated 2 years ago
- A library for making Transformer Variational Autoencoders. (Extends the Huggingface/transformers library.)☆138Updated 3 years ago
- Repository containing code for "How to Train BERT with an Academic Budget" paper☆313Updated last year
- Implementation of Feedback Transformer in Pytorch☆105Updated 4 years ago
- Implementation of Mixout with PyTorch☆75Updated 2 years ago
- Sinkhorn Transformer - Practical implementation of Sparse Sinkhorn Attention☆262Updated 3 years ago
- FairSeq repo with Apollo optimizer☆114Updated last year
- ☆67Updated 2 years ago
- ☆96Updated last year
- Standalone Product Key Memory module in Pytorch - for augmenting Transformer models☆78Updated 8 months ago
- Implementation of Fast Transformer in Pytorch☆173Updated 3 years ago
- Implementation of E(n)-Transformer, which incorporates attention mechanisms into Welling's E(n)-Equivariant Graph Neural Network☆220Updated 10 months ago
- GPT, but made only out of MLPs☆88Updated 3 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
- PyTorch – SMART: Robust and Efficient Fine-Tuning for Pre-trained Natural Language Models.☆62Updated 2 years ago