kyegomez / Sophia
Effortless plugin and play Optimizer to cut model training costs by 50%. New optimizer that is 2x faster than Adam on LLMs.
☆381Updated 9 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”☆951Updated last year
- Implementation of Recurrent Memory Transformer, Neurips 2022 paper, in Pytorch☆408Updated 2 months ago
- Language Modeling with the H3 State Space Model☆515Updated last year
- Implementation of the conditionally routed attention in the CoLT5 architecture, in Pytorch☆226Updated 6 months ago
- Code release for "Dropout Reduces Underfitting"☆312Updated last year
- Convolutions for Sequence Modeling☆877Updated 8 months ago
- Annotated version of the Mamba paper☆474Updated last year
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆372Updated last year
- Helpful tools and examples for working with flex-attention☆676Updated this week
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorch☆316Updated 8 months ago
- Experiments around a simple idea for inducing multiple hierarchical predictive model within a GPT☆209Updated 6 months ago
- Legible, Scalable, Reproducible Foundation Models with Named Tensors and Jax☆554Updated this week
- Huggingface compatible implementation of RetNet (Retentive Networks, https://arxiv.org/pdf/2307.08621.pdf) including parallel, recurrent,…☆225Updated 11 months ago
- Just some miscellaneous utility functions / decorators / modules related to Pytorch and Accelerate to help speed up implementation of new…☆120Updated 7 months ago
- ☆540Updated 2 months ago
- minLoRA: a minimal PyTorch library that allows you to apply LoRA to any PyTorch model.☆449Updated last year
- For optimization algorithm research and development.☆498Updated last week
- ☆301Updated 8 months ago
- Implementation of Block Recurrent Transformer - Pytorch☆218Updated 6 months ago
- Sequence modeling with Mega.☆296Updated 2 years ago
- Code for the ALiBi method for transformer language models (ICLR 2022)☆516Updated last year
- Automatic gradient descent☆207Updated last year
- Named tensors with first-class dimensions for PyTorch☆321Updated last year
- Implementation of MEGABYTE, Predicting Million-byte Sequences with Multiscale Transformers, in Pytorch☆639Updated 2 months ago
- Ungreedy subword tokenizer and vocabulary trainer for Python, Go & Javascript☆568Updated 8 months ago
- Repo for "Monarch Mixer: A Simple Sub-Quadratic GEMM-Based Architecture"☆547Updated 2 months ago
- ☆165Updated last year
- Official code for ReLoRA from the paper Stack More Layers Differently: High-Rank Training Through Low-Rank Updates☆446Updated 10 months ago
- ☆339Updated 10 months ago
- NeurIPS Large Language Model Efficiency Challenge: 1 LLM + 1GPU + 1Day☆255Updated last year