McGill-NLP / length-generalizationLinks
Code for the paper "The Impact of Positional Encoding on Length Generalization in Transformers", NeurIPS 2023
☆137Updated 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)☆87Updated 3 years ago
- Language models scale reliably with over-training and on downstream tasks☆99Updated last year
- ☆46Updated 2 years ago
- Code repository for the c-BTM paper☆108Updated 2 years ago
- Efficient Transformers with Dynamic Token Pooling☆67Updated 2 years ago
- [NeurIPS 2023] Learning Transformer Programs☆162Updated last year
- ☆67Updated last year
- Randomized Positional Encodings Boost Length Generalization of Transformers☆82Updated last year
- Repository for the code of the "PPL-MCTS: Constrained Textual Generation Through Discriminator-Guided Decoding" paper, NAACL'22☆66Updated 3 years ago
- ☆77Updated last year
- ☆53Updated last year
- Official Repository of Pretraining Without Attention (BiGS), BiGS is the first model to achieve BERT-level transfer learning on the GLUE …☆116Updated last year
- Recurrent Memory Transformer☆155Updated 2 years ago
- Exploring finetuning public checkpoints on filter 8K sequences on Pile☆116Updated 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…☆53Updated 2 years ago
- ☆167Updated 2 years ago
- This is the implementation of the paper AdaMix: Mixture-of-Adaptations for Parameter-efficient Model Tuning (https://arxiv.org/abs/2205.1…☆136Updated 2 years ago
- A repository for transformer critique learning and generation☆89Updated 2 years ago
- Official repository for the paper "Approximating Two-Layer Feedforward Networks for Efficient Transformers"☆38Updated 8 months ago
- ☆158Updated 2 years ago
- SILO Language Models code repository☆83Updated last year
- TART: A plug-and-play Transformer module for task-agnostic reasoning☆202Updated 2 years ago
- A fusion of a linear layer and a cross entropy loss, written for pytorch in triton.☆75Updated 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…☆78Updated last year
- ☆84Updated 2 years ago
- Simple and efficient pytorch-native transformer training and inference (batched)☆79Updated last year
- ☆57Updated 2 years ago
- Reference implementation for Reward-Augmented Decoding: Efficient Controlled Text Generation With a Unidirectional Reward Model☆45Updated 4 months ago
- Revisiting Efficient Training Algorithms For Transformer-based Language Models (NeurIPS 2023)☆81Updated 2 years ago
- Code for Zero-Shot Tokenizer Transfer☆142Updated last year