Tokens, context and why AI forgets things | Lesson
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.
PDF is not available for this lesson.
Course Content

Recommended Courses

Diploma Mechanical Engineering – Industry Readiness & Interview Skills 8 hours
Intermediate

₹0.00

Diploma Mechanical Engineering – Industry Readiness & Interview Skills

A practical, self-paced course designed to prepare Diploma Mechanical Engineering students for entry...

Banking & Finance – Entry-Level Job Readiness 8-10 Hours
Beginner

₹0.00

Banking & Finance – Entry-Level Job Readiness

Banking & Finance – Entry-Level Job Readiness is a practical, self-paced program designed to build j...

Logistics & Supply Chain Management 8-10 Hours
Intermediate

₹0.00

Logistics & Supply Chain Management

Industry-focused training in logistics and supply chain management, covering terminology, procuremen...

Complete AI Course: Beginner to Advanced 3 MONTHS
Intermediate

₹0.00

Complete AI Course: Beginner to Advanced

Learn Artificial Intelligence from fundamentals to advanced Agentic AI through 8 structured modules...

BVoc in Hospitality and Hotel Managment 15 Days
Beginner

₹0.00

BVoc in Hospitality and Hotel Managment

BVoc in Hospitality and Hotel Management एक 3 वर्षीय करियर-केंद्रित स्नातक कार्यक्रम है, जो छात्रों...

Hotel Management Diploma ( RISE Program) - 1 Year Diploma- Learn and Earn 1 Year
Beginner

₹1000.00

Hotel Management Diploma ( RISE Program) - 1 Year Diploma- Learn and Earn

Hotel Management Diploma (RISE Program)- Learn & Earn Mode RISE: Real-world Integrated Skills for...