Liuhong99 / SophiaLinks
The official implementation of “Sophia: A Scalable Stochastic Second-order Optimizer for Language Model Pre-training”
☆962Updated last year
Alternatives and similar repositories for Sophia
Users that are interested in Sophia are comparing it to the libraries listed below
Sorting:
- Effortless plugin and play Optimizer to cut model training costs by 50%. New optimizer that is 2x faster than Adam on LLMs.☆380Updated last year
- Cramming the training of a (BERT-type) language model into limited compute.☆1,338Updated last year
- Convolutions for Sequence Modeling☆891Updated last year
- maximal update parametrization (µP)☆1,554Updated 11 months ago
- Fast & Simple repository for pre-training and fine-tuning T5-style models☆1,005Updated 10 months ago
- [NeurIPS 2023] MeZO: Fine-Tuning Language Models with Just Forward Passes. https://arxiv.org/abs/2305.17333☆1,115Updated last year
- Language Modeling with the H3 State Space Model☆519Updated last year
- Implementation of MEGABYTE, Predicting Million-byte Sequences with Multiscale Transformers, in Pytorch☆645Updated 6 months ago
- Implementation of Recurrent Memory Transformer, Neurips 2022 paper, in Pytorch☆410Updated 6 months ago
- Repo for "Monarch Mixer: A Simple Sub-Quadratic GEMM-Based Architecture"☆555Updated 6 months ago
- Annotated version of the Mamba paper☆486Updated last year
- minLoRA: a minimal PyTorch library that allows you to apply LoRA to any PyTorch model.☆466Updated 2 years ago
- LOMO: LOw-Memory Optimization☆987Updated last year
- A repository for research on medium sized language models.☆502Updated last month
- Implementation of 💍 Ring Attention, from Liu et al. at Berkeley AI, in Pytorch☆529Updated last month
- Implementation of RETRO, Deepmind's Retrieval based Attention net, in Pytorch☆868Updated last year
- Code for the ALiBi method for transformer language models (ICLR 2022)☆536Updated last year
- Implementation of Memorizing Transformers (ICLR 2022), attention net augmented with indexing and retrieval of memories using approximate …☆634Updated last year
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorch☆345Updated last year
- 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,575Updated last year
- Official code for ReLoRA from the paper Stack More Layers Differently: High-Rank Training Through Low-Rank Updates☆458Updated last year
- Helpful tools and examples for working with flex-attention☆865Updated 2 weeks ago
- GaLore: Memory-Efficient LLM Training by Gradient Low-Rank Projection☆1,574Updated 8 months ago
- Ungreedy subword tokenizer and vocabulary trainer for Python, Go & Javascript☆588Updated last year
- Large Context Attention☆718Updated 5 months ago
- For optimization algorithm research and development.☆521Updated this week
- 🦁 Lion, new optimizer discovered by Google Brain using genetic algorithms that is purportedly better than Adam(w), in Pytorch☆2,145Updated 7 months ago
- ☆543Updated 6 months ago
- What would you do with 1000 H100s...☆1,061Updated last year
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆379Updated last year