33min chapter

Super Data Science: ML & AI Podcast with Jon Krohn cover image

747: Technical Intro to Transformers and LLMs, with Kirill Eremenko

Super Data Science: ML & AI Podcast with Jon Krohn

CHAPTER

Technical Details of Attention Mechanism in Transformers and LLMs

The chapter explains the technical intricacies of the attention mechanism in Transformers and Language Models (LLMs), focusing on creating Q, K, and V vectors for words in a sentence to enhance contextual understanding. It discusses the mathematical processes involved in calculating dot products, applying softmax functions, and utilizing feedforward neural networks for generating predictions. The chapter covers the nuances of transforming vectors, creating probability distributions, and selecting the next word in a sentence using these mechanisms.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode