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.
Inside the course



From the lessons

What generative AI is, and what it is not
Simplilearn
![[1hr Talk] Intro to Large Language Models](https://i.ytimg.com/vi/zjkBMFhNj_g/mqdefault.jpg)
How the models are built: Karpathy's introduction
Andrej Karpathy
![Using Generative AI Responsibly [Pt 3] | Generative AI for Beginners](https://i.ytimg.com/vi/YOp-e1GjZdA/mqdefault.jpg)
Using it responsibly in a plant
Microsoft Developer
![Building Text Generation Applications [Pt 6] | Generative AI for Beginners](https://i.ytimg.com/vi/0Y5Luf5sRQA/mqdefault.jpg)
Calling a model from Python
Microsoft Developer

Embeddings, vector search and the idea of RAG
IBM Technology
![Fine-Tuning LLMs [Pt 18] | Generative AI for Beginners](https://i.ytimg.com/vi/6UAwhL9Q-TQ/mqdefault.jpg)
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
- Free in the United States, as everywhere, and self-paced: lessons, notes and the final assessment are open at any hour, so your time zone and shift pattern do not matter.
- The optional certificate for learners in the United States is a one-off US$23.99. What you get for it
- Plants across the Americas most often run Allen-Bradley, Siemens and Inductive Automation; each has its own free course to take next.
- See automation and engineering jobs in the United States, and what the industry looks like in Houston, Detroit and Chicago.
- EDWartens also has a regional site for the United States, for classroom training and local support: edwartens.com/us.
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.
- 01What generative AI is, and what it is not3 lessons27m
- 02How an LLM works: tokens in, probabilities out4 lessons24m
- 03How the models are built: Karpathy's introduction1 lesson60m
- 04Choosing a model: hosted, local, open and free2 lessons33m
- 05Using it responsibly in a plant3 lessons28m
- 06Prompting fundamentals2 lessons41m
- 07Calling a model from Python2 lessons29m
- 08Running a model on your own machine with Ollama5 lessons42m
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
- 01Free, GPU time not guaranteed
Google Colab
Google, in the browser
- 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.
Steps
- 1.Open colab.research.google.com and sign in with your Google account.
- 2.Click New notebook (or open the notebook your course links to).
- 3.For a GPU, choose Runtime, then Change runtime type, then pick a GPU if one is offered.
- 4.Type code in a cell and press Shift and Enter to run it.
- Save a copy to your Google Drive so your changes are kept.
- Files on the runtime are deleted when the session ends. Save outputs to Drive.
Open Google Colabcolab.research.google.com - 02Free models with rate limits
OpenRouter
OpenRouter, Inc., in the browser
- 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.
Steps
- 1.Open openrouter.ai and sign up.
- 2.Go to Keys in your account settings and create an API key. Copy it somewhere safe.
- 3.Pick a model whose ID ends in :free.
- 4.Call it with any OpenAI-compatible client using the base URL https://openrouter.ai/api/v1 and your key.
- Never paste your API key into shared code or public repositories.
- The list of free models changes over time. Check the model page before a class.
Open OpenRouteropenrouter.ai
Optional
Useful, not needed to finish the course.
- 03Free
Ollama
Ollama Inc.
- 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.
Steps
- 1.Open ollama.com/download and pick your system.
- 2.On Windows run OllamaSetup.exe; on macOS open the DMG; on Linux run: curl -fsSL https://ollama.com/install.sh | sh
- 3.Open a terminal and run a small model, for example: ollama run <model name> (browse names on ollama.com).
- 4.Type a question at the prompt. Type /bye to exit.
- Models are several GB each. Check your free disk space first.
- More RAM, or a supported GPU, lets you run larger models faster.
- On Windows you can also install from PowerShell: irm https://ollama.com/install.ps1 | iex
Official download pageollama.com
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 factsHide 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
PLC programming · FreeSiemens TIA PortalFrom zero electrical knowledge to a working, simulated S7-1200 program, for nothing.
PLC programming · FreeSiemens TIA Portal in Three HoursThe first three hours of the Siemens TIA Portal course, cut to end on a win: what a PLC is, how it is wired, a project configured in TIA Portal, and your first ladder program running in simulation. Finish it in an evening or two, earn a certificate, and carry straight on into the full course.
PLC programming · FreeTIA Portal: Build a MachineOne machine, start to finish. Take a bottle filling line from a written specification and an I/O list to a structured S7-1200 program with a fill station, a capper, a reject sorter and an operator screen with alarms, then test it against a written record and archive it for hand-over. The lessons are the reference; the machine is yours, and it is what you submit.
Instrumentation · FreeInstrumentation for PLC EngineersThe half of the loop that is not code. Follow one measurement from the transmitter in the field, down the 4-20 mA loop, into the analog card, through NORM_X and SCALE_X into engineering units, out again to a valve, and back to the control room when the reading is wrong.More free courses: Free AI courses for engineers · Free generative AI and ChatGPT courses
Learning paths with this course
- AI foundations for engineers · 4 coursesFrom zero code to a working AI assistant: Python on engineering data, how large language models actually work, prompting for engineering documents, and AI agents and workflow automation with n8n.
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.

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.
- Microsoft Developerthe Generative AI for Beginners series
- 3Blue1BrownLarge Language Models explained briefly
- Andrej Karpathythe one-hour introduction to large language models
- IBM Technologythe LLM and RAG explainers
- codebasicsthe Gen AI course and the LLM explainer
- Tech With TimLearn Ollama in 15 minutes
- Amit Thinksthe Ollama installation and custom-model tutorials
- KodeKloudRAG explained for beginners
- SimplilearnGenerative AI explained in 5 minutes
- edureka!the generative AI, LLM and AI ethics explainers
If you are one of these creators and would like a lesson removed or credited differently, write to info@wartens.com.
