Imagine a large restaurant in Manhattan. The chefs don’t invent dishes freely. The menu allows only certain combinations. Quinoa may pair with roasted vegetables and lemon herb dressing. Pasta may go with spinach and Alfredo. Sourdough may combine with avocado and pesto. But quinoa with Alfredo? Not allowed. Sourdough with…
Tag: MathsinAI
Appendix — Transformer Walkthrough
The test sentence (neutral, fresh) Let’s take a new sentence, so readers see generality: “Emma thanked David politely.” We will follow one token’s journey (say, “thanked”) through the Transformer. Step 0 — Tokenization (splitting the input) For simplicity (as in the blogs), we treat words as tokens: [Emma] [thanked] [David]…
Attention at a Networking Event — A 5-Part SimplifAIng Mini-Series
Transformers are usually taught like someone dumped tokenization + embeddings + Q/K/V + softmax + ReLU + multi-head into a blender, hit “Turbo,” and called it intuition. If you’ve ever nodded politely while your mind quietly left your body—welcome… In this mini-series, we’ll learn the same mechanics using one friendly…
Cross-Validation Without Tears: How Playground Rules Can Teach Your Model to Behave in the Real World
If you have ever seen the term cross-validation and felt your brain quietly pack its bags and leave, you are not alone. On paper it sounds very “Mathy”.In practice, it is just a disciplined way of asking: “Does my model still behave well when I show it slightly different slices…
When AI Speaks Its Mind: Understanding Verbalized Sampling
The New Chapter in Prompt Engineering Imagine asking a friend for advice. Instead of giving one fixed answer, they pause, think aloud, list a few possibilities, and even admit how sure they feel about each. That’s what a new prompting technique called Verbalized Sampling (VS) teaches AI to do —…
The Inbox of Uncertainty: Unraveling AI Distributions Through Emails
Morning. Coffee. Laptop. You open your inbox and dozens of messages blink to life. Some are useful, some nonsense, some too long to ever read. To your AI assistant, this chaos isn’t confusing, it’s data. And to make sense of it, AI uses different distributions where each one has a…