Liuhong99 / SophiaLinks
The official implementation of “Sophia: A Scalable Stochastic Second-order Optimizer for Language Model Pre-training”
☆971Updated 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.☆382Updated last year
- Convolutions for Sequence Modeling☆898Updated last year
- Cramming the training of a (BERT-type) language model into limited compute.☆1,349Updated last year
- [NeurIPS 2023] MeZO: Fine-Tuning Language Models with Just Forward Passes. https://arxiv.org/abs/2305.17333☆1,130Updated last year
- Implementation of MEGABYTE, Predicting Million-byte Sequences with Multiscale Transformers, in Pytorch☆652Updated 9 months ago
- Fast & Simple repository for pre-training and fine-tuning T5-style models☆1,010Updated last year
- maximal update parametrization (µP)☆1,605Updated last year
- Implementation of Recurrent Memory Transformer, Neurips 2022 paper, in Pytorch☆417Updated 8 months ago
- minLoRA: a minimal PyTorch library that allows you to apply LoRA to any PyTorch model.☆479Updated 2 years ago
- Language Modeling with the H3 State Space Model☆518Updated 2 years ago
- Repo for "Monarch Mixer: A Simple Sub-Quadratic GEMM-Based Architecture"☆560Updated 9 months ago
- Annotated version of the Mamba paper☆490Updated last year
- Implementation of 💍 Ring Attention, from Liu et al. at Berkeley AI, in Pytorch☆540Updated 4 months ago
- A repository for research on medium sized language models.☆509Updated 3 months ago
- Implementation of Memorizing Transformers (ICLR 2022), attention net augmented with indexing and retrieval of memories using approximate …☆635Updated 2 years ago
- Code for the ALiBi method for transformer language models (ICLR 2022)☆543Updated last year
- LOMO: LOw-Memory Optimization☆990Updated last year
- Automatically split your PyTorch models on multiple GPUs for training & inference☆656Updated last year
- Implementation of RETRO, Deepmind's Retrieval based Attention net, in Pytorch☆873Updated last year
- 🦁 Lion, new optimizer discovered by Google Brain using genetic algorithms that is purportedly better than Adam(w), in Pytorch☆2,164Updated 10 months ago
- Official code for ReLoRA from the paper Stack More Layers Differently: High-Rank Training Through Low-Rank Updates☆463Updated last year
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorch☆363Updated last year
- Large Context Attention☆742Updated 8 months ago
- Implementation of plug in and play Attention from "LongNet: Scaling Transformers to 1,000,000,000 Tokens"☆711Updated last year
- Public repo for the NeurIPS 2023 paper "Unlimiformer: Long-Range Transformers with Unlimited Length Input"☆1,063Updated last year
- ☆547Updated 9 months ago
- Train to 94% on CIFAR-10 in <6.3 seconds on a single A100. Or ~95.79% in ~110 seconds (or less!)☆1,287Updated 9 months ago
- Implementation of the specific Transformer architecture from PaLM - Scaling Language Modeling with Pathways☆825Updated 2 years ago
- Ungreedy subword tokenizer and vocabulary trainer for Python, Go & Javascript☆601Updated last year
- Finetuning Large Language Models on One Consumer GPU in 2 Bits☆731Updated last year