Why LLMs Struggle with Language Mixing

If you’ve been deploying Large Language Models in production, you’ve probably encountered one of the most annoying headaches in the field…

January 4, 2026 · 8 min · Jimin Lee

Unraveling AI Hallucinations: Why LLMs Lie and How to Tame Them

Introduction

December 20, 2025 · 14 min · Jimin Lee

PyTorch Tensor Internals: Storage, Shape, and Stride Explained

If you’ve spent any time with PyTorch, you’ve almost certainly hit this wall:

December 15, 2025 · 11 min · Jimin Lee

TPU: Why Google Doesn’t Wait in Line for NVIDIA GPUs (2/2)

Continues the discussion of why Google builds its own TPUs.

December 13, 2025 · 8 min · Jimin Lee

TPU: Why Google Doesn’t Wait in Line for NVIDIA GPUs (1/2)

We hear it all the time: “You can’t do AI without GPUs,” or “NVIDIA is the only stock that matters in the AI era.” It’s true — companies…

December 13, 2025 · 9 min · Jimin Lee

Demystifying loss.backward(): How PyTorch Autograd Actually Works

If you use PyTorch, there’s one line of code you probably type out of sheer muscle memory: loss.backward().

December 6, 2025 · 12 min · Jimin Lee

On-Device LLM

Note: This article was originally written in 2024. Even though I’ve updated parts of it, some parts may feel a bit dated by today’s…

November 30, 2025 · 12 min · Jimin Lee

Tokens: The Invisible Building Blocks of Large Language Models

Even though Large Language Models (LLMs) appear to expertly understand and generate language, the truth is, like any other computer…

November 27, 2025 · 15 min · Jimin Lee

How Reinforcement Learning Taught LLMs to Talk Like Humans

While ChatGPT is now the household name for Large Language Models (LLMs), the technology wasn’t born in a vacuum with its late-2022 debut…

November 25, 2025 · 16 min · Jimin Lee

Understanding the KV Cache (feat. Self-Attention)

If you’ve been following the world of LLMs, you’ve probably heard of the KV Cache. It’s a technique that’s mentioned constantly, which…

November 24, 2025 · 14 min · Jimin Lee