cccntu / minLoRA
minLoRA: a minimal PyTorch library that allows you to apply LoRA to any PyTorch model.
☆448Updated last year
Alternatives and similar repositories for minLoRA:
Users that are interested in minLoRA are comparing it to the libraries listed below
- Implementation of Recurrent Memory Transformer, Neurips 2022 paper, in Pytorch☆405Updated last month
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorch☆306Updated 8 months ago
- Official code for ReLoRA from the paper Stack More Layers Differently: High-Rank Training Through Low-Rank Updates☆443Updated 10 months ago
- Implementation of MEGABYTE, Predicting Million-byte Sequences with Multiscale Transformers, in Pytorch☆637Updated last month
- Fast & Simple repository for pre-training and fine-tuning T5-style models☆992Updated 6 months ago
- The official implementation of “Sophia: A Scalable Stochastic Second-order Optimizer for Language Model Pre-training”☆949Updated last year
- Language Modeling with the H3 State Space Model☆516Updated last year
- Effortless plugin and play Optimizer to cut model training costs by 50%. New optimizer that is 2x faster than Adam on LLMs.☆379Updated 8 months ago
- A repository for log-time feedforward networks☆219Updated 10 months ago
- Experiments around a simple idea for inducing multiple hierarchical predictive model within a GPT☆207Updated 6 months ago
- Annotated version of the Mamba paper☆473Updated 11 months ago
- Implementation of Rotary Embeddings, from the Roformer paper, in Pytorch☆639Updated 2 months ago
- Implementation of Memorizing Transformers (ICLR 2022), attention net augmented with indexing and retrieval of memories using approximate …☆630Updated last year
- Implementation of the conditionally routed attention in the CoLT5 architecture, in Pytorch☆225Updated 5 months ago
- Code for the ALiBi method for transformer language models (ICLR 2022)☆515Updated last year
- Implementation of 💍 Ring Attention, from Liu et al. at Berkeley AI, in Pytorch☆502Updated 3 months ago
- D-Adaptation for SGD, Adam and AdaGrad☆513Updated 3 weeks ago
- Cramming the training of a (BERT-type) language model into limited compute.☆1,319Updated 8 months ago
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆370Updated last year
- Convolutions for Sequence Modeling☆876Updated 8 months ago
- Repo for "Monarch Mixer: A Simple Sub-Quadratic GEMM-Based Architecture"☆547Updated last month
- [NeurIPS 2023] MeZO: Fine-Tuning Language Models with Just Forward Passes. https://arxiv.org/abs/2305.17333☆1,083Updated last year
- A Pytorch implementation of Sparsely-Gated Mixture of Experts, for massively increasing the parameter count of language models☆692Updated last year
- Official PyTorch Implementation of "Learning to Learn with Generative Models of Neural Network Checkpoints"☆337Updated 2 years ago
- Implementation of DoRA☆290Updated 8 months ago
- Ungreedy subword tokenizer and vocabulary trainer for Python, Go & Javascript☆566Updated 7 months ago
- Landmark Attention: Random-Access Infinite Context Length for Transformers☆421Updated last year
- A library with extensible implementations of DPO, KTO, PPO, ORPO, and other human-aware loss functions (HALOs).☆804Updated last week
- A minimum example of aligning language models with RLHF similar to ChatGPT☆217Updated last year
- Multipack distributed sampler for fast padding-free training of LLMs☆184Updated 6 months ago