Liuhong99 / Sophia
The official implementation of “Sophia: A Scalable Stochastic Second-order Optimizer for Language Model Pre-training”
☆939Updated 9 months ago
Related projects ⓘ
Alternatives and complementary repositories for Sophia
- Effortless plugin and play Optimizer to cut model training costs by 50%. New optimizer that is 2x faster than Adam on LLMs.☆378Updated 5 months ago
- Convolutions for Sequence Modeling☆869Updated 5 months ago
- Implementation of MEGABYTE, Predicting Million-byte Sequences with Multiscale Transformers, in Pytorch☆624Updated 2 months ago
- [NeurIPS 2023] MeZO: Fine-Tuning Language Models with Just Forward Passes. https://arxiv.org/abs/2305.17333☆1,045Updated 10 months ago
- Implementation of Recurrent Memory Transformer, Neurips 2022 paper, in Pytorch☆394Updated this week
- Repo for "Monarch Mixer: A Simple Sub-Quadratic GEMM-Based Architecture"☆537Updated 6 months ago
- Fast & Simple repository for pre-training and fine-tuning T5-style models☆970Updated 3 months ago
- LOMO: LOw-Memory Optimization☆979Updated 4 months ago
- Cramming the training of a (BERT-type) language model into limited compute.☆1,296Updated 5 months ago
- Implementation of 💍 Ring Attention, from Liu et al. at Berkeley AI, in Pytorch☆476Updated 3 weeks ago
- maximal update parametrization (µP)☆1,402Updated 4 months ago
- Language Modeling with the H3 State Space Model☆513Updated last year
- Annotated version of the Mamba paper☆457Updated 8 months ago
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorch☆293Updated 5 months ago
- Implementation of Rotary Embeddings, from the Roformer paper, in Pytorch☆571Updated last week
- Code for the ALiBi method for transformer language models (ICLR 2022)☆507Updated 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,535Updated 9 months ago
- Implementation of the conditionally routed attention in the CoLT5 architecture, in Pytorch☆225Updated 2 months ago
- Efficient implementations of state-of-the-art linear attention models in Pytorch and Triton☆1,339Updated this week
- A simple and effective LLM pruning approach.☆669Updated 3 months ago
- ☆527Updated 10 months ago
- Transformers with Arbitrarily Large Context☆641Updated 3 months ago
- Implementation of Memorizing Transformers (ICLR 2022), attention net augmented with indexing and retrieval of memories using approximate …☆624Updated last year
- Implementation of https://srush.github.io/annotated-s4☆469Updated last year
- Sequence modeling with Mega.☆298Updated last year
- Long Range Arena for Benchmarking Efficient Transformers☆729Updated 11 months ago
- Official code for ReLoRA from the paper Stack More Layers Differently: High-Rank Training Through Low-Rank Updates☆435Updated 6 months ago
- 🦁 Lion, new optimizer discovered by Google Brain using genetic algorithms that is purportedly better than Adam(w), in Pytorch☆2,041Updated 5 months ago
- ☆292Updated 4 months ago