Coders In Hoods
  • Courses
  • Roles
  • Blog
  • Setup

Coders In Hoods AI Academy

Every course is free. Sign in to start, and your progress, quiz scores and bookmarks follow you.

AI Academy

  • Courses
  • Paths
  • Setup guides
  • How we teach

Role roadmaps

  • AI Engineer
  • Forward Deployed Engineer
  • Machine Learning Engineer
  • All roles

Coders In Hoods

  • The agency
  • Coaching for teams
  • Blog
  • LinkedIn
  • X (Twitter)

Contact

codersinhoods@gmail.com

© Coders In Hoods · since 2019

  1. AI Academy
  2. /
  3. Path 1
  4. /
  5. LLMs for Engineers
IntermediateFree coursePath 1 · LLM and Agent Foundations · Part 1 of 3

LLMs for Engineers

How large language models are built, trained and run, so you can reason about their behaviour, cost and failure modes in production.

3 modules · 9 lessons~18 hoursUpdated 2026-10-30Certificate included

See the curriculum
  • Lessons9
  • Quizzes9
  • Sources60
  • Of study~18h

About this course

About this course

A working engineer's model of the LLM: how text becomes tokens and vectors, what attention and the rest of the transformer block compute, how pretraining, fine-tuning and reinforcement learning turn a document predictor into an assistant, and what happens at inference time, from sampling and hallucination to the KV cache, prompt caching and extended thinking. The final module turns that understanding into decisions: when to pay for reasoning, and how to choose and compare models on cost, latency and quality. Each lesson pairs a rigorous explanation with a short video segment, primary sources, a quiz and exercises you do with Claude.

About the running example

The examples follow a fictional property-law (conveyancing) firm in England and Wales, and the capstone extracts data from its title registers (official records of who owns a property). It's a case study, chosen because its documents are long, structured and high-stakes. You don't need a legal background, and the same patterns apply to contracts, insurance claims, invoices, support tickets or patient records. In the lessons, a matter is one client's case and a solicitor is the lawyer who signs work off.

Outcomes

What you'll learn.

  1. 1Trace a prompt through tokenisation, embeddings, attention and the transformer block, and count a model's parameters from its config
  2. 2Explain how pretraining, supervised fine-tuning, RLHF, constitutional training and RL with verifiable rewards each shape model behaviour
  3. 3Predict how sampling settings, grading incentives and missing context lead to hallucinations, and design grounding checks that catch them
  4. 4Compute KV-cache memory and prompt-caching savings, and structure prompts so caches actually hit
  5. 5Decide when extended thinking is worth its cost, and choose between models using your own evals, cost per completed task and latency
Curriculum

3 modules, 9 lessons.

10h 5m of lessons

  1. Module 1 · 3 lessons · 2h 55m

    Inside the transformer

    How text becomes vectors, how attention moves information between positions, and how the rest of the block (MLP, residuals, normalisation, position) turns that into a prediction.

    1
    1. 1Tokens and embeddingsHow raw text is chopped into tokens with byte-pair encoding, and how each token becomes a vector the network can compute with.45 min7-question quiz6 sources
    2. 2Attention, step by stepHow each token gathers information from the others through queries, keys and values, and why the formula looks the way it does.1h7-question quiz6 sources
    3. 3The transformer blockThe parts of the block that are not attention, namely the MLP, residual connections, normalisation and rotary position embeddings, and how they add up to a model whose parameters you can count from its config.1h 10m6-question quiz7 sources
  2. Module 2 · 2 lessons · 2h 25m

    How models are trained

    From next-token prediction on trillions of tokens to an assistant that follows instructions, refuses harm and reasons through verifiable problems.

    2
    1. 4Pretraining and scaling lawsHow one objective, predicting the next token over trillions of tokens of text, produces a base model, and how scaling laws decide model size, data and compute.1h 10m6-question quiz6 sources
    2. 5Post-training an assistantHow supervised fine-tuning, preference learning (RLHF and DPO), constitutional training and reinforcement learning with verifiable rewards turn a base model into an assistant, and the side effects each one leaves behind.1h 15m7-question quiz7 sources
  3. Module 3 · 4 lessons · 4h 45m

    Running models in production

    What happens at inference time and the engineering decisions that follow: sampling and hallucination, context and caching, reasoning budgets, and choosing a model.

    3
    1. 6Sampling and hallucinationHow a model turns logits into text (temperature, top-k, top-p and their limits in today's APIs), and why models state false things fluently, from pretraining statistics to grading incentives, with grounding checks that catch it.1h 10m6-question quiz7 sources
    2. 7Context windows, KV cache and cachingWhat happens to your prompt at inference time, why long context costs memory and money, how the KV cache and prompt caching work, and why a million-token window is not a million tokens of attention.1h 15m6-question quiz7 sources
    3. 8Reasoning models and extended thinkingWhy letting a model generate tokens before it answers makes it smarter, how reinforcement learning taught models to think at length, and how to control, pay for and trust extended thinking in Claude.1h 10m6-question quiz7 sources
    4. 9Choosing and comparing modelsHow to read benchmarks critically, compare models on cost per completed task, latency and data constraints, decide between frontier APIs and open-weight models, and keep the decision current as new models ship.1h 10m6-question quiz7 sources
Capstone

Choose a model for document extraction

Build a small, rigorous evaluation of structured document extraction across models and effort levels, using what you learned about tokens, training, hallucination, caching and reasoning, and write the recommendation memo you would act on.

Open the project brief
Certificate · free

Finish it. Get certified.

Complete every lesson of LLMs for Engineers and you get a certificate with your name on it. Free, like the course.

  • A public page with a certificate ID anyone can check
  • Download it as a PDF
  • Add it to LinkedIn in one click
It also counts towards the LLM and Agent Foundations path certificate, for finishing all 3 courses in Path 1.
Sample
FAQ

LLMs for Engineers, answered.

Is LLMs for Engineers free?

Yes, for everyone: all 9 lessons, 9 quizzes, the capstone brief and the certificate are free, with no card and no trial. The hands-on exercises need the tools listed under Prerequisites.

Do I get a certificate?

Yes. Finish every lesson of LLMs for Engineers and you get a certificate with your name and a certificate ID, on a public page anyone can check. Finishing every course in a learning path earns the path certificate too. You can download each one as a PDF and add it to LinkedIn. They're certificates of completion from the Coders In Hoods AI Academy, not an accredited qualification.

How long does LLMs for Engineers take?

About 18 hours: 3 modules and 9 lessons, at your own pace. Your progress is saved to your account, on every device.

Which roles is it for?

It's on the AI Engineer and Machine Learning Engineer roadmaps: the courses those jobs ask for, in the order to take them.

What do I need before I start?

Comfortable reading Python. Vectors, dot products and matrix multiplication at a first-year level. Optional: what a neural network and gradient descent are.

Role roadmaps

Part of these roadmaps

  • Become an AI Engineer
  • Become a Machine Learning Engineer

Before you start

Prerequisites

  • Comfortable reading Python
  • Vectors, dot products and matrix multiplication at a first-year level
  • Optional: what a neural network and gradient descent are
Path 1

More in LLM and Agent Foundations.

See the whole path
Next in LLM and Agent Foundations · Course 2Agent FoundationsWhat an AI agent really is, how it uses tools and context, and how to make one dependable enough for high-stakes work.
  • IntermediateAI agents · TypeScript

    Building Agents with Claude and eve

    Build real agents on production harnesses: Claude Code, the Claude Agent SDK and Vercel's eve, with skills, subagents and human approval built in.

    6 lessons ~20hFree