McGill-NLP / length-generalization
Code for the paper "The Impact of Positional Encoding on Length Generalization in Transformers", NeurIPS 2023
☆127Updated 6 months ago
Related projects ⓘ
Alternatives and complementary repositories for length-generalization
- Language models scale reliably with over-training and on downstream tasks☆94Updated 7 months ago
- some common Huggingface transformers in maximal update parametrization (µP)☆77Updated 2 years ago
- Code repository for the c-BTM paper☆105Updated last year
- Repository for the code of the "PPL-MCTS: Constrained Textual Generation Through Discriminator-Guided Decoding" paper, NAACL'22☆64Updated 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…☆49Updated last year
- [NeurIPS 2023] Learning Transformer Programs☆157Updated 6 months ago
- Code for Zero-Shot Tokenizer Transfer☆117Updated last month
- ☆50Updated 6 months ago
- ☆158Updated last year
- Skill-It! A Data-Driven Skills Framework for Understanding and Training Language Models☆41Updated last year
- ☆71Updated 6 months ago
- The original implementation of Min et al. "Nonparametric Masked Language Modeling" (paper https//arxiv.org/abs/2212.01349)☆157Updated last year
- ☆44Updated last year
- Simple and efficient pytorch-native transformer training and inference (batched)☆61Updated 7 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…☆58Updated 3 months ago
- This is the implementation of the paper AdaMix: Mixture-of-Adaptations for Parameter-efficient Model Tuning (https://arxiv.org/abs/2205.1…☆126Updated last year
- ☆69Updated 8 months ago
- A fusion of a linear layer and a cross entropy loss, written for pytorch in triton.☆54Updated 3 months ago
- ☆93Updated last year
- [NeurIPS 2023] Sparse Modular Activation for Efficient Sequence Modeling☆35Updated 11 months ago
- Reference implementation for Reward-Augmented Decoding: Efficient Controlled Text Generation With a Unidirectional Reward Model☆41Updated 10 months ago
- Multipack distributed sampler for fast padding-free training of LLMs☆178Updated 3 months ago
- ☆38Updated 7 months ago
- ☆31Updated last year
- The official code of EMNLP 2022, "SCROLLS: Standardized CompaRison Over Long Language Sequences".☆68Updated 10 months ago
- Evaluation pipeline for the BabyLM Challenge 2023.☆72Updated last year
- Randomized Positional Encodings Boost Length Generalization of Transformers☆78Updated 8 months ago
- Self-Alignment with Principle-Following Reward Models☆147Updated 8 months ago
- A framework for few-shot evaluation of autoregressive language models.☆23Updated 11 months ago
- ☆115Updated 4 months ago