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 Recurrent Memory Transformer, Neurips 2022 paper, in Pytorch☆407Updated 3 months ago
- Implementation of RETRO, Deepmind's Retrieval based Attention net, in Pytorch☆863Updated last year
- 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 conditionally routed attention in the CoLT5 architecture, in Pytorch☆226Updated 7 months ago
- ☆349Updated last year
- Code for the ALiBi method for transformer language models (ICLR 2022)☆522Updated last year
- 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☆641Updated 3 months ago
- [NeurIPS 2023] MeZO: Fine-Tuning Language Models with Just Forward Passes. https://arxiv.org/abs/2305.17333☆1,099Updated last year
- Implementation of Block Recurrent Transformer - Pytorch☆217Updated 8 months ago
- ☆255Updated 2 years ago
- Fast & Simple repository for pre-training and fine-tuning T5-style models☆1,001Updated 8 months ago
- Repo for "Monarch Mixer: A Simple Sub-Quadratic GEMM-Based Architecture"☆549Updated 3 months ago
- Experiments around a simple idea for inducing multiple hierarchical predictive model within a GPT☆211Updated 8 months ago
- Implementation of the specific Transformer architecture from PaLM - Scaling Language Modeling with Pathways☆820Updated 2 years ago
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆377Updated last year
- Code for T-Few from "Few-Shot Parameter-Efficient Fine-Tuning is Better and Cheaper than In-Context Learning"☆450Updated last year
- Ungreedy subword tokenizer and vocabulary trainer for Python, Go & Javascript☆576Updated 9 months ago
- Tools for understanding how transformer predictions are built layer-by-layer☆486Updated 10 months ago
- maximal update parametrization (µP)☆1,498Updated 9 months ago
- A crude RLHF layer on top of nanoGPT with Gumbel-Softmax trick☆289Updated last year
- Ask Me Anything language model prompting☆547Updated last year
- Sequence modeling with Mega.☆294Updated 2 years ago
- Recurrent Memory Transformer☆149Updated last year
- The official implementation of “Sophia: A Scalable Stochastic Second-order Optimizer for Language Model Pre-training”☆957Updated last year
- Used for adaptive human in the loop evaluation of language and embedding models.☆309Updated 2 years ago
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorch☆328Updated 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.☆380Updated 10 months ago