Academy / AI Foundations

Path 1 · Course 2 · For everyone

How AI and Large Language Models Work

A clear, non-mathematical tour of machine learning, neural networks, transformers, training data and tokens — and why large language models sometimes get things confidently wrong.

By · Last updated

6 modulesAbout 3 hoursKnowledge check per moduleFinal assessment & certificateNo prerequisites

0 of 6 modules complete

Modules

  1. 1

    From rules to learning

    Traditional programming vs machine learning; data, features, models, training and inference; why AI took off.

    20 min
  2. 2

    Types of machine learning

    Supervised, unsupervised, reinforcement and self-supervised learning; testing, overfitting and measuring performance.

    25 min
  3. 3

    Neural networks and deep learning

    Artificial neurons, layers, learned features, parameters and scale, interpretability, and common architectures.

    25 min
  4. 4

    Language as numbers

    Tokens, embeddings, next-token prediction, temperature and context windows — with an optional tiny Python example.

    25 min
  5. 5

    Transformers and how LLMs are trained

    Attention, pre-training, instruction tuning, RLHF and Constitutional AI, reasoning models, multimodality, tools and agents.

    30 min
  6. 6

    Why LLMs get things wrong

    Hallucination, knowledge cut-offs, sycophancy, reasoning slips and bias — and how RAG, tools and review help.

    25 min

Frequently asked questions

How do large language models work, in simple terms?

A large language model is trained on huge amounts of text to predict the next token (a word or part of a word). Its transformer architecture uses attention to weigh the context, and further training such as instruction tuning and human feedback makes it helpful. Module 5: Transformers and how LLMs are trained →

What is the difference between AI, machine learning and deep learning?

AI is the broad goal of machines doing tasks that need intelligence. Machine learning is the approach of learning patterns from data instead of following hand-written rules, and deep learning is machine learning with many-layered neural networks. Module 1: From rules to learning →

Why do LLMs make things up?

LLMs generate the most plausible-sounding text, not verified facts, so they can produce confident errors called hallucinations. Knowledge cut-offs, sycophancy and reasoning slips add to this; retrieval (RAG), tools and human review reduce it. Module 6: Why LLMs get things wrong →

What are tokens and context windows?

Tokens are the chunks of text a model reads and writes — often parts of words. The context window is the maximum number of tokens the model can take into account at once. Module 4: Language as numbers →

Do I need maths or coding to understand how AI works?

No. The course explains machine learning, neural networks and transformers without maths; there is one optional code example.