This repository walks through implementing a ChatGPT like language model in PyTorch, step by step.
ML Engineering
This open book collects methods, tools, and instructions for training, fine-tuning, and running machine learning models.

About ML Engineering
ML Engineering is an open book on GitHub by Stas Bekman that collects methods, tools, and step-by-step instructions for training, fine-tuning, and running large language models and multi-modal models. The author describes it as an ongoing collection of notes from training projects including BLOOM-176B, IDEFICS-80B, and RAG models. The material is organized into parts covering insights, hardware, orchestration, training, inference, development, and miscellaneous resources.
The content is technical and includes many scripts and copy-and-paste commands. It is written for LLM and VLM training engineers and operators. Ebook versions in PDF and EPUB are available, but the author rebuilds them only occasionally, so the latest content may appear only in the repository or in build instructions provided by the author.
Key features
- Guides on accelerators, CPUs, memory, storage, and intra- and inter-node networking
- Orchestration guides covering container and resource management and SLURM
- Training and fine-tuning guides for large language and multi-modal models
- Debugging and troubleshooting guides, plus testing tips and tools
- Key comparison tables for accelerator TFLOPS, memory, and network speeds
- Two SKILL.md files for teaching AI agents about ML training and GPU cluster evaluation
- Contains scripts and copy-and-paste commands for common tasks
- Covers hardware, orchestration, training, inference, and debugging in one collection
- Includes a worked example of deciding whether a GPU upgrade is worth its cost, using an H200 to B200 benchmark
- Written as technical material for LLM and VLM training engineers and operators
- Described as an ongoing collection, so content may change over time
- Ebook versions are rebuilt only occasionally and may not match the latest repository content
ML Engineering at a glance
- Category
- Education & Learning › Learn to Code
- Type
- Open-source project
- Pricing
- Not confirmed. Check the site
- Open source
- Not stated
- Language
- English
- Last checked
- Oct 6, 2026 · Online when checked
- Listed
- Oct 5, 2026
ML Engineering alternatives
Tools and sites you could use instead, ranked by how closely they match.
This LLM course combines learning roadmaps with Google Colab notebooks for studying large language models.
Staying visualizes Python, JavaScript, and C/C++ execution step by step, showing variables and changing data structures.
This tutorial walks through training and deploying a machine learning REST API that predicts cryptocurrency prices in ten steps.
Jupyter notebooks implement and derive machine learning algorithms from first principles using NumPy.
A series of Jupyter notebooks teaches machine learning and deep learning in Python with Scikit-Learn, Keras, and TensorFlow.
Popular in Learn to Code
Well-known listings from the same topic.
ML Engineering FAQ
What ebook formats are available?
Where are significant updates announced?
Can readers discuss topics in the repository?
Tell us and an editor will check it.
Claim the listing and suggest updates yourself. An editor checks every claim first.












