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:
- Language models scale reliably with over-training and on downstream tasks☆97Updated last year
- Code repository for the c-BTM paper☆107Updated last year
- [NeurIPS 2023] Learning Transformer Programs☆162Updated last year
- ☆45Updated last year
- some common Huggingface transformers in maximal update parametrization (µP)☆82Updated 3 years ago
- Efficient Transformers with Dynamic Token Pooling☆62Updated 2 years ago
- ☆159Updated 2 years ago
- Randomized Positional Encodings Boost Length Generalization of Transformers☆82Updated last year
- ☆65Updated 11 months ago
- Repository for the code of the "PPL-MCTS: Constrained Textual Generation Through Discriminator-Guided Decoding" paper, NAACL'22☆66Updated 2 years ago
- ☆75Updated 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 11 months ago
- ☆53Updated 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
- Recurrent Memory Transformer☆150Updated last year
- Reference implementation for Reward-Augmented Decoding: Efficient Controlled Text Generation With a Unidirectional Reward Model☆44Updated last year
- ☆166Updated 2 years ago
- Exploring finetuning public checkpoints on filter 8K sequences on Pile☆116Updated 2 years ago
- [NeurIPS 2023] Sparse Modular Activation for Efficient Sequence Modeling☆37Updated last year
- A repository for transformer critique learning and generation☆90Updated last year
- Official Repository of Pretraining Without Attention (BiGS), BiGS is the first model to achieve BERT-level transfer learning on the GLUE …☆114Updated last year
- Understand and test language model architectures on synthetic tasks.☆221Updated 2 weeks ago
- ☆49Updated last year
- ☆39Updated last year
- Simple and efficient pytorch-native transformer training and inference (batched)☆78Updated last year
- ☆56Updated last year
- ☆88Updated last year
- Skill-It! A Data-Driven Skills Framework for Understanding and Training Language Models☆46Updated last year
- ☆51Updated last year
- A fusion of a linear layer and a cross entropy loss, written for pytorch in triton.☆70Updated last year