AI and machine learning

Generative AI and LLM Foundations

Understand what a language model does when it answers, why it can be wrong, and how to call, run and test one yourself.

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 takes about 16.5 hours, with written notes, a practice task per module, a practical project and a final assessment of 15 questions (pass mark 60%). Learning costs nothing and needs only a free account. The optional EDWartens Certificate of Completion, verifiable by code, is a one-off US$23.99 for you; it is not a vendor credential. Updated 1 November 2026.

  • Free
  • Beginner
  • 16.5 hours
  • Self-paced
  • Certificate optional
  • Lab practice in your browser

No card, no trial. The course is free for good. Certificate US$23.99, optional.

Who it is for
Engineers, developers and students applying AI to real work
Jobs
Roles that use this skill: AI engineer, machine learning engineer, data analyst and automation developer. No course guarantees a job.
Tools
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.
Updated
Generative AI and LLM Foundations course cover
Generative AI and LLM Foundations course cover

After this course you can

By the end you will be able to:

  • Explain tokens, context windows 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 OpenRouter and run open models with Ollama
  • Evaluate an assistant with a proper test set

Who it is for, and what you need first

Who it is for

Engineers, developers and students applying AI to real work.

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.

What you need

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.. What to download, and how.

How this course works

  1. Watch the lessons

    Short video lessons, one module at a time, at your own pace.

  2. Read the notes

    Open the Reading tab for the written notes and diagrams of the module.

  3. Practise in the 3D labOptional

    Try the module in the free 3D lab, in your browser.

  4. Check yourself

    Answer the questions to see what stuck before you move on.

  5. Final assessment

    Pass the final once you have been through the modules.

  6. Certificate, if you want oneOptional

    Optional, with a page anyone can use to verify it.

What you learn

13 modules in order, at your own pace. 16.5 hours of video lessons, with written notes and a practice task in each module.

  1. 1What generative AI is, and what it is not22m
  2. 2How an LLM works: tokens in, probabilities out14m
  3. 3How the models are built: Karpathy's introduction, with lab practice: 1h 0m
  4. 4Choosing a model: hosted, local, open and free33m
  5. 5Using it responsibly in a plant, with lab practice: 28m
  6. 6Prompting fundamentals, with lab practice: 41m
  7. 7Calling a model from Python, with lab practice: 29m
  8. 8Running a model on your own machine with Ollama32m
Show the other 5 modules
  1. 9Embeddings, vector search and the idea of RAG, with lab practice: 46m
  2. 10Function calling, agents and the application lifecycle, with lab practice: 43m
  3. 11Prompting, RAG or fine-tuning; images and low-code1h 0m
  4. 12The datasheet assistant, tested3h 19m
  5. 13Final assessment

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.

Show what to download (3 tools)

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.

Practise in the 3D lab

Practise what you learn about language models: write a prompt that returns exact JSON, make an assistant cite its sources or refuse, and keep an agent safe.

Train and testWatch

Optional. Skip it whenever you like: it never blocks your progress or your certificate.

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 and fifteen test questions with answers you have checked yourself. The deliverable is not the chatbot. It is the evaluation table that says how accurate the assistant is and how often it invents an answer.

This project at a glance
  1. 7documents in the pack
  2. 6steps to follow
  3. Laboptional: in the 3D lab
  4. 6things to hand in
  5. 5 hof work, at your pace
  • PlanEvaluation Plan: Datasheet Assistant Pilot
  • RegisterSource Document Register
  • RegisterTest Set: Fifteen Questions with Verified Answers
  • SDSAssistant Design: Prompt, Model and Call
  • Test reportEvaluation Results: Run 1 and Run 2
  • Risk registerRisk Register: Datasheet Assistant on the Intranet

Do it in the lab: 4 steps.

The project is optional practice. The certificate needs only the modules and the final assessment.

After the course, your next step

Show what you can do, then keep going in the same field.

Sample EDWartens Certificate of Completion for Generative AI and LLM Foundations

Sample. The issued certificate carries your name, your final score, a certificate ID and a QR code that opens its verification page.

Optional

A certificate you can verify

Finish the modules and pass the final assessment (15 questions, pass mark 60%) and you can add a certificate with a public verification page. One-off, US$23.99 for you. It is not a vendor credential.

