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
☆634Updated 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:
- Implementation of RETRO, Deepmind's Retrieval based Attention net, in Pytorch☆866Updated last year
- Language Modeling with the H3 State Space Model☆519Updated last year
- Convolutions for Sequence Modeling☆885Updated 11 months ago
- Public repo for the NeurIPS 2023 paper "Unlimiformer: Long-Range Transformers with Unlimited Length Input"☆1,060Updated last year
- Implementation of Recurrent Memory Transformer, Neurips 2022 paper, in Pytorch☆408Updated 5 months ago
- Cramming the training of a (BERT-type) language model into limited compute.☆1,333Updated 11 months ago
- Implementation of the conditionally routed attention in the CoLT5 architecture, in Pytorch☆230Updated 9 months ago
- Implementation of the specific Transformer architecture from PaLM - Scaling Language Modeling with Pathways☆823Updated 2 years ago
- Experiments around a simple idea for inducing multiple hierarchical predictive model within a GPT☆213Updated 9 months ago
- [NeurIPS 2023] MeZO: Fine-Tuning Language Models with Just Forward Passes. https://arxiv.org/abs/2305.17333☆1,108Updated last year
- Ask Me Anything language model prompting☆547Updated last year
- ☆457Updated last year
- ☆256Updated 2 years ago
- Ungreedy subword tokenizer and vocabulary trainer for Python, Go & Javascript☆582Updated 11 months ago
- Used for adaptive human in the loop evaluation of language and embedding models.☆308Updated 2 years ago
- Code for the ALiBi method for transformer language models (ICLR 2022)☆530Updated last year
- Official code for ReLoRA from the paper Stack More Layers Differently: High-Rank Training Through Low-Rank Updates☆456Updated last year
- Fast & Simple repository for pre-training and fine-tuning T5-style models☆1,005Updated 9 months ago
- Implementation of Block Recurrent Transformer - Pytorch☆218Updated 9 months ago
- A crude RLHF layer on top of nanoGPT with Gumbel-Softmax trick☆289Updated last year
- Implementation of MEGABYTE, Predicting Million-byte Sequences with Multiscale Transformers, in Pytorch☆643Updated 5 months ago
- Repo for "Monarch Mixer: A Simple Sub-Quadratic GEMM-Based Architecture"☆550Updated 5 months ago
- Code for T-Few from "Few-Shot Parameter-Efficient Fine-Tuning is Better and Cheaper than In-Context Learning"☆451Updated last year
- Reproduce results and replicate training fo T0 (Multitask Prompted Training Enables Zero-Shot Task Generalization)☆464Updated 2 years ago
- The official implementation of “Sophia: A Scalable Stochastic Second-order Optimizer for Language Model Pre-training”☆961Updated last year
- Tools for understanding how transformer predictions are built layer-by-layer☆497Updated last year
- ☆534Updated 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
- Sequence modeling with Mega.☆295Updated 2 years ago
- ☆354Updated last year