Skip to content
PodSubs
ShowsPeopleGuestsJobsNewsEvents
More
BlogPodCred
Menu
ShowsPeopleGuestsJobsNewsEventsBlogPodCredNetworksSign in
Join nowSign in
  • Shows
  • People
  • Jobs
  • News
  • More
    • Guests
    • Events
    • Blog
    • PodCred
    • Networks
    Join nowSign in

Learn AI in Bits

Learn AI in Bits artwork

099 - How Does an LLM Generate Text?

Nov 23, 20265 minAudioSeason 1, Episode 99
ShareXLinkedInFacebookWhatsAppEmail

Follow a prompt through the inner workings of a large language model. This episode explains tokenization, embeddings, transformer layers, attention, logits, probability selection, and the KV cache. It also compares decoder-only, encoder-only, and encoder-decoder architectures, and explains why fluent output can still be incorrect. Voice narration is AI-generated. REFERENCES 1. OpenAI Help Center - Understanding and counting tokens https://help.openai.com/en/articles/4936856-understanding-and-counting-tokens Supports tokenization, token IDs, input/output tokens, and model-specific tokenization differences. 2. Hugging Face Course - How Transformers solve tasks https://huggingface.co/docs/course/chapter1/5 Supports token embeddings, decoder-only causal generation, logits, and the distinction between encoder, decoder, and encoder-decoder architectures. 3. Hugging Face Transformers - How caching works https://huggingface.co/docs/transformers/main/en/cache_explanation Explains causal attention and how the key-value cache stores and reuses attention keys and values during autoregressive inference. 4. Google DeepMind - Gemini: A Family of Highly Capable Multimodal Models https://deepmind.google/gemini/gemini_1_report.pdf Describes Gemini's Transformer decoder architecture and multimodal input and output design. 5. Anthropic - What happens when you talk to AI? https://academy.claude.com/tutorials/what-happens-when-you-talk-to-ai An accessible explanation of tokenization, next-token prediction, model weights, and inference. Notes The spoken episode explains the common autoregressive generation pipeline. Exact architectures, tokenizers, attention variants, and multimodal processing differ across models; some commercial implementation details are not public.

Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.

Hosts and Guests

Nobody is credited on this episode yet.

Credit the people on this episode

Be the first to rate this episode

More episodes

All episodes
  1. 098 - Product Managers: What AI Skills Are Companies Looking for?

    Nov 23, 20265 minAudio

    Explore the AI skills employers increasingly expect from product managers working on AI products. This episode covers core product management, AI literacy, model and agent fundamentals, evaluation, product metrics, and...

    Credit the people on this episode

  2. 097 - Developers: What AI Skills Are Companies Looking?

    Nov 23, 20266 minAudio

    Companies are looking for developers who can combine strong software fundamentals with practical AI skills. This episode looks at AI-assisted development, model APIs, RAG, agents, evaluation, debugging, and system...

    Credit the people on this episode

  3. 096 - Structured Outputs — How to Make AI Return Valid JSON

    Nov 22, 20265 minAudio

    Structured outputs help AI models return data that software can reliably read. This episode explains JSON, JSON Schema, and the difference between JSON mode and schema-constrained responses. It also compares how OpenAI,...

    Credit the people on this episode

  4. 095 - Function Calling: How AI Uses Tools

    Nov 22, 20265 minAudio

    Function calling lets AI models work with external tools, APIs, and business systems. This episode explains the tool-calling loop, how applications define and execute functions, and how OpenAI, Claude, Gemini, and...

    Credit the people on this episode

  5. 094 - Temperature, Top-K, and Top-P: How AI Chooses Its Next Word

    Nov 22, 20265 minAudio

    Learn how temperature, top-k, and top-p influence the way language models select their next tokens. This episode explains what each setting controls, when developers might adjust it, and how it changes generated text....

    Credit the people on this episode