PES
EN English 한국어 日本語 中文 हिन्दी বাংলা اردو Español Português Français Deutsch Русский العربية Bahasa Indonesia Tiếng Việt ไทย Türkçe

How to enable notifications

Notifications are unavailable in this browser or on this address. Try a supported browser on the secure PES site.

If notifications are blocked, allow them in your browser settings.

  1. Open the site controls beside the address bar, or your browser’s site settings. Set Notifications for this site to Allow.
  2. In your device settings, allow notifications for your browser and check Do Not Disturb or Focus.
  3. Return to PES, reload the page, and use the bell to enable notifications.

On iPhone or iPad, add PES to your Home Screen, open it there, then allow notifications.

My learning progress
  1. How to use AI
  2. Terminal commands
  3. Advanced AI
  4. Vibe coding
  5. AI certification Getting ready
  6. Keyboard
See details
Second Challenge

Now, let's build your very own AI.

A toy word-bigram : it looks only at the previous word. It does not learn embeddings, attention, or facts. The word splitter is a teaching example, not an tokenizer.

A Plan That Leads to Real Development

Start small like a toy, understand the principles, then grow it bigger over time.

1

Gather words

Collect sentences about the topic you want to learn. Just 10 sentences is enough to start.

A Tiny Probability Calculator

The table shows observed frequencies at temperature 1. Temperature changes sampling probabilities, not the learned counts or factual accuracy.

Generated sentence Choose a mode and press Generate again.
How the probability is calculated
Previous word Next word Times it followed All that followed Probability

There are no candidates yet following the last word of the starting sentence.

Next-word candidates

Percentages are rounded; their displayed total may differ slightly from 100%.

Which word came after which, and how often?
Previous wordNext word

Many words — showing only the first 8

Key Concept

Count each transition, including sentence endings. A candidate's probability is its count divided by the total count after the selected word. Neural language models learn instead of just storing this small table.

A neural language learns numerical from examples. At generation time, those weights and the available context determine scores for candidate tokens. The model does not simply look up a stored internet sentence or count only the word immediately before it.

This lab vs a real language model

This lab vs a real language model
This lab (bigram) Neural language model
What it looks at Only the previous word The long context it is given
What it learns A table of counts Numeric weights
Embeddings and attention No Yes
Checks facts by itself No No

Guidelines

AI

AI Certification

Study

Vibe Coding

Game

Practice

Tutors

Chat

Forum

Create

Community

More

Glossary

Pick a word you don't know. You'll see a simple explanation and related terms.

No matching term yet.

Pick a term to see its explanation.