lucidrains / electra-pytorch
A simple and working implementation of Electra, the fastest way to pretrain language models from scratch, in Pytorch
☆222Updated last year
Related projects ⓘ
Alternatives and complementary repositories for electra-pytorch
- Pretrain and finetune ELECTRA with fastai and huggingface. (Results of the paper replicated !)☆325Updated 10 months ago
- An implementation of masked language modeling for Pytorch, made as concise and simple as possible☆177Updated 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
- Implementation of Mixout with PyTorch☆74Updated last year
- Language Modeling Example with Transformers and PyTorch Lighting☆65Updated 4 years ago
- Repository containing code for "How to Train BERT with an Academic Budget" paper☆309Updated last year
- ☆212Updated 4 years ago
- On the Stability of Fine-tuning BERT: Misconceptions, Explanations, and Strong Baselines☆132Updated last year
- Run Effective Large Batch Contrastive Learning Beyond GPU/TPU Memory Constraint☆361Updated 7 months ago
- Code for the NAACL 2022 long paper "DiffCSE: Difference-based Contrastive Learning for Sentence Embeddings"☆291Updated 2 years ago
- Flexible components pairing 🤗 Transformers with Pytorch Lightning☆611Updated last year
- PyTorch – SMART: Robust and Efficient Fine-Tuning for Pre-trained Natural Language Models.☆59Updated 2 years ago
- Fully featured implementation of Routing Transformer☆284Updated 3 years ago
- A minimal PyTorch Lightning OpenAI GPT w DeepSpeed Training!☆111Updated last year
- pytorch; mask language model ; bert☆71Updated 4 years ago
- A 🤗-style implementation of BERT using lambda layers instead of self-attention☆70Updated 4 years ago
- Sequence modeling with Mega.☆298Updated last year
- Minimalist implementation of a BERT Sentence Classifier with PyTorch Lightning, Transformers and PyTorch-NLP.☆215Updated last year
- ☆187Updated 2 years ago
- XtremeDistil framework for distilling/compressing massive multilingual neural network models to tiny and efficient models for AI at scale☆153Updated 11 months ago
- ☆315Updated 3 years ago
- Pytorch implementation of Compressive Transformers, from Deepmind☆157Updated 3 years ago
- Code for the ALiBi method for transformer language models (ICLR 2022)☆507Updated last year
- Code for T-Few from "Few-Shot Parameter-Efficient Fine-Tuning is Better and Cheaper than In-Context Learning"☆431Updated last year
- This repository contains the code for "Generating Datasets with Pretrained Language Models".☆187Updated 3 years ago
- Repo for training MLMs, CLMs, or T5-type models on the OLM pretraining data, but it should work with any hugging face text dataset.☆92Updated last year
- Implementation of Feedback Transformer in Pytorch☆104Updated 3 years ago
- Implementation of H-Transformer-1D, Hierarchical Attention for Sequence Learning☆155Updated 9 months ago
- Transformers without Tears: Improving the Normalization of Self-Attention☆130Updated 5 months ago