McGill-NLP / length-generalizationLinks
Code for the paper "The Impact of Positional Encoding on Length Generalization in Transformers", NeurIPS 2023
☆136Updated last year
Alternatives and similar repositories for length-generalization
Users that are interested in length-generalization are comparing it to the libraries listed below
Sorting:
- some common Huggingface transformers in maximal update parametrization (µP)☆85Updated 3 years ago
- Language models scale reliably with over-training and on downstream tasks☆100Updated last year
- Efficient Transformers with Dynamic Token Pooling☆64Updated 2 years ago
- Code repository for the c-BTM paper☆107Updated 2 years ago
- Yet another random morning idea to be quickly tried and architecture shared if it works; to allow the transformer to pause for any amount…☆52Updated 2 years ago
- Randomized Positional Encodings Boost Length Generalization of Transformers☆82Updated last year
- ☆67Updated last year
- ☆53Updated last year
- ☆76Updated last year
- [NeurIPS 2023] Learning Transformer Programs☆162Updated last year
- ☆45Updated 2 years ago
- Official Repository of Pretraining Without Attention (BiGS), BiGS is the first model to achieve BERT-level transfer learning on the GLUE …☆114Updated last year
- Large language models (LLMs) made easy, EasyLM is a one stop solution for pre-training, finetuning, evaluating and serving LLMs in JAX/Fl…☆75Updated last year
- ☆159Updated 2 years ago
- ☆166Updated 2 years ago
- Recurrent Memory Transformer☆151Updated 2 years ago
- A fusion of a linear layer and a cross entropy loss, written for pytorch in triton.☆69Updated last year
- Repository for the code of the "PPL-MCTS: Constrained Textual Generation Through Discriminator-Guided Decoding" paper, NAACL'22☆66Updated 2 years ago
- Code for Zero-Shot Tokenizer Transfer☆138Updated 9 months ago
- Revisiting Efficient Training Algorithms For Transformer-based Language Models (NeurIPS 2023)☆80Updated 2 years ago
- ☆39Updated last year
- Skill-It! A Data-Driven Skills Framework for Understanding and Training Language Models☆47Updated last year
- Exploring finetuning public checkpoints on filter 8K sequences on Pile☆115Updated 2 years ago
- Repo for ICML23 "Why do Nearest Neighbor Language Models Work?"☆59Updated 2 years ago
- ☆48Updated last year
- A repository for transformer critique learning and generation☆88Updated last year
- This is the implementation of the paper AdaMix: Mixture-of-Adaptations for Parameter-efficient Model Tuning (https://arxiv.org/abs/2205.1…☆135Updated 2 years ago
- Simple and efficient pytorch-native transformer training and inference (batched)☆78Updated last year
- ☆52Updated last year
- ☆55Updated 2 years ago