McGill-NLP / length-generalization
Code for the paper "The Impact of Positional Encoding on Length Generalization in Transformers", NeurIPS 2023
☆134Updated 11 months ago
Alternatives and similar repositories for length-generalization:
Users that are interested in length-generalization are comparing it to the libraries listed below
- Language models scale reliably with over-training and on downstream tasks☆96Updated 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
- Code repository for the c-BTM paper☆106Updated last year
- ☆51Updated 10 months ago
- A fusion of a linear layer and a cross entropy loss, written for pytorch in triton.☆65Updated 8 months ago
- ☆159Updated 2 years ago
- Repository for the code of the "PPL-MCTS: Constrained Textual Generation Through Discriminator-Guided Decoding" paper, NAACL'22☆64Updated 2 years ago
- ☆73Updated 11 months ago
- Understand and test language model architectures on synthetic tasks.☆190Updated last month
- Efficient Transformers with Dynamic Token Pooling☆60Updated last year
- Multipack distributed sampler for fast padding-free training of LLMs☆186Updated 8 months ago
- A framework for few-shot evaluation of autoregressive language models.☆24Updated last year
- 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
- Code for Zero-Shot Tokenizer Transfer☆127Updated 3 months ago
- Recurrent Memory Transformer☆149Updated last year
- Code for exploring Based models from "Simple linear attention language models balance the recall-throughput tradeoff"☆229Updated last month
- ☆125Updated last year
- Randomized Positional Encodings Boost Length Generalization of Transformers☆80Updated last year
- ☆72Updated 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…☆72Updated 7 months ago
- Official Repository of Pretraining Without Attention (BiGS), BiGS is the first model to achieve BERT-level transfer learning on the GLUE …☆116Updated last year
- ☆142Updated last year
- A MAD laboratory to improve AI architecture designs 🧪☆109Updated 3 months ago
- ☆96Updated last year
- Evaluation pipeline for the BabyLM Challenge 2023.☆75Updated last year
- SILO Language Models code repository☆81Updated last year
- ☆64Updated 7 months ago
- The accompanying code for "Transformer Feed-Forward Layers Are Key-Value Memories". Mor Geva, Roei Schuster, Jonathan Berant, and Omer Le…☆90Updated 3 years ago
- [NeurIPS 2023] Learning Transformer Programs☆159Updated 10 months ago