stas00/ml-engineering

Machine Learning Engineering Open Book

Open original source ↗

From the publisher

README & documentation

Source preview

Read the project’s overview, installation instructions and usage examples. The original README is the source of truth.

This is an open collection of methodologies, tools and step by step instructions to help with successful training and fine-tuning of large language models and multi-modal models and their inference. This is a technical material suitable for LLM/VLM training engineers and operators. That is the content here contains lots of scripts and copy-n-paste commands to enable you to quickly address your needs. This repo is an ongoing brain dump of my experiences training Large Language Models (LLM) (and VLMs); a lot of the know-how I acquired while training the open-source BLOOM-176B model in 2022 and IDEFICS-80B multi-modal model in 2023, and RAG models at Contextual.AI in 2024. I've been compiling this information mostly for myself so that I could quickly find solutions I have already researched in the past and which have worked, but as usual I'm happy to share these notes with the wider ML community. Part 1. Insights…

stas00/ml-engineering on GitHub A short preview, not the full document.

Read the full README ↗ · Preview checked 2026-11-20T12:49:32.061Z

Inside the original README — Document outline
  1. Machine Learning Engineering Open Book
  2. Table of Contents
  3. Updates
  4. Ebook versions of the book
  5. Skills for AI agents
  6. Courses
  7. Lectures/Talks
  8. Discussions
  9. Key comparison tables
  10. Shortcuts
  11. Gratitude
  12. Contributing

Headings are captured from the source. Links open the publisher’s document, not a locally hosted copy.

Links from the README

References supplied by the publisher, not independently verified endorsements. Check the destination before downloading files or entering credentials.

Documentation belongs to its respective authors. Reported project/model license: CC-BY-SA-4.0. A listing is not a grant of reuse or training rights. Confirm the document’s own terms at the source.

What this repository does

Machine Learning Engineering Open Book

Repository facts

Owner
stas00
Primary language
Python
Stars
19,735
Forks
1,305
Open issues + pull requests
0
License
CC-BY-SA-4.0
Archived
No
Default branch
master
Created
2020-09-02T19:23:01.000Z
Last push
2026-11-20T03:54:14.000Z

Topics and intended use

Owner-supplied topics: ai, debugging, gpus, inference, large-language-models, llm, machine-learning, machine-learning-engineering, mlops, network, pytorch, scalability, slurm, storage, training, transformers

Review the README for scope, installation, examples and limitations. We do not run repository code or certify it.

Evaluate before installing

Review licensing and dependencies, inspect recent commits and unresolved issues, and test in an isolated environment before production use. Stars and forks alone cannot answer these questions.

README and project files

Issues and maintenance discussion

Releases and changelog

Source and freshness

Source: GitHub. Metadata observed 2026-11-20T12:31:14.448Z. Daily imports are snapshots, not real-time monitoring.

Popularity and source listings do not establish security, suitability, licensing rights or benchmark performance.

Open original source

Related repositories

public-apis/public-apis

EbookFoundation/free-programming-books

donnemartin/system-design-primer

vinta/awesome-python

practical-tutorials/project-based-learning

NousResearch/hermes-agent