The official implementation of “Sophia: A Scalable Stochastic Second-order Optimizer for Language Model Pre-training”
☆1,003Jan 30, 2024Updated 2 years ago
Alternatives and similar repositories for Sophia
Users that are interested in Sophia are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Effortless plugin and play Optimizer to cut model training costs by 50%. New optimizer that is 2x faster than Adam on LLMs.☆382Jun 4, 2024Updated 2 years ago
- [NeurIPS 2023] MeZO: Fine-Tuning Language Models with Just Forward Passes. https://arxiv.org/abs/2305.17333☆1,173Jan 11, 2024Updated 2 years ago
- [ICLR 2023] Eva: Practical Second-order Optimization with Kronecker-vectorized Approximation☆12Jul 31, 2023Updated 3 years ago
- 🦁 Lion, new optimizer discovered by Google Brain using genetic algorithms that is purportedly better than Adam(w), in Pytorch☆2,199Jul 9, 2026Updated last month
- QLoRA: Efficient Finetuning of Quantized LLMs☆10,990Jun 10, 2024Updated 2 years ago
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- Legible, Scalable, Reproducible Foundation Models with Named Tensors and Jax☆710Jan 26, 2026Updated 6 months ago
- Code for Adam-mini: Use Fewer Learning Rates To Gain More https://arxiv.org/abs/2406.16793☆458May 13, 2025Updated last year
- Schedule-Free Optimization in PyTorch☆2,322Jul 28, 2026Updated 3 weeks ago
- GaLore: Memory-Efficient LLM Training by Gradient Low-Rank Projection☆1,700Oct 28, 2024Updated last year
- maximal update parametrization (µP)☆1,749Jul 17, 2024Updated 2 years ago
- Foundation Architecture for (M)LLMs☆3,138Apr 11, 2024Updated 2 years ago
- ADAHESSIAN: An Adaptive Second Order Optimizer for Machine Learning☆288Feb 27, 2023Updated 3 years ago
- LOMO: LOw-Memory Optimization☆993Jul 2, 2024Updated 2 years ago
- A PyTorch native platform for training generative AI models☆5,636Updated this week
- Deploy open-source AI quickly and easily - Special Bonus Offer • AdRunpod Hub is built for open source. One-click deployment and autoscaling endpoints without provisioning your own infrastructure.
- Fast and memory-efficient exact attention☆24,732Updated this week
- Adan: Adaptive Nesterov Momentum Algorithm for Faster Optimizing Deep Models☆822Jun 8, 2025Updated last year
- Scaling Data-Constrained Language Models☆346Jun 28, 2025Updated last year
- RWKV (pronounced RwaKuv) is an RNN with great LLM performance, which can also be directly trained like a GPT transformer (parallelizable)…☆14,669Updated this week
- Accessible large language models via k-bit quantization for PyTorch.☆8,425Updated this week
- Implementation of MEGABYTE, Predicting Million-byte Sequences with Multiscale Transformers, in Pytorch☆656Dec 27, 2024Updated last year
- Fast & Simple repository for pre-training and fine-tuning T5-style models☆1,022Aug 21, 2024Updated last year
- Code for paper: "QuIP: 2-Bit Quantization of Large Language Models With Guarantees"☆402Feb 24, 2024Updated 2 years ago
- LLM training code for Databricks foundation models☆4,440Mar 25, 2026Updated 4 months ago
- Deploy on Railway without the complexity - Free Credits Offer • AdConnect your repo and Railway handles the rest with instant previews. Quickly provision container image services, databases, and storage volumes.
- [ICLR 2024] Efficient Streaming Language Models with Attention Sinks☆7,262Jul 11, 2024Updated 2 years ago
- D-Adaptation for SGD, Adam and AdaGrad☆531Jan 22, 2025Updated last year
- Muon is an optimizer for hidden layers in neural networks☆2,787May 24, 2026Updated 2 months ago
- NanoGPT (124M) in 90 seconds☆5,681Aug 9, 2026Updated last week
- [ICLR 2024] Fine-tuning LLaMA to follow Instructions within 1 Hour and 1.2M Parameters☆5,913Mar 14, 2024Updated 2 years ago
- Hackable and optimized Transformers building blocks, supporting a composable construction.☆10,543Aug 7, 2026Updated last week
- Supercharge Your Model Training☆5,494Apr 29, 2026Updated 3 months ago
- 🚀 Efficient implementations for emerging model architectures☆5,575Updated this week
- Pytorch implementation of preconditioned stochastic gradient descent (Kron and affine preconditioner, low-rank approximation precondition…☆199May 30, 2026Updated 2 months ago
- GPU virtual machines on DigitalOcean Gradient AI • AdGet to production fast with high-performance AMD and NVIDIA GPUs you can spin up in seconds. The definition of operational simplicity.
- Large-scale Self-supervised Pre-training Across Tasks, Languages, and Modalities☆22,190Jan 23, 2026Updated 6 months ago
- Distributed K-FAC preconditioner for PyTorch☆98Aug 11, 2026Updated last week
- [ICML 2024] Break the Sequential Dependency of LLM Inference Using Lookahead Decoding☆1,341Mar 6, 2025Updated last year
- A concise but complete full-attention transformer with a set of promising experimental features from various papers☆5,936Aug 9, 2026Updated last week
- Cramming the training of a (BERT-type) language model into limited compute.☆1,367Jun 13, 2024Updated 2 years ago
- [ICML'24 Spotlight] LLM Maybe LongLM: Self-Extend LLM Context Window Without Tuning☆668Jun 1, 2024Updated 2 years ago
- OpenLLaMA, a permissively licensed open source reproduction of Meta AI’s LLaMA 7B trained on the RedPajama dataset☆7,530Jul 16, 2023Updated 3 years ago