
Sebastian Raschka's step-by-step code for building, pretraining and fine-tuning a GPT-style model.
ResourceHive lists 8 hand-reviewed LLM fine-tuning resources as of 3 Dec 2026, 6 of them free. The top pick is LLMs from Scratch (code) (Hive score 9.1/10).

Sebastian Raschka's step-by-step code for building, pretraining and fine-tuning a GPT-style model.

Andrej Karpathy's small, readable repo for training and fine-tuning GPT models from scratch.

Docs for TRL, Hugging Face's library for fine-tuning and aligning language models (SFT, DPO, GRPO and more).

Andrej Karpathy's minimal, full-stack ChatGPT clone: train, fine-tune and chat with your own model.

The book on building applications with foundation models: evals, RAG, agents, fine-tuning and serving.

Andrew Ng's library of short, hands-on courses on building with LLMs, often made with the tool makers.

A huge free roadmap for LLMs: fundamentals, building apps, fine-tuning and deployment, with notebooks.

Open-source fine-tuning that runs faster with less memory, with free notebooks you can run right away.