lucidrains / electra-pytorch
A simple and working implementation of Electra, the fastest way to pretrain language models from scratch, in Pytorch
☆224Updated last year
Alternatives and similar repositories for electra-pytorch:
Users that are interested in electra-pytorch are comparing it to the libraries listed below
- Pretrain and finetune ELECTRA with fastai and huggingface. (Results of the paper replicated !)☆327Updated last year
- An implementation of masked language modeling for Pytorch, made as concise and simple as possible☆178Updated last year
- Implementation of Mixout with PyTorch☆74Updated 2 years ago
- Language Modeling Example with Transformers and PyTorch Lighting☆65Updated 4 years ago
- Implementation of the GBST block from the Charformer paper, in Pytorch☆116Updated 3 years ago
- ☆216Updated 4 years ago
- On the Stability of Fine-tuning BERT: Misconceptions, Explanations, and Strong Baselines☆135Updated last year
- Understanding the Difficulty of Training Transformers☆328Updated 2 years ago
- Implementation of Feedback Transformer in Pytorch☆105Updated 4 years ago
- PyTorch – SMART: Robust and Efficient Fine-Tuning for Pre-trained Natural Language Models.☆61Updated 2 years ago
- Code for the NAACL 2022 long paper "DiffCSE: Difference-based Contrastive Learning for Sentence Embeddings"☆293Updated 2 years ago
- This repository contains the code for "Generating Datasets with Pretrained Language Models".☆188Updated 3 years ago
- Flexible components pairing 🤗 Transformers with Pytorch Lightning☆609Updated 2 years ago
- Pytorch implementation of Compressive Transformers, from Deepmind☆156Updated 3 years ago
- Repository containing code for "How to Train BERT with an Academic Budget" paper☆312Updated last year
- Google's BigBird (Jax/Flax & PyTorch) @ 🤗Transformers☆48Updated 2 years ago
- A minimal PyTorch Lightning OpenAI GPT w DeepSpeed Training!☆111Updated last year
- Run Effective Large Batch Contrastive Learning Beyond GPU/TPU Memory Constraint☆381Updated 11 months ago
- Implementation of Marge, Pre-training via Paraphrasing, in Pytorch☆75Updated 4 years ago
- Hierarchical Attention Transformers (HAT)☆49Updated last year
- The corresponding code from our paper "DeCLUTR: Deep Contrastive Learning for Unsupervised Textual Representations". Do not hesitate to o…☆380Updated last year
- XtremeDistil framework for distilling/compressing massive multilingual neural network models to tiny and efficient models for AI at scale☆153Updated last year
- Official code and model checkpoints for our EMNLP 2022 paper "RankGen - Improving Text Generation with Large Ranking Models" (https://arx…☆136Updated last year
- A library to conduct ranking experiments with transformers.☆161Updated last year
- A 🤗-style implementation of BERT using lambda layers instead of self-attention☆69Updated 4 years ago
- Fully featured implementation of Routing Transformer☆291Updated 3 years ago
- Implementation of H-Transformer-1D, Hierarchical Attention for Sequence Learning☆160Updated last year
- LM Pretraining with PyTorch/TPU☆134Updated 5 years ago
- [EMNLP 2021] Improving and Simplifying Pattern Exploiting Training☆154Updated 2 years ago
- [NAACL 2021] This is the code for our paper `Fine-Tuning Pre-trained Language Model with Weak Supervision: A Contrastive-Regularized Self…☆201Updated 2 years ago