The official implementation of “Sophia: A Scalable Stochastic Second-order Optimizer for Language Model Pre-training”
☆1,001Jan 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.☆384Jun 4, 2024Updated 2 years ago
- [NeurIPS 2023] MeZO: Fine-Tuning Language Models with Just Forward Passes. https://arxiv.org/abs/2305.17333☆1,184Jan 11, 2024Updated 2 years ago
- 🦁 Lion, new optimizer discovered by Google Brain using genetic algorithms that is purportedly better than Adam(w), in Pytorch☆2,204Jul 9, 2026Updated 4 months ago
- [ICLR 2023] Eva: Practical Second-order Optimization with Kronecker-vectorized Approximation☆12Jul 31, 2023Updated 3 years ago
- Code for Adam-mini: Use Fewer Learning Rates To Gain More https://arxiv.org/abs/2406.16793☆463May 13, 2025Updated last year
- 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.
- GaLore: Memory-Efficient LLM Training by Gradient Low-Rank Projection☆1,714Oct 28, 2024Updated 2 years ago
- Schedule-Free Optimization in PyTorch☆2,335Jul 28, 2026Updated 3 months ago
- QLoRA: Efficient Finetuning of Quantized LLMs☆11,074Jun 10, 2024Updated 2 years ago
- Legible, Scalable, Reproducible Foundation Models with Named Tensors and Jax☆721Jan 26, 2026Updated 10 months ago
- maximal update parametrization (µP)☆1,754Jul 17, 2024Updated 2 years ago
- ADAHESSIAN: An Adaptive Second Order Optimizer for Machine Learning☆285Feb 27, 2023Updated 3 years ago
- Foundation Architecture for (M)LLMs☆3,140Apr 11, 2024Updated 2 years ago
- Scaling Data-Constrained Language Models☆353Jun 28, 2025Updated last year
- LOMO: LOw-Memory Optimization☆993Jul 2, 2024Updated 2 years ago
- Managed hosting for WordPress and PHP on Cloudways • AdManaged hosting for WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Deploy in minutes on Cloudways by DigitalOcean.
- Implementation of MEGABYTE, Predicting Million-byte Sequences with Multiscale Transformers, in Pytorch☆659Dec 27, 2024Updated last year
- A PyTorch native platform for training generative AI models☆5,998Updated this week
- RWKV (pronounced RwaKuv) is an RNN with great LLM performance, which can also be directly trained like a GPT transformer (parallelizable)…☆14,798Nov 4, 2026Updated 3 weeks ago
- Adan: Adaptive Nesterov Momentum Algorithm for Faster Optimizing Deep Models☆826Jun 8, 2025Updated last year
- Muon is an optimizer for hidden layers in neural networks☆2,956May 24, 2026Updated 6 months ago
- [ICLR 2024] Efficient Streaming Language Models with Attention Sinks☆7,274Jul 11, 2024Updated 2 years ago
- Accessible large language models via k-bit quantization for PyTorch.☆8,557Updated this week
- Fast and memory-efficient exact attention☆25,356Updated this week
- [ICLR 2024] Fine-tuning LLaMA to follow Instructions within 1 Hour and 1.2M Parameters☆5,909Mar 14, 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.
- LLM training code for Databricks foundation models☆4,463Mar 25, 2026Updated 8 months ago
- Supercharge Your Model Training☆5,504Apr 29, 2026Updated 6 months ago
- Hackable and optimized Transformers building blocks, supporting a composable construction.☆10,584Updated this week
- Muon is Scalable for LLM Training☆1,565Aug 3, 2025Updated last year
- D-Adaptation for SGD, Adam and AdaGrad☆529Jan 22, 2025Updated last year
- OpenLLaMA, a permissively licensed open source reproduction of Meta AI’s LLaMA 7B trained on the RedPajama dataset☆7,516Jul 16, 2023Updated 3 years ago
- CodeTF: One-stop Transformer Library for State-of-the-art Code LLM☆1,474May 1, 2025Updated last year
- Pytorch implementation of preconditioned stochastic gradient descent (Kron and affine preconditioner, low-rank approximation precondition…☆209May 30, 2026Updated 5 months ago
- A concise but complete full-attention transformer with a set of promising experimental features from various papers☆5,969Updated this week
- AI Agents on DigitalOcean Gradient AI Platform • AdBuild production-ready AI agents using customizable tools or access multiple LLMs through a single endpoint. Create custom knowledge bases or connect external data.
- NanoGPT (124M) in 90 seconds☆6,072Sep 28, 2026Updated last month
- Fast & Simple repository for pre-training and fine-tuning T5-style models☆1,020Aug 21, 2024Updated 2 years ago
- Official implementation of our NeurIPS 2023 paper "Augmenting Language Models with Long-Term Memory".☆832Mar 30, 2024Updated 2 years ago
- Salesforce open-source LLMs with 8k sequence length.☆726Jun 2, 2026Updated 5 months ago
- Code for paper: "QuIP: 2-Bit Quantization of Large Language Models With Guarantees"☆398Feb 24, 2024Updated 2 years ago
- Official code for ReLoRA from the paper Stack More Layers Differently: High-Rank Training Through Low-Rank Updates☆476Apr 21, 2024Updated 2 years ago
- Distributed K-FAC preconditioner for PyTorch☆98Updated this week
Are these results useful?