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
☆630Updated 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
- Implementation of Recurrent Memory Transformer, Neurips 2022 paper, in Pytorch☆405Updated last month
- Language Modeling with the H3 State Space Model☆516Updated last year
- Implementation of RETRO, Deepmind's Retrieval based Attention net, in Pytorch☆857Updated last year
- Convolutions for Sequence Modeling☆876Updated 8 months ago
- ☆253Updated 2 years ago
- Cramming the training of a (BERT-type) language model into limited compute.☆1,319Updated 8 months ago
- Implementation of the conditionally routed attention in the CoLT5 architecture, in Pytorch☆225Updated 5 months ago
- Code for the ALiBi method for transformer language models (ICLR 2022)☆515Updated last year
- Implementation of the specific Transformer architecture from PaLM - Scaling Language Modeling with Pathways☆820Updated 2 years ago
- Public repo for the NeurIPS 2023 paper "Unlimiformer: Long-Range Transformers with Unlimited Length Input"☆1,060Updated 11 months ago
- Implementation of MEGABYTE, Predicting Million-byte Sequences with Multiscale Transformers, in Pytorch☆637Updated last month
- Fast & Simple repository for pre-training and fine-tuning T5-style models☆992Updated 6 months ago
- Used for adaptive human in the loop evaluation of language and embedding models.☆306Updated last year
- Ungreedy subword tokenizer and vocabulary trainer for Python, Go & Javascript☆566Updated 7 months ago
- Implementation of Block Recurrent Transformer - Pytorch☆218Updated 6 months ago
- ☆456Updated last year
- Experiments around a simple idea for inducing multiple hierarchical predictive model within a GPT☆206Updated 6 months ago
- ☆338Updated 10 months ago
- ☆521Updated last year
- maximal update parametrization (µP)☆1,451Updated 7 months ago
- [NeurIPS 2023] MeZO: Fine-Tuning Language Models with Just Forward Passes. https://arxiv.org/abs/2305.17333☆1,083Updated last year
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆370Updated last year
- Effortless plugin and play Optimizer to cut model training costs by 50%. New optimizer that is 2x faster than Adam on LLMs.☆379Updated 8 months ago
- The official implementation of “Sophia: A Scalable Stochastic Second-order Optimizer for Language Model Pre-training”☆949Updated last year
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorch☆306Updated 8 months ago
- Tools for understanding how transformer predictions are built layer-by-layer☆475Updated 8 months ago
- Reproduce results and replicate training fo T0 (Multitask Prompted Training Enables Zero-Shot Task Generalization)☆461Updated 2 years ago
- A prize for finding tasks that cause large language models to show inverse scaling☆608Updated last year
- A crude RLHF layer on top of nanoGPT with Gumbel-Softmax trick☆288Updated last year
- An interpreter for RASP as described in the ICML 2021 paper "Thinking Like Transformers"☆301Updated 5 months ago