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 7 months ago
Alternatives and similar repositories for Sophia:
Users that are interested in Sophia are comparing it to the libraries listed below
- The official implementation of “Sophia: A Scalable Stochastic Second-order Optimizer for Language Model Pre-training ”☆941Updated 11 months ago
- Implementation of Recurrent Memory Transformer, Neurips 2022 paper, in Pytorch☆403Updated last week
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorch☆297Updated 7 months ago
- Code release for "Dropout Reduces Underfitting"☆311Updated last year
- Language Modeling with the H3 State Space Model☆516Updated last year
- Implementation of the conditionally routed attention in the CoLT5 architecture, in Pytorch☆225Updated 4 months ago
- Sequence modeling with Mega.☆297Updated last year
- Experiments around a simple idea for inducing multiple hierarchical predictive model within a GPT☆205Updated 4 months ago
- Annotated version of the Mamba paper☆469Updated 10 months ago
- Repo for "Monarch Mixer: A Simple Sub-Quadratic GEMM-Based Architecture"☆541Updated 2 weeks ago
- For optimization algorithm research and development.☆484Updated this week
- Implementation of 💍 Ring Attention, from Liu et al. at Berkeley AI, in Pytorch☆492Updated 2 months ago
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆370Updated last year
- ☆296Updated 6 months ago
- Code for the ALiBi method for transformer language models (ICLR 2022)☆510Updated last year
- Named tensors with first-class dimensions for PyTorch☆322Updated last year
- Fast & Simple repository for pre-training and fine-tuning T5-style models☆986Updated 4 months ago
- Scalable and Performant Data Loading☆207Updated this week
- minLoRA: a minimal PyTorch library that allows you to apply LoRA to any PyTorch model.☆444Updated last year
- Ungreedy subword tokenizer and vocabulary trainer for Python, Go & Javascript☆562Updated 6 months ago
- Implementation of the Adan (ADAptive Nesterov momentum algorithm) Optimizer in Pytorch☆250Updated 2 years ago
- Implementation of MEGABYTE, Predicting Million-byte Sequences with Multiscale Transformers, in Pytorch☆632Updated 3 weeks ago
- A library that contains a rich collection of performant PyTorch model metrics, a simple interface to create new metrics, a toolkit to fac…☆224Updated last month
- NeurIPS Large Language Model Efficiency Challenge: 1 LLM + 1GPU + 1Day☆253Updated last year
- Helpful tools and examples for working with flex-attention☆583Updated this week
- Automatic gradient descent☆206Updated last year
- Official PyTorch implementation of QA-LoRA☆122Updated 10 months ago
- Implementation of Block Recurrent Transformer - Pytorch☆217Updated 4 months ago
- A Pytorch implementation of Sparsely-Gated Mixture of Experts, for massively increasing the parameter count of language models☆668Updated last year