McGill-NLP / length-generalizationLinks
Code for the paper "The Impact of Positional Encoding on Length Generalization in Transformers", NeurIPS 2023
☆136Updated 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)☆80Updated 3 years ago
- Language models scale reliably with over-training and on downstream tasks☆97Updated last year
- Repository for the code of the "PPL-MCTS: Constrained Textual Generation Through Discriminator-Guided Decoding" paper, NAACL'22☆66Updated 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…☆133Updated last year
- Multipack distributed sampler for fast padding-free training of LLMs☆191Updated 10 months ago
- Randomized Positional Encodings Boost Length Generalization of Transformers☆81Updated 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 10 months ago
- ☆53Updated last year
- ☆159Updated 2 years ago
- Code repository for the c-BTM paper☆106Updated last year
- Efficient Transformers with Dynamic Token Pooling☆61Updated 2 years ago
- Recurrent Memory Transformer☆149Updated last year
- ☆85Updated last year
- A fusion of a linear layer and a cross entropy loss, written for pytorch in triton.☆68Updated 10 months ago
- A repository for transformer critique learning and generation☆90Updated last year
- Evaluation pipeline for the BabyLM Challenge 2023.☆76Updated last year
- ☆38Updated 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…☆54Updated last year
- The accompanying code for "Transformer Feed-Forward Layers Are Key-Value Memories". Mor Geva, Roei Schuster, Jonathan Berant, and Omer Le…☆93Updated 3 years ago
- Code for Zero-Shot Tokenizer Transfer☆131Updated 5 months ago
- The original implementation of Min et al. "Nonparametric Masked Language Modeling" (paper https//arxiv.org/abs/2212.01349)☆157Updated 2 years ago
- ☆74Updated last year
- ☆45Updated last year
- ☆64Updated 9 months ago
- [NeurIPS 2023] Learning Transformer Programs☆161Updated last year
- Exploring finetuning public checkpoints on filter 8K sequences on Pile☆115Updated 2 years ago
- Skill-It! A Data-Driven Skills Framework for Understanding and Training Language Models☆46Updated last year
- Official Repository of Pretraining Without Attention (BiGS), BiGS is the first model to achieve BERT-level transfer learning on the GLUE …☆113Updated last year
- ☆72Updated 2 years ago
- SILO Language Models code repository☆81Updated last year