McGill-NLP / length-generalization
Code for the paper "The Impact of Positional Encoding on Length Generalization in Transformers", NeurIPS 2023
☆131Updated 10 months ago
Alternatives and similar repositories for length-generalization:
Users that are interested in length-generalization are comparing it to the libraries listed below
- Repository for the code of the "PPL-MCTS: Constrained Textual Generation Through Discriminator-Guided Decoding" paper, NAACL'22☆64Updated 2 years ago
- Language models scale reliably with over-training and on downstream tasks☆96Updated 11 months ago
- ☆159Updated 2 years ago
- ☆44Updated last year
- Code repository for the c-BTM paper☆106Updated last year
- 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 last year
- some common Huggingface transformers in maximal update parametrization (µP)☆80Updated 3 years ago
- ☆51Updated 10 months ago
- Randomized Positional Encodings Boost Length Generalization of Transformers☆80Updated last year
- Efficient Transformers with Dynamic Token Pooling☆60Updated last year
- ☆73Updated 10 months ago
- [AAAI 2024] Investigating the Effectiveness of Task-Agnostic Prefix Prompt for Instruction Following☆79Updated 6 months ago
- Large language models (LLMs) made easy, EasyLM is a one stop solution for pre-training, finetuning, evaluating and serving LLMs in JAX/Fl…☆69Updated 7 months ago
- The original implementation of Min et al. "Nonparametric Masked Language Modeling" (paper https//arxiv.org/abs/2212.01349)☆157Updated 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…☆130Updated last year
- Skill-It! A Data-Driven Skills Framework for Understanding and Training Language Models☆43Updated last year
- Inspecting and Editing Knowledge Representations in Language Models☆112Updated 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
- ☆19Updated 2 years ago
- Code for Zero-Shot Tokenizer Transfer☆125Updated 2 months ago
- Evaluation pipeline for the BabyLM Challenge 2023.☆75Updated last year
- SILO Language Models code repository☆81Updated last year
- [ICLR 2023] Guess the Instruction! Flipped Learning Makes Language Models Stronger Zero-Shot Learners☆113Updated 6 months ago
- [NeurIPS 2023] Learning Transformer Programs☆159Updated 10 months ago
- ☆78Updated last year
- [NeurIPS 2023] Sparse Modular Activation for Efficient Sequence Modeling☆36Updated last year
- ☆38Updated 11 months ago
- Simple and efficient pytorch-native transformer training and inference (batched)☆71Updated 11 months ago
- Multipack distributed sampler for fast padding-free training of LLMs☆186Updated 7 months ago
- Reference implementation for Reward-Augmented Decoding: Efficient Controlled Text Generation With a Unidirectional Reward Model☆42Updated last year