Liuhong99 / SophiaLinks
The official implementation of “Sophia: A Scalable Stochastic Second-order Optimizer for Language Model Pre-training”
☆979Updated 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
- Convolutions for Sequence Modeling☆908Updated last year
- Implementation of MEGABYTE, Predicting Million-byte Sequences with Multiscale Transformers, in Pytorch☆655Updated 11 months ago
- Cramming the training of a (BERT-type) language model into limited compute.☆1,355Updated last year
- maximal update parametrization (µP)☆1,640Updated last year
- Fast & Simple repository for pre-training and fine-tuning T5-style models☆1,017Updated last year
- [NeurIPS 2023] MeZO: Fine-Tuning Language Models with Just Forward Passes. https://arxiv.org/abs/2305.17333☆1,136Updated last year
- Repo for "Monarch Mixer: A Simple Sub-Quadratic GEMM-Based Architecture"☆560Updated 11 months ago
- Implementation of Recurrent Memory Transformer, Neurips 2022 paper, in Pytorch☆422Updated 11 months ago
- Language Modeling with the H3 State Space Model☆521Updated 2 years ago
- A repository for research on medium sized language models.☆524Updated 6 months ago
- Annotated version of the Mamba paper☆492Updated last year
- minLoRA: a minimal PyTorch library that allows you to apply LoRA to any PyTorch model.☆489Updated 2 years ago
- Implementation of 💍 Ring Attention, from Liu et al. at Berkeley AI, in Pytorch☆549Updated 7 months ago
- For optimization algorithm research and development.☆553Updated last week
- LOMO: LOw-Memory Optimization☆991Updated last year
- Implementation of the specific Transformer architecture from PaLM - Scaling Language Modeling with Pathways☆827Updated 3 years ago
- ☆551Updated last year
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorch☆374Updated last year
- Official code for ReLoRA from the paper Stack More Layers Differently: High-Rank Training Through Low-Rank Updates☆469Updated last year
- 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 …☆637Updated 2 years ago
- ☆790Updated last month
- Huggingface compatible implementation of RetNet (Retentive Networks, https://arxiv.org/pdf/2307.08621.pdf) including parallel, recurrent,…☆227Updated last year
- Implementation of plug in and play Attention from "LongNet: Scaling Transformers to 1,000,000,000 Tokens"☆716Updated last year
- The repository for the code of the UltraFastBERT paper☆520Updated last year
- 🦁 Lion, new optimizer discovered by Google Brain using genetic algorithms that is purportedly better than Adam(w), in Pytorch☆2,178Updated last year
- Implementation of RETRO, Deepmind's Retrieval based Attention net, in Pytorch☆874Updated 2 years ago
- Code for Adam-mini: Use Fewer Learning Rates To Gain More https://arxiv.org/abs/2406.16793☆445Updated 7 months ago
- Finetuning Large Language Models on One Consumer GPU in 2 Bits☆733Updated last year