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
☆632Updated 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
- Language Modeling with the H3 State Space Model☆520Updated last year
- Implementation of RETRO, Deepmind's Retrieval based Attention net, in Pytorch☆863Updated last year
- Implementation of Recurrent Memory Transformer, Neurips 2022 paper, in Pytorch☆407Updated 3 months ago
- Public repo for the NeurIPS 2023 paper "Unlimiformer: Long-Range Transformers with Unlimited Length Input"☆1,060Updated last year
- Implementation of the conditionally routed attention in the CoLT5 architecture, in Pytorch☆226Updated 7 months ago
- Fast & Simple repository for pre-training and fine-tuning T5-style models☆1,001Updated 8 months ago
- Convolutions for Sequence Modeling☆877Updated 10 months ago
- Cramming the training of a (BERT-type) language model into limited compute.☆1,331Updated 10 months ago
- Implementation of the specific Transformer architecture from PaLM - Scaling Language Modeling with Pathways☆820Updated 2 years ago
- Code for the ALiBi method for transformer language models (ICLR 2022)☆524Updated last year
- Tools for understanding how transformer predictions are built layer-by-layer☆486Updated 10 months ago
- Ungreedy subword tokenizer and vocabulary trainer for Python, Go & Javascript☆576Updated 9 months ago
- [NeurIPS 2023] MeZO: Fine-Tuning Language Models with Just Forward Passes. https://arxiv.org/abs/2305.17333☆1,101Updated last year
- ☆458Updated last year
- Experiments around a simple idea for inducing multiple hierarchical predictive model within a GPT☆211Updated 8 months ago
- ☆412Updated last year
- Implementation of Block Recurrent Transformer - Pytorch☆217Updated 8 months ago
- Code for T-Few from "Few-Shot Parameter-Efficient Fine-Tuning is Better and Cheaper than In-Context Learning"☆450Updated last year
- Implementation of MEGABYTE, Predicting Million-byte Sequences with Multiscale Transformers, in Pytorch☆641Updated 4 months ago
- The official implementation of “Sophia: A Scalable Stochastic Second-order Optimizer for Language Model Pre-training”☆957Updated last year
- ☆349Updated last year
- Repo for "Monarch Mixer: A Simple Sub-Quadratic GEMM-Based Architecture"☆549Updated 3 months ago
- Landmark Attention: Random-Access Infinite Context Length for Transformers☆422Updated last year
- A crude RLHF layer on top of nanoGPT with Gumbel-Softmax trick☆289Updated last year
- ☆255Updated 2 years ago
- Effortless plugin and play Optimizer to cut model training costs by 50%. New optimizer that is 2x faster than Adam on LLMs.☆380Updated 10 months ago
- Official code for ReLoRA from the paper Stack More Layers Differently: High-Rank Training Through Low-Rank Updates☆452Updated last year
- Used for adaptive human in the loop evaluation of language and embedding models.☆309Updated 2 years ago
- Code for exploring Based models from "Simple linear attention language models balance the recall-throughput tradeoff"☆232Updated 2 months ago
- maximal update parametrization (µP)☆1,498Updated 9 months ago