lucidrains / memorizing-transformers-pytorch
Implementation of Memorizing Transformers (ICLR 2022), attention net augmented with indexing and retrieval of memories using approximate nearest neighbors, in Pytorch
☆633Updated last year
Alternatives and similar repositories for memorizing-transformers-pytorch
Users that are interested in memorizing-transformers-pytorch are comparing it to the libraries listed below
Sorting:
- Implementation of RETRO, Deepmind's Retrieval based Attention net, in Pytorch☆864Updated last year
- Language Modeling with the H3 State Space Model☆521Updated last year
- Implementation of Recurrent Memory Transformer, Neurips 2022 paper, in Pytorch☆407Updated 4 months ago
- ☆256Updated 2 years ago
- Public repo for the NeurIPS 2023 paper "Unlimiformer: Long-Range Transformers with Unlimited Length Input"☆1,060Updated last year
- Implementation of MEGABYTE, Predicting Million-byte Sequences with Multiscale Transformers, in Pytorch☆643Updated 4 months ago
- Code for T-Few from "Few-Shot Parameter-Efficient Fine-Tuning is Better and Cheaper than In-Context Learning"☆451Updated last year
- Implementation of the conditionally routed attention in the CoLT5 architecture, in Pytorch☆227Updated 8 months ago
- Fast & Simple repository for pre-training and fine-tuning T5-style models☆1,003Updated 8 months ago
- The official implementation of “Sophia: A Scalable Stochastic Second-order Optimizer for Language Model Pre-training”☆958Updated last year
- Cramming the training of a (BERT-type) language model into limited compute.☆1,331Updated 11 months ago
- Convolutions for Sequence Modeling☆883Updated 11 months ago
- Experiments around a simple idea for inducing multiple hierarchical predictive model within a GPT☆212Updated 8 months ago
- [NeurIPS 2023] MeZO: Fine-Tuning Language Models with Just Forward Passes. https://arxiv.org/abs/2305.17333☆1,106Updated last year
- Implementation of the specific Transformer architecture from PaLM - Scaling Language Modeling with Pathways☆820Updated 2 years ago
- Landmark Attention: Random-Access Infinite Context Length for Transformers☆422Updated last year
- Implementation of Block Recurrent Transformer - Pytorch☆217Updated 8 months ago
- Reproduce results and replicate training fo T0 (Multitask Prompted Training Enables Zero-Shot Task Generalization)☆463Updated 2 years ago
- ☆458Updated last year
- A crude RLHF layer on top of nanoGPT with Gumbel-Softmax trick☆289Updated last year
- Used for adaptive human in the loop evaluation of language and embedding models.☆309Updated 2 years ago
- Scaling Data-Constrained Language Models☆334Updated 7 months ago
- Long Range Arena for Benchmarking Efficient Transformers☆754Updated last year
- Code for the ALiBi method for transformer language models (ICLR 2022)☆526Updated last year
- ☆412Updated last year
- Tools for understanding how transformer predictions are built layer-by-layer☆490Updated 11 months ago
- Ungreedy subword tokenizer and vocabulary trainer for Python, Go & Javascript☆578Updated 10 months ago
- Effortless plugin and play Optimizer to cut model training costs by 50%. New optimizer that is 2x faster than Adam on LLMs.☆381Updated 11 months ago
- maximal update parametrization (µP)☆1,511Updated 10 months ago
- Official code for ReLoRA from the paper Stack More Layers Differently: High-Rank Training Through Low-Rank Updates☆454Updated last year