cccntu / minLoRA
minLoRA: a minimal PyTorch library that allows you to apply LoRA to any PyTorch model.
☆432Updated last year
Related projects ⓘ
Alternatives and complementary repositories for minLoRA
- Implementation of Recurrent Memory Transformer, Neurips 2022 paper, in Pytorch☆393Updated 8 months ago
- Official code for ReLoRA from the paper Stack More Layers Differently: High-Rank Training Through Low-Rank Updates☆433Updated 6 months ago
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorch☆291Updated 4 months ago
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆359Updated last year
- Implementation of the conditionally routed attention in the CoLT5 architecture, in Pytorch☆224Updated 2 months ago
- Implementation of MEGABYTE, Predicting Million-byte Sequences with Multiscale Transformers, in Pytorch☆624Updated last month
- Experiments around a simple idea for inducing multiple hierarchical predictive model within a GPT☆205Updated 2 months ago
- Language Modeling with the H3 State Space Model☆513Updated last year
- Implementation of Rotary Embeddings, from the Roformer paper, in Pytorch☆565Updated last month
- Implementation of Memorizing Transformers (ICLR 2022), attention net augmented with indexing and retrieval of memories using approximate …☆625Updated last year
- Memory Efficient Attention (O(sqrt(n)) for Jax and PyTorch☆179Updated last year
- Implementation of 💍 Ring Attention, from Liu et al. at Berkeley AI, in Pytorch☆474Updated 2 weeks ago
- Annotated version of the Mamba paper☆455Updated 8 months ago
- Effortless plugin and play Optimizer to cut model training costs by 50%. New optimizer that is 2x faster than Adam on LLMs.☆377Updated 5 months ago
- Editing Models with Task Arithmetic☆424Updated 9 months ago
- Landmark Attention: Random-Access Infinite Context Length for Transformers☆415Updated 10 months ago
- The official implementation of “Sophia: A Scalable Stochastic Second-order Optimizer for Language Model Pre-training”☆937Updated 9 months ago
- A repository for log-time feedforward networks☆216Updated 7 months ago
- Code for the ALiBi method for transformer language models (ICLR 2022)☆506Updated last year
- A simple way to keep track of an Exponential Moving Average (EMA) version of your Pytorch model☆511Updated 2 weeks ago
- Code release for "Git Re-Basin: Merging Models modulo Permutation Symmetries"☆468Updated last year
- 🧀 Code and models for the ICML 2023 paper "Grounding Language Models to Images for Multimodal Inputs and Outputs".☆478Updated last year
- Transformers with Arbitrarily Large Context☆637Updated 2 months ago
- Ungreedy subword tokenizer and vocabulary trainer for Python, Go & Javascript☆550Updated 4 months ago
- [NeurIPS 2023] MeZO: Fine-Tuning Language Models with Just Forward Passes. https://arxiv.org/abs/2305.17333☆1,041Updated 9 months ago
- A crude RLHF layer on top of nanoGPT with Gumbel-Softmax trick☆287Updated 11 months ago
- Run Effective Large Batch Contrastive Learning Beyond GPU/TPU Memory Constraint☆359Updated 7 months ago
- Cramming the training of a (BERT-type) language model into limited compute.☆1,295Updated 4 months ago
- Helpful tools and examples for working with flex-attention☆460Updated 2 weeks ago
- Automatically split your PyTorch models on multiple GPUs for training & inference☆624Updated 10 months ago