NNishanthan Karunakaran15h ago · 7 min readHow Query, Key, and Value (QKV) Work in TransformersEvery Transformer-based language model, from BERT to GPT, relies on a mechanism called attention to determine how different tokens in a sequence relate to one another. At the heart of this mechanism anishanthan.hashnode.dev
SSai Sandeep Kantareddy2d ago · 9 min readRouting AI Requests Without Training Data and Knowing When to Train a ClassifierThe retail examples below are illustrative; they do not report measured production results or disclose an employer's implementation. A team adds three specialist agents to an assistant. Routing looks 13KAYtokenbytoken.hashnode.dev
NNishanthan KarunakaranOct 15 · 6 min readUnderstanding Transformer: The Architecture Behind Modern AIWhat Is a Transformer? A Transformer is a neural network architecture introduced by Google researchers in 2017 in the paper Attention Is All You Need. It uses attention mechanisms to help the model le1nishanthan.hashnode.dev
MMahesh MoholkarOct 13 · 43 min readBuilding a Modern LLM from Scratch: RMSNorm, RoPE, GQA and SwiGLUThis is the fourth part of a series on how language models work, built from the ground up. Part 1 built a neural network as an office building and trained it. Part 2 put text through the building and maheshmoholkar.hashnode.dev
ZZyVOPOct 3 · 26 min readBuild a Small LLM From Scratch: A Tested GPT in PyTorchYou can train a real language model on a laptop CPU during a coffee break. It won't be smart. It will have every part a big one has. This post builds one. It's a decoder-only transformer in PyTorch, tblog.zyvop.com
SSurendranath Reddy JillellaSep 24 · 9 min readWe Tested TypeSafe AI's Jev on Screen Classification: 20x Faster, 153x Cheaper, and Noticeably Less AccurateTypeSafe AI's Jev promises a faster, cheaper alternative to LLMs for structured decisions, so we put it to work on a real production task at QApilot: classifying screens for our autonomous mobile app 12Bqapilot-ai.hashnode.dev
EEkansh NangiaSep 17 · 18 min readIntroduction To Mechanistic InterpretabilityEpistemology Epistemology is the branch of philosophy thats concerned with the nature and limits of knowledge. What knowledge actually is, how we get it, and how we tell the difference between somethiekanshn.hashnode.dev
LLakshya PadhanSep 15 · 14 min readAttention Is All You Need: The Paper That Changed Modern AIAn accessible deep dive into the 2017 research paper that introduced the Transformer architecture In 2017, a research paper with a surprisingly confident title — “Attention Is All You Need” — introduc1theainotebooklakshya.hashnode.dev
TTech-AarvamSep 15 · 14 min readPuzzle Solution Revealed - Transformer: Need for Position EmbeddingIntroduce position embedding, residuals and layers ▶ Watch the 7-minute walkthrough import torch torch.set_printoptions(precision=2, sci_mode=False, linewidth=160) In this notebook we are extendingtechaarvam.hashnode.dev
MMahesh MoholkarSep 12 · 70 min readText to Attention From ScratchThis is the second part of a series on how language models work, built from the ground up. The first part covered what a neural network is made of and how it learns: an office building of workers, manmaheshmoholkar.hashnode.dev