Liuhong99 / Sophia
The official implementation of “Sophia: A Scalable Stochastic Second-order Optimizer for Language Model Pre-training”
☆955Updated last year
Alternatives and similar repositories for Sophia:
Users that are interested in Sophia 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
- [NeurIPS 2023] MeZO: Fine-Tuning Language Models with Just Forward Passes. https://arxiv.org/abs/2305.17333☆1,095Updated last year
- Cramming the training of a (BERT-type) language model into limited compute.☆1,325Updated 9 months ago
- maximal update parametrization (µP)☆1,481Updated 8 months ago
- Convolutions for Sequence Modeling☆878Updated 9 months ago
- Implementation of MEGABYTE, Predicting Million-byte Sequences with Multiscale Transformers, in Pytorch☆638Updated 3 months ago
- minLoRA: a minimal PyTorch library that allows you to apply LoRA to any PyTorch model.☆454Updated last year
- LOMO: LOw-Memory Optimization☆981Updated 8 months ago
- Fast & Simple repository for pre-training and fine-tuning T5-style models☆1,000Updated 7 months ago
- [ICML 2024] Break the Sequential Dependency of LLM Inference Using Lookahead Decoding☆1,218Updated 3 weeks ago
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorch☆321Updated 9 months ago
- Repo for "Monarch Mixer: A Simple Sub-Quadratic GEMM-Based Architecture"☆548Updated 2 months ago
- Ungreedy subword tokenizer and vocabulary trainer for Python, Go & Javascript☆574Updated 8 months ago
- Annotated version of the Mamba paper☆477Updated last year
- Code for the ICLR 2023 paper "GPTQ: Accurate Post-training Quantization of Generative Pretrained Transformers".☆2,066Updated 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
- Official code for ReLoRA from the paper Stack More Layers Differently: High-Rank Training Through Low-Rank Updates☆448Updated 11 months ago
- ☆542Updated 3 months ago
- Implementation of Memorizing Transformers (ICLR 2022), attention net augmented with indexing and retrieval of memories using approximate …☆631Updated last year
- Foundation Architecture for (M)LLMs☆3,064Updated 11 months ago
- Implementation of 💍 Ring Attention, from Liu et al. at Berkeley AI, in Pytorch☆506Updated 5 months ago
- A simple and effective LLM pruning approach.☆725Updated 7 months ago
- Schedule-Free Optimization in PyTorch☆2,118Updated this week
- Kernl lets you run PyTorch transformer models several times faster on GPU with a single line of code, and is designed to be easily hackab…☆1,560Updated last year
- Implementation of Recurrent Memory Transformer, Neurips 2022 paper, in Pytorch☆407Updated 2 months ago
- Language Modeling with the H3 State Space Model☆517Updated last year
- A repository for research on medium sized language models.☆493Updated 2 months ago
- Large Context Attention☆696Updated 2 months ago
- GaLore: Memory-Efficient LLM Training by Gradient Low-Rank Projection☆1,526Updated 4 months ago
- Minimalistic large language model 3D-parallelism training☆1,715Updated this week