Free course · AI and machine learning
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.
Free to learn. Verifiable certificate £19 when you pass the final exam (optional, VAT included).

Sample certificate. Optional, issued when you pass the final exam.
- Level
- Beginner
- Modules
- 13
- Video
- 17 hours
- Price
- Free
Outcome
What you will be able to do
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
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.
Syllabus
13 modules
Each module has video lessons, notes and a short quiz. The final exam closes the course.
- What generative AI is, and what it is not3 lessons
- How an LLM works: tokens in, probabilities out4 lessons
- How the models are built: Karpathy's introduction1 lessonLab
- Choosing a model: hosted, local, open and free2 lessons
- Using it responsibly in a plant3 lessonsLab
- Prompting fundamentals2 lessonsLab
- Calling a model from Python2 lessonsLab
- Running a model on your own machine with Ollama5 lessons
- Embeddings, vector search and the idea of RAG4 lessonsLab
- Function calling, agents and the application lifecycle4 lessonsLab
- Prompting, RAG or fine-tuning; images and low-code3 lessons
- The datasheet assistant, tested1 lesson
- Final assessment0 lessons
How it works
How this course works
- Watch the video lessonsOne module at a time, at your own pace.
- Take the module quizA short quiz at the end of each module shows what stuck.
- Keep your notesWrite in My notes beside each module and ask the trainer if you are stuck.
- Practise in the labOptionalTry a task from the module in the EDWartens Lab, in your browser.
- Sit the final examPass it once you have been through the modules.
- Certificate, if you want oneOptionalPaid, and only after you pass. Anyone can check it online.
EDWartens Lab
Practise this in the EDWartens 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.
Works alongside Generative AI and LLM Foundations. The Lab is ai for industry practice in your browser: no install, no hardware, free to use. Sign in as a learner and it opens with your account.
Levels to try with this course
AIW-06 · AI Workbench
Prompt to spec
Open in the lab (opens in a new tab)AIW-07 · AI Workbench
Answers with sources
Open in the lab (opens in a new tab)AIW-08 · AI Workbench
A safe agent
Open in the lab (opens in a new tab)AIW-10 · AI Workbench
Privacy first
Open in the lab (opens in a new tab)
Optional. Skip it whenever you like: it never blocks your progress or your certificate.
Why practise in a 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.
Certificate
An optional certificate when you pass
Learning is free. Pass the final exam and you can have a certificate for £19, including VAT, with a number employers can check online. It records that you completed a free online course; it is not a regulated qualification or a CPD certificate.
- Your name, the course, its study time and your final exam score
- A unique certificate number and a QR code to its verification page
- Issued by Wartens Ltd; add it to your LinkedIn profile in one click
- Pay now or after you pass: it is issued the moment you pass the final

Credits
Who made the lessons
The video lessons belong to their creators. EDWartens wrote the study plan, notes, quizzes and the final exam.
- Microsoft Developer
the Generative AI for Beginners series
- 3Blue1Brown
Large Language Models explained briefly
- Andrej Karpathy
the one-hour introduction to large language models
- IBM Technology
the LLM and RAG explainers
- codebasics
the Gen AI course and the LLM explainer
- Tech With Tim
Learn Ollama in 15 minutes
- Amit Thinks
the Ollama installation and custom-model tutorials
- KodeKloud
RAG explained for beginners
- Simplilearn
Generative AI explained in 5 minutes
- edureka!
the generative AI, LLM and AI ethics explainers
Questions
About this course
Do I need to code?
Do I need a paid ChatGPT or OpenAI account?
What is the project?
Is the course really free?
What certificate do I get?
Who made the video lessons?
How long does the course take?
Want a live class and career support?
The Professional Module is five live days of Siemens PLC, HMI and SCADA with an instructor, then a resume session and a CPD certificate.
