PAR-AIPotential And Risks of AI
← All lessons

Advanced · Lesson 6 of 10 · 6 min

How AI works under the hood

Training, tokens, models and why AI has limits built in.

Training

A model is trained by showing it billions of examples and slowly adjusting millions of internal numbers until its guesses get better. After training, those numbers are frozen — that's 'the model'.

Tokens

AI reads text in small chunks called tokens (roughly ¾ of a word). There's a limit to how many tokens it can look at at once, called the 'context window'. Very long chats can make it forget the beginning.

Knowledge cut-off

A model only knows what was in its training data, up to a certain date. Some tools can search the web to fill the gap — check whether yours does.

Bias comes from data

If the training text contains unfair stereotypes, the AI can repeat them. It's not 'neutral' just because it's a machine.

Quick check

Why might an AI repeat a stereotype?

Next: Advanced prompting techniques →