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 10 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”☆956Updated last year
- Implementation of Recurrent Memory Transformer, Neurips 2022 paper, in Pytorch☆407Updated 3 months ago
- Implementation of the conditionally routed attention in the CoLT5 architecture, in Pytorch☆226Updated 7 months ago
- Language Modeling with the H3 State Space Model☆519Updated last year
- Implementation of Block Recurrent Transformer - Pytorch☆218Updated 7 months ago
- For optimization algorithm research and development.☆504Updated this week
- Convolutions for Sequence Modeling☆878Updated 9 months ago
- Repo for "Monarch Mixer: A Simple Sub-Quadratic GEMM-Based Architecture"☆550Updated 3 months ago
- Annotated version of the Mamba paper☆480Updated last year
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorch☆325Updated 9 months ago
- Experiments around a simple idea for inducing multiple hierarchical predictive model within a GPT☆210Updated 7 months ago
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆374Updated last year
- A repository for log-time feedforward networks☆221Updated last year
- ☆302Updated 9 months ago
- Sequence modeling with Mega.☆295Updated 2 years ago
- Legible, Scalable, Reproducible Foundation Models with Named Tensors and Jax☆564Updated this week
- Implementation of MEGABYTE, Predicting Million-byte Sequences with Multiscale Transformers, in Pytorch☆640Updated 3 months ago
- Code release for "Dropout Reduces Underfitting"☆312Updated last year
- A subset of PyTorch's neural network modules, written in Python using OpenAI's Triton.☆528Updated last month
- Implementation of Memorizing Transformers (ICLR 2022), attention net augmented with indexing and retrieval of memories using approximate …☆633Updated last year
- ☆344Updated 11 months ago
- Named tensors with first-class dimensions for PyTorch☆319Updated last year
- NeurIPS Large Language Model Efficiency Challenge: 1 LLM + 1GPU + 1Day☆255Updated last year
- Implementation of Rotary Embeddings, from the Roformer paper, in Pytorch☆661Updated 4 months ago
- Implementation of Flash Attention in Jax☆207Updated last year
- Code for the ALiBi method for transformer language models (ICLR 2022)☆520Updated last year
- Huggingface compatible implementation of RetNet (Retentive Networks, https://arxiv.org/pdf/2307.08621.pdf) including parallel, recurrent,…☆226Updated last year
- The repository for the code of the UltraFastBERT paper☆517Updated last year
- Official code for ReLoRA from the paper Stack More Layers Differently: High-Rank Training Through Low-Rank Updates☆448Updated 11 months ago
- Implementation of 💍 Ring Attention, from Liu et al. at Berkeley AI, in Pytorch☆510Updated 5 months ago