AI and machine learning · Free

Generative AI and LLM Foundations

What a language model is actually doing when it answers, why it is confidently wrong sometimes, how to call one from Python on a free route, how to run one privately on your own laptop, and how to test one before you trust it with a datasheet. The concept course under the whole AI track.

13 modules 10h 31m of video English · self-paced

Inside the course

Generative AI and LLM Foundations: Syllabus at a glanceGenerative AI and LLM Foundations: What you will be able to doGenerative AI and LLM Foundations: Tools and credits

From the lessons

  • Generative AI Explained In 5 Minutes | What Is GenAI? | Introduction To Generative AI | Simplilearn

    What generative AI is, and what it is not

    Simplilearn

  • [1hr Talk] Intro to Large Language Models

    How the models are built: Karpathy's introduction

    Andrej Karpathy

  • Using Generative AI Responsibly [Pt 3] | Generative AI for Beginners

    Using it responsibly in a plant

    Microsoft Developer

  • Building Text Generation Applications [Pt 6] | Generative AI for Beginners

    Calling a model from Python

    Microsoft Developer

  • What is Retrieval-Augmented Generation (RAG)?

    Embeddings, vector search and the idea of RAG

    IBM Technology

  • Fine-Tuning LLMs [Pt 18] | Generative AI for Beginners

    Prompting, RAG or fine-tuning; images and low-code

    Microsoft Developer

Lesson frames belong to the creators named in the Credits below and are shown from YouTube.

What you will learn

Explain tokens, context windows, training and hallucination in plain words; choose between hosted and local models for a job; write a structured prompt with a NOT FOUND rule; call free models through the OpenRouter API and run open models with Ollama; understand embeddings, RAG, function calling and agents; and evaluate an assistant with a proper test set.

  • Explain in plain words what an LLM does when it answers, and why it hallucinates
  • Choose a model for a job: context length, JSON output, local or hosted, licence
  • Write a prompt with role, task, context, format and a NOT FOUND rule
  • Call a free model from Python through OpenRouter, with retries and JSON output
  • Run an open model privately on your own laptop with Ollama and a Modelfile
  • Build a datasheet assistant and measure its accuracy and refusal rate with a real test set

For you

Taking Generative AI and LLM Foundations from the United States

The course project · about 5 hours

Build a datasheet assistant on a free model, and measure how often it is wrong

Three public datasheets, one free language model, fifteen test questions with answers you have verified yourself. The deliverable is not the chatbot; it is the evaluation table that says how accurate it is and how often it invents an answer.

The course project · about 3 hours

Hosted versus local: the same ten engineering prompts through two models

Run ten realistic engineering prompts through a free hosted model on OpenRouter and a small local model in Ollama (or a second free hosted model if your laptop cannot run Ollama). Score them side by side and decide which jobs belong where.

Course content

13 modules · 34 lessons · 10h 31m

In order, at whatever pace suits you. Each module ends with a practice task that builds on the last.

  1. 01What generative AI is, and what it is not27m
  2. 02How an LLM works: tokens in, probabilities out24m
  3. 03How the models are built: Karpathy's introduction60m
  4. 04Choosing a model: hosted, local, open and free33m
  5. 05Using it responsibly in a plant28m
  6. 06Prompting fundamentals41m
  7. 07Calling a model from Python29m
  8. 08Running a model on your own machine with Ollama42m

Requirements

Who it is for
Beginner. No coding needed for eight of the twelve modules; basic Python (the Python for AI course, or equivalent) for the API and project modules.
Software
Google Colab, a free OpenRouter key, optionally Ollama on your own laptop. No paid account anywhere. What to download, and how
Hardware
None required. A laptop with 8 GB RAM runs the optional local models.

Software you need

What to download, where from, what it costs and how to install it. Every link goes to the maker's own site, never a mirror.

Required

  1. 01

    Google Colab

    Google, in the browser

    Free, GPU time not guaranteed
    Runs on
    Any modern web browser
    Account
    A free Google account

    Colab is free to use. In the free version GPUs and TPUs are heavily restricted and not guaranteed, sessions can run for at most 12 hours, and idle sessions are stopped. Paid plans give more reliable access.

    Open Google Colabcolab.research.google.com
  2. 02

    OpenRouter

    OpenRouter, Inc., in the browser

    Free models with rate limits
    Runs on
    Any modern web browser (API works from any language)
    Account
    A free OpenRouter account

    Models with IDs ending in :free cost nothing but are limited to 20 requests per minute and 50 requests per day. Buying at least 10 credits raises the daily free-model limit to 1,000 requests.

    Open OpenRouteropenrouter.ai

Optional

Useful, not needed to finish the course.

  1. 03

    Ollama

    Ollama Inc.

    Free
    Runs on
    macOS 14 Sonoma or later, Windows 10 or later, Linux
    Account
    None needed

    Ollama is free and open source (MIT licence). Each model you download has its own licence; check it before commercial use.

Checked against each maker's own page on 27 September 2026. Trial lengths and editions change; the maker's page is the final word.

Generative AI and LLM Foundations at a glance

