McGill-NLP / length-generalizationLinks
Code for the paper "The Impact of Positional Encoding on Length Generalization in Transformers", NeurIPS 2023
☆134Updated 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:
- Language models scale reliably with over-training and on downstream tasks☆97Updated last year
- some common Huggingface transformers in maximal update parametrization (µP)☆80Updated 3 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 last year
- ☆52Updated last year
- Efficient Transformers with Dynamic Token Pooling☆61Updated 2 years ago
- ☆72Updated last year
- Randomized Positional Encodings Boost Length Generalization of Transformers☆82Updated last year
- ☆159Updated 2 years ago
- Code repository for the c-BTM paper☆106Updated last year
- Understand and test language model architectures on synthetic tasks.☆195Updated 2 months ago
- Code for Zero-Shot Tokenizer Transfer☆128Updated 4 months ago
- Repository for the code of the "PPL-MCTS: Constrained Textual Generation Through Discriminator-Guided Decoding" paper, NAACL'22☆65Updated 2 years ago
- Exploring finetuning public checkpoints on filter 8K sequences on Pile☆114Updated 2 years ago
- A fusion of a linear layer and a cross entropy loss, written for pytorch in triton.☆67Updated 10 months ago
- Code for exploring Based models from "Simple linear attention language models balance the recall-throughput tradeoff"☆233Updated 3 months ago
- ☆96Updated 2 years ago
- The accompanying code for "Transformer Feed-Forward Layers Are Key-Value Memories". Mor Geva, Roei Schuster, Jonathan Berant, and Omer Le…☆91Updated 3 years ago
- Multipack distributed sampler for fast padding-free training of LLMs☆188Updated 9 months ago
- ☆64Updated 9 months ago
- Skill-It! A Data-Driven Skills Framework for Understanding and Training Language Models☆46Updated last year
- [NeurIPS 2023] Sparse Modular Activation for Efficient Sequence Modeling☆35Updated last year
- ☆82Updated 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 9 months ago
- ☆166Updated last year
- ☆45Updated last year
- Pytorch implementation of the PEER block from the paper, Mixture of A Million Experts, by Xu Owen He at Deepmind☆124Updated 9 months ago
- Evaluation pipeline for the BabyLM Challenge 2023.☆75Updated last year
- ☆97Updated last year
- This is the implementation of the paper AdaMix: Mixture-of-Adaptations for Parameter-efficient Model Tuning (https://arxiv.org/abs/2205.1…☆131Updated last year
- ☆144Updated 2 years ago