Liuhong99 / SophiaLinks
The official implementation of “Sophia: A Scalable Stochastic Second-order Optimizer for Language Model Pre-training”
☆977Updated 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.☆383Updated last year
- Cramming the training of a (BERT-type) language model into limited compute.☆1,351Updated last year
- Implementation of MEGABYTE, Predicting Million-byte Sequences with Multiscale Transformers, in Pytorch☆654Updated 10 months ago
- maximal update parametrization (µP)☆1,621Updated last year
- Convolutions for Sequence Modeling☆900Updated last year
- Fast & Simple repository for pre-training and fine-tuning T5-style models☆1,013Updated last year
- [NeurIPS 2023] MeZO: Fine-Tuning Language Models with Just Forward Passes. https://arxiv.org/abs/2305.17333☆1,133Updated last year
- minLoRA: a minimal PyTorch library that allows you to apply LoRA to any PyTorch model.☆482Updated 2 years ago
- Annotated version of the Mamba paper☆490Updated last year
- Language Modeling with the H3 State Space Model☆518Updated 2 years ago
- A repository for research on medium sized language models.☆518Updated 5 months ago
- Implementation of Recurrent Memory Transformer, Neurips 2022 paper, in Pytorch☆418Updated 10 months ago
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorch☆369Updated last year
- Implementation of 💍 Ring Attention, from Liu et al. at Berkeley AI, in Pytorch☆543Updated 6 months ago
- LOMO: LOw-Memory Optimization☆990Updated last year
- Official code for ReLoRA from the paper Stack More Layers Differently: High-Rank Training Through Low-Rank Updates☆467Updated last year
- Repo for "Monarch Mixer: A Simple Sub-Quadratic GEMM-Based Architecture"☆560Updated 10 months ago
- Public repo for the NeurIPS 2023 paper "Unlimiformer: Long-Range Transformers with Unlimited Length Input"☆1,063Updated last year
- Implementation of Memorizing Transformers (ICLR 2022), attention net augmented with indexing and retrieval of memories using approximate …☆634Updated 2 years ago
- Large Context Attention☆749Updated last month
- Code for the ALiBi method for transformer language models (ICLR 2022)☆543Updated 2 years ago
- Automatically split your PyTorch models on multiple GPUs for training & inference☆658Updated last year
- For optimization algorithm research and development.☆543Updated last week
- GaLore: Memory-Efficient LLM Training by Gradient Low-Rank Projection☆1,621Updated last year
- D-Adaptation for SGD, Adam and AdaGrad☆525Updated 9 months ago
- ☆548Updated 11 months ago
- Implementation of the specific Transformer architecture from PaLM - Scaling Language Modeling with Pathways☆824Updated 3 years ago
- Code for Adam-mini: Use Fewer Learning Rates To Gain More https://arxiv.org/abs/2406.16793☆440Updated 6 months ago
- 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,585Updated last year
- Legible, Scalable, Reproducible Foundation Models with Named Tensors and Jax☆679Updated last week