Mark this lesson as complete
Finish all lessons and pass the quiz to earn your official course completion certificate.

Tokens, context and why AI forgets things

Video Module 2: How AI Understands Language

Tokens, context and why AI forgets things

AI models forget Information because they have a limited "context window" a maximum number of tokens (words/parts of words) they can process at once. When a conversation exceeds this limit, the model drops the oldest information to make room for new input, akin to a First-in-first-out (FIFO) system

  1. Tokens: These are the basic units of data (parts of words, punctuation) that AI models use to process text. A single English word is typically slightly more than one token, and a paragraph can contain 100 to 150 tokens.
  2. Context Window: This represents the AI's "short-term working memory". It includes everything in the current chat: your prompts, instructions, and previous AI responses. If the prompt + history exceeds this limit, the earliest parts of the conversation are "forgotten".
  3. Why AI Forgets:
    1. Capacity Limit: When the maximum number of tokens is reached, the model simply cannot hold more information.
    2. FIFO (First-In-First-Out): The oldest messages are pushed out first to accommodate new ones.
    3. Lost in the Middle: Models sometimes struggle to retrieve information buried in the middle of long, complex, or heavily loaded contexts.
    4. Focus Shift: Models are optimized for the current task, causing them to prioritize recent information over older, potentially crucial, details.
Course Content

Recommended Courses

Digital Literacy 1 MONTHS
Beginner

₹0.00

Digital Literacy

Digital literacy is the ability to use digital devices, the internet, and online tools safely and ef...

Employability Skills 1 MONTHS
Beginner

₹0.00

Employability Skills

Employability skills are the basic skills and qualities needed to get and succeed in a job. They inc...

ANGREJI KA BHOOT 3 MONTHS
Beginner

₹0.00

ANGREJI KA BHOOT

“Angreji Ka Bhoot” is a fun and learning-based concept that shows the fear of English is just a mind...

Basic English Course 3 MONTHS
Beginner

₹0.00

Basic English Course

A Basic English Course helps beginners learn essential grammar, vocabulary, and communication skills...

Interview Tips and Preparation 1 MONTHS
Beginner

₹0.00

Interview Tips and Preparation

Prepare smartly for interviews by researching the company, understanding the job role, and practicin...

Retail Management Course 3 MONTHS
Beginner

₹0.00

Retail Management Course

A Retail Management Course is a practical, skill-based program designed to prepare students for a su...