Liuhong99 / SophiaLinks
The official implementation of “Sophia: A Scalable Stochastic Second-order Optimizer for Language Model Pre-training”
☆980Updated 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☆910Updated last year
- Fast & Simple repository for pre-training and fine-tuning T5-style models☆1,019Updated last year
- Implementation of MEGABYTE, Predicting Million-byte Sequences with Multiscale Transformers, in Pytorch☆654Updated last year
- Cramming the training of a (BERT-type) language model into limited compute.☆1,361Updated last year
- maximal update parametrization (µP)☆1,657Updated last year
- Repo for "Monarch Mixer: A Simple Sub-Quadratic GEMM-Based Architecture"☆562Updated last year
- Implementation of Recurrent Memory Transformer, Neurips 2022 paper, in Pytorch☆421Updated last year
- [NeurIPS 2023] MeZO: Fine-Tuning Language Models with Just Forward Passes. https://arxiv.org/abs/2305.17333☆1,138Updated 2 years ago
- minLoRA: a minimal PyTorch library that allows you to apply LoRA to any PyTorch model.☆492Updated 2 years ago
- Language Modeling with the H3 State Space Model☆521Updated 2 years ago
- Annotated version of the Mamba paper☆494Updated last year
- Implementation of 💍 Ring Attention, from Liu et al. at Berkeley AI, in Pytorch☆549Updated 8 months ago
- A repository for research on medium sized language models.☆526Updated 7 months ago
- Code for the ALiBi method for transformer language models (ICLR 2022)☆546Updated 2 years ago
- Implementation of Memorizing Transformers (ICLR 2022), attention net augmented with indexing and retrieval of memories using approximate …☆638Updated 2 years ago
- Implementation of RETRO, Deepmind's Retrieval based Attention net, in Pytorch☆876Updated 2 years ago
- Implementation of the specific Transformer architecture from PaLM - Scaling Language Modeling with Pathways☆828Updated 3 years ago
- Large Context Attention☆762Updated 3 months ago
- Implementation of plug in and play Attention from "LongNet: Scaling Transformers to 1,000,000,000 Tokens"☆715Updated 2 years ago
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorch☆375Updated last year
- 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
- Foundation Architecture for (M)LLMs☆3,131Updated last year
- Official code for ReLoRA from the paper Stack More Layers Differently: High-Rank Training Through Low-Rank Updates☆473Updated last year
- LOMO: LOw-Memory Optimization☆988Updated last year
- Ungreedy subword tokenizer and vocabulary trainer for Python, Go & Javascript☆612Updated last year
- Finetuning Large Language Models on One Consumer GPU in 2 Bits☆734Updated last year
- ☆792Updated last week
- 🦁 Lion, new optimizer discovered by Google Brain using genetic algorithms that is purportedly better than Adam(w), in Pytorch☆2,182Updated last year
- Everything you want to know about Google Cloud TPU☆555Updated last year