Liuhong99 / Sophia
The official implementation of “Sophia: A Scalable Stochastic Second-order Optimizer for Language Model Pre-training”
☆949Updated 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.☆379Updated 8 months ago
- [NeurIPS 2023] MeZO: Fine-Tuning Language Models with Just Forward Passes. https://arxiv.org/abs/2305.17333☆1,083Updated last year
- Convolutions for Sequence Modeling☆876Updated 8 months ago
- Cramming the training of a (BERT-type) language model into limited compute.☆1,319Updated 8 months ago
- Implementation of MEGABYTE, Predicting Million-byte Sequences with Multiscale Transformers, in Pytorch☆637Updated last month
- maximal update parametrization (µP)☆1,451Updated 7 months ago
- Implementation of Recurrent Memory Transformer, Neurips 2022 paper, in Pytorch☆405Updated last month
- Fast & Simple repository for pre-training and fine-tuning T5-style models☆992Updated 6 months ago
- LOMO: LOw-Memory Optimization☆980Updated 7 months ago
- Language Modeling with the H3 State Space Model☆516Updated last year
- Large Context Attention☆684Updated 3 weeks ago
- ☆539Updated 2 months ago
- Implementation of 💍 Ring Attention, from Liu et al. at Berkeley AI, in Pytorch☆502Updated 3 months ago
- A simple and effective LLM pruning approach.☆712Updated 6 months ago
- Annotated version of the Mamba paper☆473Updated 11 months ago
- Implementation of Memorizing Transformers (ICLR 2022), attention net augmented with indexing and retrieval of memories using approximate …☆630Updated last year
- For optimization algorithm research and development.☆491Updated this week
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorch☆306Updated 8 months ago
- Repo for "Monarch Mixer: A Simple Sub-Quadratic GEMM-Based Architecture"☆547Updated last month
- Train to 94% on CIFAR-10 in <6.3 seconds on a single A100. Or ~95.79% in ~110 seconds (or less!)☆1,251Updated 2 months ago
- minLoRA: a minimal PyTorch library that allows you to apply LoRA to any PyTorch model.☆448Updated last year
- Official code for ReLoRA from the paper Stack More Layers Differently: High-Rank Training Through Low-Rank Updates☆443Updated 10 months ago
- Code for the ALiBi method for transformer language models (ICLR 2022)☆515Updated last year
- [ICML 2024] SqueezeLLM: Dense-and-Sparse Quantization☆676Updated 6 months ago
- Legible, Scalable, Reproducible Foundation Models with Named Tensors and Jax☆545Updated 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,556Updated last year
- What would you do with 1000 H100s...☆1,001Updated last year
- ☆764Updated last month
- Helpful tools and examples for working with flex-attention☆647Updated this week
- MLCommons Algorithmic Efficiency is a benchmark and competition measuring neural network training speedups due to algorithmic improvement…☆364Updated this week