kyegomez / 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
Related projects ⓘ
Alternatives and complementary repositories for Sophia
- The official implementation of “Sophia: A Scalable Stochastic Second-order Optimizer for Language Model Pre-training”☆939Updated 9 months ago
- Implementation of Recurrent Memory Transformer, Neurips 2022 paper, in Pytorch☆394Updated this week
- Convolutions for Sequence Modeling☆869Updated 5 months ago
- Implementation of the conditionally routed attention in the CoLT5 architecture, in Pytorch☆225Updated 2 months ago
- Language Modeling with the H3 State Space Model☆513Updated last year
- Repo for "Monarch Mixer: A Simple Sub-Quadratic GEMM-Based Architecture"☆537Updated 6 months ago
- Implementation of MEGABYTE, Predicting Million-byte Sequences with Multiscale Transformers, in Pytorch☆624Updated 2 months ago
- ☆292Updated 4 months ago
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorch☆293Updated 5 months ago
- Annotated version of the Mamba paper☆457Updated 8 months ago
- Experiments around a simple idea for inducing multiple hierarchical predictive model within a GPT☆205Updated 3 months ago
- Implementation of Block Recurrent Transformer - Pytorch☆213Updated 3 months ago
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆360Updated last year
- For optimization algorithm research and development.☆449Updated this week
- Implementation of Rotary Embeddings, from the Roformer paper, in Pytorch☆571Updated last week
- Code release for "Dropout Reduces Underfitting"☆312Updated last year
- A repository for log-time feedforward networks☆216Updated 7 months ago
- minLoRA: a minimal PyTorch library that allows you to apply LoRA to any PyTorch model.☆434Updated last year
- The repository for the code of the UltraFastBERT paper☆514Updated 7 months ago
- Code for the ALiBi method for transformer language models (ICLR 2022)☆507Updated last year
- JAX implementation of the Llama 2 model☆210Updated 9 months ago
- Helpful tools and examples for working with flex-attention☆469Updated 3 weeks ago
- Implementation of 💍 Ring Attention, from Liu et al. at Berkeley AI, in Pytorch☆476Updated 3 weeks ago
- Sequence modeling with Mega.☆298Updated last year
- Understand and test language model architectures on synthetic tasks.☆162Updated 6 months ago
- Official PyTorch implementation of QA-LoRA☆117Updated 8 months ago
- A library to inspect and extract intermediate layers of PyTorch models.☆470Updated 2 years ago
- ☆334Updated 7 months ago
- MLCommons Algorithmic Efficiency is a benchmark and competition measuring neural network training speedups due to algorithmic improvement…☆333Updated 3 weeks ago
- Implementation of the Adan (ADAptive Nesterov momentum algorithm) Optimizer in Pytorch☆247Updated 2 years ago