Want a free certificate? Do the matching Free internship: 4 weeks, nothing to buy, with a free certificate of completion.

Hands typing on a laptop at a wooden desk with a notebook, glasses and coffee.
Free · 4 weeks · free certificate

Generative AI and Prompt Engineering

Eight short weeks of how language models work, prompting that gets better answers, and the risks to manage: notes, diagrams, a few videos and worked exercises. Finish weeks 1 to 4 and the final, then claim a free Internship Completion Certificate with your real dates and study hours, and a QR code anyone can scan to verify it. Training, not employment.

See the internship

Part of a learning path

Courses in a planned order, so each one builds on the last.

Roles that use this skill

  • AI engineer
  • Machine learning engineer
  • Data analyst
  • Automation developer

These are the kinds of roles where the skill is used. We make no promise of a job or an interview.

Plain notes

  • Free: the whole course, the notes, the practice tasks, the final assessment and support from practising engineers.
  • Paid, and optional: the course certificate, and the Engineer-verified internship (the Free internship costs nothing).
  • No job promise: the course teaches a skill. It does not place you in a job.
  • Lessons by: Microsoft Developer, 3Blue1Brown, Andrej Karpathy, IBM Technology, codebasics, Tech With Tim, Amit Thinks, KodeKloud, edureka!. Independent creators; the lessons stream from their own channels. EDWartens wrote the study plan, notes, practice tasks and assessments.

Microsoft Developer · 3Blue1Brown · Andrej Karpathy · IBM Technology · codebasics · Tech With Tim · Amit Thinks · KodeKloud · edureka!. If you are one of these creators and want a lesson removed or credited differently, write to info@edwartens.com.

Practise what you learn in the free 3D lab

Technical work is judged on what you can do: wiring, commissioning, finding a fault. Doing a task yourself teaches more than watching it a second time, and a lab lets you try it safely before you meet real equipment. It does not replace working on real hardware.

  • Practise safely, so a mistake costs nothing.
  • The lab checks your work like a site test, so you know when it is right.
  • Free, in your browser, with nothing to install.

Why learn with EDWartens

What you get with this course, and what comes after it.

  • Free from the first lesson to the final assessment.
  • Practice in a free 3D lab in your browser, with nothing to install.
  • Video lessons with written notes and a project.
  • An optional certificate that anyone can verify online.
  • Free internships to keep practising afterwards.

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. It uses 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 you test it with fifteen questions you have verified yourself, including five it cannot know. You 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.

Do I have to use the lab?

No. The lab is optional practice. You can skip it whenever you like, and it never blocks your progress, the final assessment or your certificate.

Is the lab free?

Yes. Every lab level for this course opens in your browser, free, with nothing to install.

What topics does the Generative AI and LLM Foundations course cover, module by module?

The Generative AI and LLM Foundations course has 13 modules. It opens with "What generative AI is, and what it is not", goes through "How an LLM works: tokens in, probabilities out", "Using it responsibly in a plant", "Embeddings, vector search and the idea of RAG" and "The datasheet assistant, tested" and ends with "Final assessment". The full list with minutes is under "What you learn" on this page.

What can I do after the Generative AI and LLM Foundations course?

After the Generative AI and LLM Foundations course: 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. These are the practical outcomes the course is written around, and the final assessment of 15 questions checks them.

What software and hardware do I need for the Generative AI and LLM Foundations course, and does it cost anything?

For the Generative AI and LLM Foundations course, 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. The course itself is free.

Is the Generative AI and LLM Foundations course suitable for me, and what level is it?

Generative AI and LLM Foundations is rated 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. It is written for engineers, developers and students applying AI to real work, and takes about 16.5 hours at your own pace.

Which jobs use the skills from the Generative AI and LLM Foundations course?

Skills from the Generative AI and LLM Foundations course (for example: explain in plain words what an LLM does when it answers, and why it hallucinates) are used in roles such as AI engineer, machine learning engineer, data analyst and automation developer, and in machine learning engineer work. The course gives you practical evidence of the skill; it does not promise a job, and employers decide on experience and interview.

Start free today

Generative AI and LLM Foundations, at your own pace. Add the certificate only if you want one.