Generative AI and LLM Foundations is a free, self-paced online course from EDWartens for engineers, developers and students applying AI to real work. It has 13 modules and 10h 31m of video lessons by Microsoft Developer, 3Blue1Brown, Andrej Karpathy and others, with written notes and worked problems, a practical project with a document pack and a 15-question final assessment (pass mark 60%). Learning is free with an account; an optional certificate with a public verification code is issued when you pass. Last updated 27 September 2026.

All course facts
Price
Free, for good. No trial, no card. The only paid item is the optional certificate, a small one-off fee.
Who it is for
Engineers, developers and students applying AI to real work
Format
13 self-paced modules, 10h 31m of video, written notes, a practice task per module and one final assessment.
Level
Beginner. Beginner. No coding needed for eight of the twelve modules; basic Python (the Python for AI course, or equivalent) for the API and project modules.
Brand
Vendor-neutral
Software
Google Colab, a free OpenRouter key, optionally Ollama on your own laptop. No paid account anywhere.
Hardware
None required. A laptop with 8 GB RAM runs the optional local models.
Certificate
Optional EDWartens Certificate of Completion, verifiable by code. Not a vendor credential.
Video lessons by
Microsoft Developer, 3Blue1Brown, Andrej Karpathy, IBM Technology, codebasics, Tech With Tim, Amit Thinks, KodeKloud, Simplilearn, edureka! (independent creators, credited below)
Language
English
Last updated
27 September 2026

A shareable EDWartens certificate

Finish every module and pass the final assessment, and the optional EDWartens certificate is yours. It carries a unique verification code on a public page anyone can check, so it stands up when a recruiter looks it up. See it below.

The course itself stays free whether or not you ever buy one.

Stuck? Ask a practising engineer

A free course usually means a comment section and hope. This one does not. Every module has an Ask-your-trainer panel that reaches the same engineers who teach our paid programme: people who commission panels for a living, not moderators.

Pairs well with

More free courses: Free AI courses for engineers · Free generative AI and ChatGPT courses

Learning paths with this course

  • AI foundations for engineers · 4 courses

Learner reviews

No reviews yet

Reviews here are written only by learners who have finished every module of Generative AI and LLM Foundations, and they are published exactly as written. Finish the course and yours will be the first.

Common questions

Do I need to code?

Not for most of it. Eight modules are concepts you can follow with no code at all. The API, Ollama and project modules use short Python snippets that are given to you; if you have never coded, do the Python for AI course alongside.

Do I need a paid ChatGPT or OpenAI account?

No. The course uses OpenRouter's free models, which need only a free key and no card, and Ollama for local models, which is free and runs on your own machine.

What is the project in the Generative AI and LLM Foundations course?

You build the simplest assistant that answers questions from three public datasheets on a free model, then test it with fifteen questions you have verified yourself — including five it cannot know — and report its accuracy and how often it invents an answer. A second, shorter project compares a hosted model with a local one.

Is the Generative AI and LLM Foundations course really free?

Yes. Every module, practice task, project and assessment. You create an account so your progress is saved and the assessments can be marked. The certificate is the only paid item, and only if you want it.

What certificate does the Generative AI and LLM Foundations course give?

An EDWartens Certificate of Completion, issued when you have finished the modules and passed the final assessment (the project is optional practice), with a verification code anyone can check. It is not a vendor credential and is never described as one.

Who made the video lessons in the Generative AI and LLM Foundations course?

The creators named in the Credits block at the foot of this page, on their own YouTube channels. EDWartens did not make the videos and the creators are not affiliated with EDWartens. What EDWartens wrote is the study plan, the notes, the practice tasks, the projects and the assessments.

How long does the Generative AI and LLM Foundations course take?

Plan on about 16 hours in all, including the video lessons, notes and practice tasks. It is self-paced, so you work through the thirteen modules at your own speed.

What you walk away with

Your certificate for Generative AI and LLM Foundations

Finish the course, pass the final, and this is the document with your name on it.

Sample EDWartens Certificate of Completion for Generative AI and LLM Foundations
Sample. The issued certificate carries your name, admission number, a unique certificate number and its own QR code.
  • Verifiable by anyone

  • Adds to LinkedIn in one click

  • QR code on the certificate

  • Names what you can do

  • A permanent link

  • Earned, not attended

Learning is free. The certificate is optional.

Add it now and pay only when you have finished the course, or come back for it later. One-off, US$23.99, with a receipt.

Issued by EDWartens, the training division of Wartens, as a Certificate of Completion for this self-paced course. Sold by Wartens Ltd (England and Wales). It is not a vendor certification, a university award or a CPD-accredited activity, and it does not certify competence on live equipment. Delivered electronically; see the refund policy.

Credits

Who made the video lessons

The video lessons in this course were created by the people below, not by EDWartens. Every lesson streams from its creator's own YouTube channel; EDWartens neither hosts nor sells that footage, and the creators are not affiliated with EDWartens and do not endorse this course. What EDWartens wrote is the study plan, the notes, the practice tasks and the assessments.

If you are one of these creators and would like a lesson removed or credited differently, write to info@wartens.com.