# Episode 1 · All a language model does is pick the next tile

Source: https://learn.agentware.studio/ai-gacha/en/ep/ep01
Other languages: [中文](https://learn.agentware.studio/ai-gacha/zh/ep/ep01.md) · [日本語](https://learn.agentware.studio/ai-gacha/ja/ep/ep01.md)

[Graduating from AI Gacha](https://learn.agentware.studio/ai-gacha/en/) · Season 1 · How it works

## What this episode covers

- An AI writes by chaining tiles: it looks at every tile on the desk and works out odds for the next one.
- It draws by those odds, so even the top tile can lose. That is why the same question asked three times gets three answers.
- Low temperature leans toward the top tile; high temperature lets long shots win more often.
- For titles and copy, spin a few times and pick. Numbers, dates and conclusions need checking against the original.

## This episode's game: You Are the Model

How it plays: Branching story + spinner

First play the model: pick tiles one by one to finish a sentence. Then turn the temperature knob and spin the wheel to fill three orders.

## Glossary

- **Large language model (LLM)** (大模型（大语言模型） / 大規模言語モデル): A program that predicts the next tile from the text so far, one tile at a time. It is what powers chat AI.
- **Token (tile)** (Token（字牌） / トークン（札）): The smallest unit the model reads and writes. It can be a whole word, part of a word, or a punctuation mark.
- **Temperature** (温度 / 温度（temperature）): A dial for how random the pick is. Low picks the likeliest tile; high lets rarer tiles through.
- **Parameters** (参数 / パラメータ): The huge set of numbers tuned during training and fixed when you use the model.

Video coming soon

- Previous episode: [Episode 0 · Trailer: Same AI, different results](https://learn.agentware.studio/ai-gacha/en/ep/ep00)
- Next episode: [Episode 2 · How many r's in "strawberry"?](https://learn.agentware.studio/ai-gacha/en/ep/ep02)
