Skip to main content
CookLLM logoCookLLM Docs

LLM Engineering Course

Deeply learn the core technologies and practical applications of large language models

Course Overview

Welcome to CookLLM! This is a systematic course focused on large language model (LLM) technology, taking you from principles to practice so you truly understand LLMs.

Why CookLLM?

For a few years I worked on computer vision. Day to day, that meant handling corner case after corner case and trading accuracy against speed. Once a product matured, a year of work that moved a metric by one point counted as a good result.

When large language models arrived, it was the first time I felt a technology could change many industries at once, and I wanted to understand how it really works. The most direct way was to train a model from scratch myself: data, tokenizer, pre-training and alignment, running every step by hand until the whole pipeline made sense.

Once I started teaching myself, the road turned out to be rough:

  • Little you can trust: many articles and tutorials are mass-produced AI slop that sounds right and falls apart on a closer look.
  • Hard papers: you can follow the math and still not know how to write the code.
  • Scattered material: knowledge is spread across blogs, papers and videos, with no complete path through it.

I kept the pitfalls I hit, the notes I wrote and the code that worked, and slowly built my own learning path. CookLLM is that path, cleaned up and shared with people who want to really understand LLMs.

We are training a model in public

Right now I am training a bilingual (Chinese and English) small language model, BentoLM, from scratch, and the whole process is public: every decision is made after a controlled experiment, and every experiment's question, results and cost are written down. Progress and every experiment's record are on the Build in Public page, and the curves and configs are public on W&B. When training is done, these records become the Hands-on Training chapter.

What You Will Get From This Course

  • More than calling APIs: deeply understand the principles behind each algorithm
  • Runnable code: every concept has accompanying code you can clone and run
  • Structured knowledge: from fundamentals to advanced topics, step by step

Course Structure

Principles

Deeply understand LLM core algorithms: tokenization, Attention, GPU programming, Flash Attention

Hands-on Training

Training in public: a bilingual small model built from scratch, written up as a full chapter when it is done

More course content is cooking... Stay tuned!

Who This Is For

  • Developers transitioning to AI: have programming fundamentals and want to enter the LLM field
  • Algorithm engineers seeking deeper understanding: not satisfied with calling APIs and want to know how things work underneath
  • Learners who want to build models from scratch: want to train a model themselves, not just use others'

Membership Benefits

As a paid member, you will get:

  • Full access to all course chapters
  • Advanced technical deep dives
  • Complete code implementations and project templates, including the training repository cookllm-bento
  • Continuous updates with the latest content

Get Help

Resource Platforms