lucidrains / memorizing-transformers-pytorchLinks
Implementation of Memorizing Transformers (ICLR 2022), attention net augmented with indexing and retrieval of memories using approximate nearest neighbors, in Pytorch
☆635Updated 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:
- Language Modeling with the H3 State Space Model☆519Updated last year
- Implementation of RETRO, Deepmind's Retrieval based Attention net, in Pytorch☆866Updated last year
- Implementation of Recurrent Memory Transformer, Neurips 2022 paper, in Pytorch☆409Updated 5 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☆230Updated 9 months ago
- The official implementation of “Sophia: A Scalable Stochastic Second-order Optimizer for Language Model Pre-training”☆963Updated last year
- Convolutions for Sequence Modeling☆891Updated last year
- Cramming the training of a (BERT-type) language model into limited compute.☆1,336Updated last year
- Experiments around a simple idea for inducing multiple hierarchical predictive model within a GPT☆214Updated 10 months ago
- Code for the ALiBi method for transformer language models (ICLR 2022)☆535Updated last year
- Implementation of MEGABYTE, Predicting Million-byte Sequences with Multiscale Transformers, in Pytorch☆644Updated 5 months ago
- Used for adaptive human in the loop evaluation of language and embedding models.☆309Updated 2 years ago
- Implementation of Block Recurrent Transformer - Pytorch☆219Updated 10 months ago
- A crude RLHF layer on top of nanoGPT with Gumbel-Softmax trick☆290Updated last year
- Effortless plugin and play Optimizer to cut model training costs by 50%. New optimizer that is 2x faster than Adam on LLMs.☆381Updated last year
- Fast & Simple repository for pre-training and fine-tuning T5-style models☆1,005Updated 10 months ago
- Repo for "Monarch Mixer: A Simple Sub-Quadratic GEMM-Based Architecture"☆554Updated 5 months ago
- Ungreedy subword tokenizer and vocabulary trainer for Python, Go & Javascript☆584Updated 11 months ago
- The repository for the code of the UltraFastBERT paper☆516Updated last year
- Recurrent Memory Transformer☆149Updated last year
- Landmark Attention: Random-Access Infinite Context Length for Transformers☆423Updated last year
- Sequence modeling with Mega.☆296Updated 2 years ago
- [NeurIPS 2023] MeZO: Fine-Tuning Language Models with Just Forward Passes. https://arxiv.org/abs/2305.17333☆1,115Updated last year
- Mass-editing thousands of facts into a transformer memory (ICLR 2023)☆500Updated last year
- ☆256Updated 2 weeks ago
- Official code for ReLoRA from the paper Stack More Layers Differently: High-Rank Training Through Low-Rank Updates☆456Updated last year
- Easily convert common crawl to a dataset of caption and document. Image/text Audio/text Video/text, ...☆317Updated last year
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆379Updated last year
- Implementation of 💍 Ring Attention, from Liu et al. at Berkeley AI, in Pytorch☆521Updated last month
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorch☆341Updated last year