Minimalistic, extremely fast, and hackable researcher's toolbench for GPT models in 307 lines of code. Reaches <3.8 validation loss on wikitext-103 on a single A100 in <100 seconds. Scales to larger models with one parameter change (feature currently in alpha).
☆359Jul 29, 2024Updated 2 years ago
Alternatives and similar repositories for hlb-gpt
Users that are interested in hlb-gpt are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Train to 94% on CIFAR-10 in <6.3 seconds on a single A100. Or ~95.79% in ~110 seconds (or less!)☆1,316Dec 18, 2024Updated last year
- Minimal (400 LOC) implementation Maximum (multi-node, FSDP) GPT training☆132Apr 17, 2024Updated 2 years ago
- The simplest, fastest repository for training/finetuning medium-sized GPTs.☆207Jan 19, 2026Updated 10 months ago
- Fast & Simple repository for pre-training and fine-tuning T5-style models☆1,020Aug 21, 2024Updated 2 years ago
- ☆144Mar 31, 2023Updated 3 years ago
- Wordpress hosting with auto-scaling - Free Trial Offer • AdFully Managed hosting for WordPress and WooCommerce businesses that need reliable, auto-scalable performance. Cloudways SafeUpdates now available.
- ☆62Mar 4, 2022Updated 4 years ago
- Entropy Based Sampling and Parallel CoT Decoding☆3,434Nov 13, 2024Updated 2 years ago
- WIP☆97Aug 13, 2024Updated 2 years ago
- Demonstration that finetuning RoPE model on larger sequences than the pre-trained model adapts the model context limit☆62Jun 21, 2023Updated 3 years ago
- Collection of autoregressive model implementation☆85Oct 1, 2026Updated last month
- implementation of https://arxiv.org/pdf/2312.09299☆21Jul 3, 2024Updated 2 years ago
- NanoGPT (124M) in 90 seconds☆6,057Sep 28, 2026Updated last month
- Schedule-Free Optimization in PyTorch☆2,335Jul 28, 2026Updated 3 months ago
- It's a baby compiler. (Lean btw.)☆17May 19, 2025Updated last year
- Managed hosting for WordPress and PHP on Cloudways • AdManaged hosting for WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Deploy in minutes on Cloudways by DigitalOcean.
- Full finetuning of large language models without large memory requirements☆92Sep 22, 2025Updated last year
- an implementation of Self-Extend, to expand the context window via grouped attention☆117Jan 7, 2024Updated 2 years ago
- supporting pytorch FSDP for optimizers☆85Dec 8, 2024Updated last year
- CIFAR-10 speedruns: 94% in 2.6 seconds and 96% in 27 seconds☆396Nov 15, 2025Updated last year
- Low-Rank adapter extraction for fine-tuned transformers models☆181May 2, 2024Updated 2 years ago
- Minimalistic, hackable PyTorch implementation of SimSiam in ~400 lines. Achieves good performance on ImageNet with ResNet50. Features dis…☆23Nov 25, 2024Updated last year
- ☆310Jul 15, 2024Updated 2 years ago
- Cramming the training of a (BERT-type) language model into limited compute.☆1,368Jun 13, 2024Updated 2 years ago
- Official implementation of 'A Large-Scale Exploration of mu-Transfer' (CoRR 2024)☆32Jun 5, 2025Updated last year
- Deploy on Railway without the complexity - Free Credits Offer • AdConnect your repo and Railway handles the rest with instant previews. Quickly provision container image services, databases, and storage volumes.
- The repository for the code of the UltraFastBERT paper☆518Mar 24, 2024Updated 2 years ago
- Code for the paper "Function-Space Learning Rates"☆23Jun 3, 2025Updated last year
- Legible, Scalable, Reproducible Foundation Models with Named Tensors and Jax☆720Jan 26, 2026Updated 9 months ago
- ☆126May 28, 2024Updated 2 years ago
- MiniHF is an inference, human preference data collection, and fine-tuning tool for local language models. It is intended to help the user…☆183Nov 6, 2025Updated last year
- ☆14Oct 31, 2023Updated 3 years ago
- Code for the paper "QMoE: Practical Sub-1-Bit Compression of Trillion-Parameter Models".☆280Nov 3, 2023Updated 3 years ago
- A subset of PyTorch's neural network modules, written in Python using OpenAI's Triton.☆607Updated this week
- ☆15Apr 26, 2025Updated last year
- GPUs on demand by Runpod - Special Offer Available • AdRun AI, ML, and HPC workloads on powerful cloud GPUs—without limits or wasted spend. Deploy GPUs in under a minute and pay by the second.
- Puffing up reinforcement learning☆6,901Oct 14, 2026Updated last month
- PyTorch interface for TrueGrad Optimizers☆43Aug 8, 2023Updated 3 years ago
- Efficient optimizers☆340Sep 9, 2026Updated 2 months ago
- Simple and efficient pytorch-native transformer text generation in <1000 LOC of python.☆6,275Aug 22, 2025Updated last year
- 🚀 Efficiently (pre)training foundation models with native PyTorch features, including FSDP for training and SDPA implementation of Flash…☆289Nov 24, 2025Updated 11 months ago
- A lightweight library for Bayesian analysis of LLM evals (ICML 2025 Spotlight Position Paper)☆25May 28, 2025Updated last year
- A simple, performant, and scalable Jax LLM!☆2,471Updated this week
Are these results useful?