cccntu / minLoRA
minLoRA: a minimal PyTorch library that allows you to apply LoRA to any PyTorch model.
☆454Updated last year
Alternatives and similar repositories for minLoRA:
Users that are interested in minLoRA are comparing it to the libraries listed below
- 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
- 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
- Implementation of Rotary Embeddings, from the Roformer paper, in Pytorch☆651Updated 4 months ago
- Fast & Simple repository for pre-training and fine-tuning T5-style models☆1,000Updated 7 months ago
- Implementation of Recurrent Memory Transformer, Neurips 2022 paper, in Pytorch☆407Updated 2 months ago
- Annotated version of the Mamba paper☆477Updated last year
- Implementation of 💍 Ring Attention, from Liu et al. at Berkeley AI, in Pytorch☆506Updated 5 months ago
- Implementation of MEGABYTE, Predicting Million-byte Sequences with Multiscale Transformers, in Pytorch☆638Updated 3 months ago
- Ungreedy subword tokenizer and vocabulary trainer for Python, Go & Javascript☆574Updated 8 months ago
- Cramming the training of a (BERT-type) language model into limited compute.☆1,325Updated 9 months ago
- Language Modeling with the H3 State Space Model☆517Updated last year
- Repo for "Monarch Mixer: A Simple Sub-Quadratic GEMM-Based Architecture"☆548Updated 3 months ago
- Official code for ReLoRA from the paper Stack More Layers Differently: High-Rank Training Through Low-Rank Updates☆448Updated 11 months ago
- Code for the ALiBi method for transformer language models (ICLR 2022)☆519Updated last year
- Experiments around a simple idea for inducing multiple hierarchical predictive model within a GPT☆210Updated 7 months ago
- Implementation of the conditionally routed attention in the CoLT5 architecture, in Pytorch☆226Updated 6 months ago
- D-Adaptation for SGD, Adam and AdaGrad☆518Updated 2 months ago
- Code release for "Git Re-Basin: Merging Models modulo Permutation Symmetries"☆476Updated 2 years ago
- maximal update parametrization (µP)☆1,481Updated 8 months ago
- Implementation of Memorizing Transformers (ICLR 2022), attention net augmented with indexing and retrieval of memories using approximate …☆631Updated last year
- ☆301Updated 9 months ago
- Convolutions for Sequence Modeling☆878Updated 9 months ago
- Implementation of https://srush.github.io/annotated-s4☆486Updated 2 years ago
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆372Updated last year
- 🦁 Lion, new optimizer discovered by Google Brain using genetic algorithms that is purportedly better than Adam(w), in Pytorch☆2,110Updated 4 months ago
- A repository for research on medium sized language models.☆493Updated 2 months ago
- Helpful tools and examples for working with flex-attention☆698Updated last week
- Implementation of Soft MoE, proposed by Brain's Vision team, in Pytorch☆271Updated 11 months ago
- [ICML2024 (Oral)] Official PyTorch implementation of DoRA: Weight-Decomposed Low-Rank Adaptation☆748Updated 5 months ago