HowToUseAi.com.auAI Made Simple - a beginner-friendly course for ChatGPT and Gemini

How LLMs work (a deeper explanation, still in plain English)

If you enjoyed Module 1 and want a little more detail, this page is for you. You will learn what 'training' means, why AI can sound confident, and what words like 'tokens' and 'context window' actually mean.

No maths. No coding. Just useful understanding.

You can skip this page
You can use AI perfectly well without knowing this. But some people feel calmer once the mystery is gone.

Training: how the model learns patterns in language

An LLM is trained on a very large collection of text. During training, it learns patterns: which words often follow other words, how sentences are structured, and how information is typically expressed.

A simple way to imagine it is: the model practises guessing the next piece of text, over and over, millions (or billions) of times. Over time, it becomes very good at producing language that looks like human writing.

Prediction, not 'knowing'

When you ask a question, the model does not 'open a book' in the human sense. It generates an answer by predicting what text would be most appropriate given the conversation.

A small joke
It is like a very confident friend who has read a million books and now talks in full paragraphs. Sometimes the confidence arrives before the accuracy.

Why AI can be wrong (even when it sounds certain)

AI can be wrong for several reasons:

That is why good prompts and verification habits matter. The AI is not offended by follow-up questions - it expects them.

Instruction-following and 'helpfulness'

Modern chat-style AI models are designed to follow instructions. That is why the prompt recipe works so well.

In addition to basic training, models are often tuned to be more helpful in conversation. This can include learning to:

Tokens: the AI's way of counting text

AI systems often measure text in tokens. A token is a chunk of text - sometimes a whole word, sometimes part of a word.

You do not need to count tokens manually. The practical takeaway is: more text means more 'budget' used.

Context window: why the AI 'forgets'

The context window is the amount of text the model can consider at once when generating the next reply.

If you exceed it, older parts of the conversation may be dropped or summarised. This can look like the AI 'forgetting'.

Practical workaround
If the conversation is long, paste a short 'Important context' message with the key facts you want it to remember.

Temperature: why the same prompt can give different answers

Some models include randomness in how they generate text. This can help creativity and prevent repetitive answers.

That means: if you ask the exact same question twice, you may get slightly different wording or even different suggestions.

How to use this
If you want variety: ask for '10 ideas' or '3 different versions'. If you want consistency: ask for a strict format and constraints.

Why the AI sometimes refuses

AI tools have safety systems. They may refuse requests that involve harmful instructions, illegal activity, or sensitive personal information.

If it refuses and you think it misunderstood, rephrase your goal in a safe way. Example:

Rephrase prompt (safe)
I am not asking for anything unsafe. I want general, high-level information for educational purposes. Please keep it safe and legal.

The best mental model for beginners

Here is a calm, practical way to think about chat AI:

Mini exercise: 'teach me gently'

Copy this prompt into ChatGPT or Gemini:

Teach-me-gently prompt
Teach me about [TOPIC] in simple terms. Start with a 5-dot-point overview. Then ask me 3 questions to check my understanding. If I get something wrong, correct me kindly.

Screenshots