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
☆631Updated 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☆407Updated 2 months ago
- Language Modeling with the H3 State Space Model☆517Updated last year
- Implementation of RETRO, Deepmind's Retrieval based Attention net, in Pytorch☆859Updated last year
- Experiments around a simple idea for inducing multiple hierarchical predictive model within a GPT☆210Updated 7 months ago
- Convolutions for Sequence Modeling☆878Updated 9 months ago
- Cramming the training of a (BERT-type) language model into limited compute.☆1,325Updated 9 months ago
- Fast & Simple repository for pre-training and fine-tuning T5-style models☆1,000Updated 7 months ago
- Implementation of the conditionally routed attention in the CoLT5 architecture, in Pytorch☆226Updated 6 months ago
- Implementation of Block Recurrent Transformer - Pytorch☆218Updated 7 months ago
- Implementation of MEGABYTE, Predicting Million-byte Sequences with Multiscale Transformers, in Pytorch☆638Updated 2 months ago
- Code for the ALiBi method for transformer language models (ICLR 2022)☆518Updated last year
- Ungreedy subword tokenizer and vocabulary trainer for Python, Go & Javascript☆574Updated 8 months ago
- ☆457Updated last year
- ☆253Updated 2 years ago
- Implementation of the specific Transformer architecture from PaLM - Scaling Language Modeling with Pathways☆819Updated 2 years ago
- Code for T-Few from "Few-Shot Parameter-Efficient Fine-Tuning is Better and Cheaper than In-Context Learning"☆447Updated last year
- Repo for "Monarch Mixer: A Simple Sub-Quadratic GEMM-Based Architecture"☆548Updated 2 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 9 months ago
- Public repo for the NeurIPS 2023 paper "Unlimiformer: Long-Range Transformers with Unlimited Length Input"☆1,058Updated last year
- Sequence modeling with Mega.☆295Updated 2 years ago
- The official implementation of “Sophia: A Scalable Stochastic Second-order Optimizer for Language Model Pre-training”☆955Updated last year
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorch☆321Updated 9 months ago
- [NeurIPS 2023] MeZO: Fine-Tuning Language Models with Just Forward Passes. https://arxiv.org/abs/2305.17333☆1,095Updated last year
- A crude RLHF layer on top of nanoGPT with Gumbel-Softmax trick☆288Updated last year
- Landmark Attention: Random-Access Infinite Context Length for Transformers☆421Updated last year
- 🤖 A PyTorch library of curated Transformer models and their composable components☆883Updated 11 months ago
- TART: A plug-and-play Transformer module for task-agnostic reasoning☆195Updated last year
- Used for adaptive human in the loop evaluation of language and embedding models.☆306Updated 2 years ago
- ☆343Updated 11 months ago
- Official code for ReLoRA from the paper Stack More Layers Differently: High-Rank Training Through Low-Rank Updates☆448Updated 11 months ago