Generative AI · Beginner level

Beginner level · Module 3 of 8 · 6 guided hours

Introduction to Large Language Models

How LLMs generate text one token at a time, what context windows and temperature are, why they are inconsistent, and how chat assistants are built on them.

Learning objectives

  • Explain next-token generation
  • Explain tokens, context windows and temperature
  • Explain why LLM outputs vary and can be wrong

Topics

  • next-token prediction
  • tokens
  • context window
  • temperature and randomness
  • chat assistants and instructions
  • why outputs vary

Lessons

  1. Lesson 1 How LLMs Write Text

    A plain-language walk-through of next-token prediction and why it produces fluent but not always correct text.

    tokennext-token predictionprobabilityfluencyaccuracy

  2. Lesson 2 Context Windows and Temperature

    Learners see how much text a model can consider at once, what happens when it is exceeded, and how temperature changes creativity and consistency.

    context windowtruncationtemperaturecreativity vs consistencyrepeatability

  3. Lesson 3 From LLM to Chat Assistant

    Learners see how chat assistants combine an LLM with instructions, conversation memory, safety rules and sometimes tools such as search, and why behaviour differs between tools.

    system instructionsconversation historysafety filterstools (search, files)product differences

Practical activity

Produce a one-page 'How LLMs work' guide for office staff, with a token comparison, temperature guidance and safe upload rules.

Expected outcomes

  • Working understanding of LLM behaviour
  • Practical guidance for staff

Assessment

Quiz on LLM concepts (40%) and the staff guide (60%).

Free taster lesson How Large Language Models Write Read a free self-study lesson on this topic in the Free Course Library.

Taught live by an instructor — online or in person. Free course lessons are for self-study and do not lead to a certificate — see registration options.