# Before You Ask AI, Notice What You Are Missing

> When Karpathy used AI to chart OpenAI valuations, a missing value in the source table became one hundred million dollars in the code. The original video shows when to use ordinary chat, reasoning, search, deep research, and a source document, with timestamps and five copyable prompts.

- Author: Paul Kuo（郭曜郎）
- Date: 2026-11-22
- Published: 2026-11-22
- Pillar: Intelligence & Order
- Tags: Andrej Karpathy, AI workflows, reasoning models, web search, deep research, prompts, data verification
- Canonical: https://paulkuo.tw/en/articles/karpathy-ai-mode-guide/
- Language: English
- Translation: AI-translated from the zh-Hant (Traditional Chinese) original
- Original (zh-Hant): https://paulkuo.tw/articles/karpathy-ai-mode-guide.md
- Site index for LLMs: https://paulkuo.tw/llms.txt

---

<div class="listen-summary" style="margin:1.25rem 0;padding:0.75rem 1rem;border:1px solid var(--border);border-radius:var(--radius);background:var(--bg-section);">
  <div style="font-size:0.9rem;font-weight:600;color:var(--text-secondary);margin-bottom:0.5rem;">▶ Listen to the summary (November 23, 2026 revised audio)</div>
  <audio preload="metadata" controls style="width:100%;display:block;">
    <source src="https://audio.paulkuo.tw/karpathy-ai-mode-guide-en.mp3?v=d43290f1d38db51a" type="audio/mpeg" />
    Your browser does not support audio playback. <a href="https://audio.paulkuo.tw/karpathy-ai-mode-guide-en.mp3?v=d43290f1d38db51a">Download the audio</a>
  </audio>
  <div style="font-size:0.75rem;color:var(--text-secondary);opacity:0.75;margin-top:0.4rem;">AI-synthesized English voice by ElevenLabs</div>
</div>

<nav id="karpathy-guide-start" class="karpathy-guide-nav" tabindex="-1" aria-label="Article navigation">
  <a href="#karpathy-original">Original video and chapters</a>
  <a href="#karpathy-prompt-guide">Prompt comparison table</a>
</nav>

The 2015 cell in the original table said `N/A`. In the code, it became `0.1`. The chart used billions of dollars as its unit, so that one entry added one hundred million dollars.

In *How I use LLMs*, Andrej Karpathy asks ChatGPT to find OpenAI's valuations over the years and then chart the data. Only when he opens the plotting code does he see where that number came from. [Watch him check the code](https://www.youtube.com/watch?v=EWvNQjAaOHw&t=3954s)

This piece began with a repost on X. The original is on Karpathy's own channel, and YouTube lists its publication date as February 27, 2025. The part of this older talk I want to bring back to the desk is the way one hundred million dollars emerged from a blank cell.

<details id="karpathy-audible-mg">
  <summary>Play animation with Mandarin narration and English captions</summary>
  <figure style="margin:1rem 0;">
    <video controls preload="metadata" playsinline aria-label="How did one hundred million dollars emerge from a blank cell?" aria-describedby="karpathy-mg-note" poster="/images/articles/karpathy-ai-mode-guide/valuation-gap-v1-poster-en.jpg" style="display:block;width:100%;max-width:26rem;height:auto;aspect-ratio:9/16;object-fit:contain;margin:0 auto;background:#f8f5ee;">
      <source src="https://audio.paulkuo.tw/mg/karpathy-ai-mode-guide/valuation-gap-v1-vertical-en.mp4" type="video/mp4">
      <track kind="captions" src="/captions/karpathy-ai-mode-guide/valuation-gap-v1-en.vtt" srclang="en" label="English" default>
    </video>
    <figcaption id="karpathy-mg-note" style="text-align:center;font-size:.875rem;margin-top:.5rem;">Mandarin AI narration with English captions.</figcaption>
  </figure>
</details>

<details>
<summary>See the valuation example in four panels</summary>
<img src="/images/articles/karpathy-ai-mode-guide/01-missing-value-en.svg" alt="Four-panel comic: The source table says N/A for 2015. The code uses 0.1, which places a point worth one hundred million dollars on a chart in billions. Trace the input back to the original table." loading="lazy">
</details>

## First ask whether you are missing information or a way through

When you know where the information is and what you need to deliver, ordinary chat can get a first draft moving. Karpathy begins with a haiku, breaking both input and response into chunks of text to show how a model continues from the context it can currently see. When you change subjects, start a new conversation and carry over only the useful background. The same goes for rewriting a notice. If you already have the draft, give the model the draft and say what must remain. [How a conversation works](https://www.youtube.com/watch?v=EWvNQjAaOHw&t=174s)

He runs into a different kind of blockage when a gradient check in code keeps failing. He gives the same code to different models. Some offer a list of debugging directions. Another points out that the order of packing and unpacking parameters does not match. That is a moment when it may be worth letting a model spend more time reasoning. Once you have an answer, you can rerun the check that failed in the first place. [Watch the debugging example](https://www.youtube.com/watch?v=EWvNQjAaOHw&t=1531s)

## Looking up one thing and reading a report need different starting points

Karpathy wants to know when the next episode of *The White Lotus* season three will air, so he uses search to find the broadcast information at the time. That kind of question calls for a date and a source you can open. Comparing the scale and funding of several labs calls for a defined comparison range and then deep research to organize material from repeated searches. Even then, when he looks back at the report, he finds that xAI is missing from the list. [Web search](https://www.youtube.com/watch?v=EWvNQjAaOHw&t=1860s) · [A missing item in the research report](https://www.youtube.com/watch?v=EWvNQjAaOHw&t=3000s)

When the question is what a particular document says, give the model that document. While reading *The Wealth of Nations*, Karpathy pastes in the chapter he is reading and asks first about its main point, then about the relation between passages. One paper PDF exceeds the context limit of that conversation, so he tries a different interface. With a long document, you can also begin with the pages related to your question, ask the model to point to the supporting passage, and then return to the original text yourself. [Documents and context](https://www.youtube.com/watch?v=EWvNQjAaOHw&t=3057s)

## Make “something I can check” part of the deliverable

In [“When You Use AI to Organize News, Don’t Lose the Date or the Qualification”](/articles/verify-news-with-ai-agents/), I wrote about separating retrieval, organization, and checking. With the valuation chart here, finding a report completes only the step of obtaining the information. A cleaned-up table still needs dates and units. Once it becomes a chart, each input still needs checking.

For a website weekly report, you might first tell AI that two weeks must compare the same number of days, that missing values should remain blank, and that it should include the code used for the calculation. When the chart is ready, choose one metric and recalculate it from the original table. If a day has no data, go back to the source. Do not let a blank cell quietly become zero traffic.

Karpathy's multiplication example offers a smaller version of the same exercise. He asks ChatGPT to use Python to calculate 423,534 × 3,124, and the screen shows both the expression and the result, **1,323,120,216**. A weekly report can ask for the same kind of reviewable delivery. Once you know where a number came from, you know how to check it next time. [The Python example](https://www.youtube.com/watch?v=EWvNQjAaOHw&t=3670s)

<h2 id="karpathy-original" tabindex="-1">Original video and chapters</h2>

<div class="karpathy-video"><iframe src="https://www.youtube-nocookie.com/embed/EWvNQjAaOHw" title="How I use LLMs (Andrej Karpathy)" loading="lazy" allow="fullscreen; encrypted-media; picture-in-picture" allowfullscreen referrerpolicy="strict-origin-when-cross-origin"></iframe></div>

[Watch Karpathy's full talk on YouTube](https://www.youtube.com/watch?v=EWvNQjAaOHw). Every timestamp below refers to the original video. If you choose only one segment, start with [1:04:35, data analysis](https://www.youtube.com/watch?v=EWvNQjAaOHw&t=3875s) and watch him trace a missing value from a chart back into the code.

<details class="karpathy-chapters">
<summary>First half | conversation, reasoning, search, and documents</summary>
<ul>
<li><a href="https://www.youtube.com/watch?v=EWvNQjAaOHw&amp;t=0s">00:00 Opening and the model ecosystem</a></li>
<li><a href="https://www.youtube.com/watch?v=EWvNQjAaOHw&amp;t=174s">02:54 How a conversation works</a></li>
<li><a href="https://www.youtube.com/watch?v=EWvNQjAaOHw&amp;t=792s">13:12 A basic question-and-answer example</a></li>
<li><a href="https://www.youtube.com/watch?v=EWvNQjAaOHw&amp;t=994s">16:34 Start a new conversation for a new subject</a></li>
<li><a href="https://www.youtube.com/watch?v=EWvNQjAaOHw&amp;t=1083s">18:03 Checking the current model</a></li>
<li><a href="https://www.youtube.com/watch?v=EWvNQjAaOHw&amp;t=1374s">22:54 Reasoning models</a></li>
<li><a href="https://www.youtube.com/watch?v=EWvNQjAaOHw&amp;t=1860s">31:00 Web search</a></li>
<li><a href="https://www.youtube.com/watch?v=EWvNQjAaOHw&amp;t=2524s">42:04 Deep research</a></li>
<li><a href="https://www.youtube.com/watch?v=EWvNQjAaOHw&amp;t=3000s">50:00 A missing item in a list</a></li>
<li><a href="https://www.youtube.com/watch?v=EWvNQjAaOHw&amp;t=3057s">50:57 Documents and context</a></li>
<li><a href="https://www.youtube.com/watch?v=EWvNQjAaOHw&amp;t=3540s">59:00 The Python tool</a></li>
</ul>
</details>

<details class="karpathy-chapters">
<summary>Second half | data analysis, prototypes, voice, and images</summary>
<ul>
<li><a href="https://www.youtube.com/watch?v=EWvNQjAaOHw&amp;t=3670s">1:01:10 Python multiplication with large numbers</a></li>
<li><a href="https://www.youtube.com/watch?v=EWvNQjAaOHw&amp;t=3897s">1:04:57 Valuation data table</a></li>
<li><a href="https://www.youtube.com/watch?v=EWvNQjAaOHw&amp;t=3954s">1:05:54 The plotting code fills in a missing value</a></li>
<li><a href="https://www.youtube.com/watch?v=EWvNQjAaOHw&amp;t=4239s">1:10:39 A Claude Artifacts question card</a></li>
<li><a href="https://www.youtube.com/watch?v=EWvNQjAaOHw&amp;t=4335s">1:12:15 A relationship map from passages in a book</a></li>
<li><a href="https://www.youtube.com/watch?v=EWvNQjAaOHw&amp;t=4583s">1:16:23 Tic-tac-toe in Cursor</a></li>
<li><a href="https://www.youtube.com/watch?v=EWvNQjAaOHw&amp;t=4948s">1:22:28 Voice input and output</a></li>
<li><a href="https://www.youtube.com/watch?v=EWvNQjAaOHw&amp;t=5257s">1:27:37 Real-time voice</a></li>
<li><a href="https://www.youtube.com/watch?v=EWvNQjAaOHw&amp;t=5829s">1:37:09 NotebookLM two-person conversation audio</a></li>
<li><a href="https://www.youtube.com/watch?v=EWvNQjAaOHw&amp;t=6020s">1:40:20 Image input and text recognition</a></li>
<li><a href="https://www.youtube.com/watch?v=EWvNQjAaOHw&amp;t=6422s">1:47:02 Generating images</a></li>
<li><a href="https://www.youtube.com/watch?v=EWvNQjAaOHw&amp;t=6743s">1:52:23 Generating video</a></li>
<li><a href="https://www.youtube.com/watch?v=EWvNQjAaOHw&amp;t=6809s">1:53:29 Conversation memory</a></li>
<li><a href="https://www.youtube.com/watch?v=EWvNQjAaOHw&amp;t=7052s">1:57:32 Custom instructions</a></li>
<li><a href="https://www.youtube.com/watch?v=EWvNQjAaOHw&amp;t=7140s">1:59:00 A Korean vocabulary example with a custom GPT</a></li>
</ul>
</details>

<h2 id="karpathy-prompt-guide" tabindex="-1">Prompt comparison table</h2>

Use the “Copy prompt” button in the right-hand column, then replace the brackets with your own material. Turn on the appropriate tool before using search or deep research.

<table class="karpathy-prompts" aria-labelledby="karpathy-prompt-guide" data-copy-success="Copied" data-copy-fallback="Long-press the selected text and choose Copy.">
<thead><tr><th scope="col">Use and timing</th><th scope="col">A prompt you can copy</th></tr></thead>
<tbody>
<tr>
<th scope="row">Ordinary chat<small>You already have material and need a rewrite, summary, or first draft.</small></th>
<td>
<p id="karpathy-prompt-1">Rewrite the text below as a short notice in Traditional Chinese. Keep the date, names, and actions required from recipients. Mark any missing information as “To be confirmed.”<br>[Paste the draft]</p>
<div class="karpathy-copy-line"><button type="button" data-karpathy-copy aria-controls="karpathy-prompt-1" aria-label="Copy ordinary chat prompt">Copy prompt</button><span role="status"></span></div>
</td>
</tr>
<tr>
<th scope="row">Reasoning mode<small>The information is largely ready, and you need to choose under several constraints or trace a problem.</small></th>
<td>
<p id="karpathy-prompt-2">Compare whether these two options meet the budget, timeline, and required conditions. List the trade-offs for each, recommend one, and say which changed condition would alter that recommendation.<br>[Paste the two options and constraints]</p>
<div class="karpathy-copy-line"><button type="button" data-karpathy-copy aria-controls="karpathy-prompt-2" aria-label="Copy reasoning mode prompt">Copy prompt</button><span role="status"></span></div>
</td>
</tr>
<tr>
<th scope="row">Web search<small>You need to check an outside fact such as a date, rule, or announcement.</small></th>
<td>
<p id="karpathy-prompt-3">Verify [question] on the web. Prefer official or primary sources. Give the publishing organization, date of the information, and URL. If sources differ, state the time period or scope to which each applies.</p>
<div class="karpathy-copy-line"><button type="button" data-karpathy-copy aria-controls="karpathy-prompt-3" aria-label="Copy web search prompt">Copy prompt</button><span role="status"></span></div>
</td>
</tr>
<tr>
<th scope="row">Deep research<small>You need to answer several subquestions and compare evidence across sources.</small></th>
<td>
<p id="karpathy-prompt-4">Conduct deep research on [topic], limited to [place and period]. Compare [fields of comparison] in a table. Mark disagreements among sources and gaps in the data. Cite the primary source for every main conclusion.</p>
<div class="karpathy-copy-line"><button type="button" data-karpathy-copy aria-controls="karpathy-prompt-4" aria-label="Copy deep research prompt">Copy prompt</button><span role="status"></span></div>
</td>
</tr>
<tr>
<th scope="row">Upload the source document<small>The answer depends on a particular paper, report, policy, or manual.</small></th>
<td>
<p id="karpathy-prompt-5">Answer [question] using only the document I provide. For every key point, give the page number or section and quote a short passage so I can check it. If the document does not say, mark it “Not explained in the source.”</p>
<div class="karpathy-copy-line"><button type="button" data-karpathy-copy aria-controls="karpathy-prompt-5" aria-label="Copy source-document prompt">Copy prompt</button><span role="status"></span></div>
</td>
</tr>
</tbody>
</table>

The next time a chart looks smoothly finished, pause before publishing it and go back to one point. See what it is in the original table.

<p><a class="karpathy-return" href="#karpathy-guide-start">Back to the beginning</a></p>

## Sources

- [Andrej Karpathy, “How I use LLMs,” original YouTube video and chapters](https://www.youtube.com/watch?v=EWvNQjAaOHw)
- [Karpathy's index of talks and teaching](https://karpathy.ai/llm-course/)
- [The X repost that first led me to the video (@tyay2015)](https://x.com/tyay2015/status/2123969962117394901)

<style>
#karpathy-guide-start, #karpathy-original, #karpathy-prompt-guide {
  scroll-margin-top: calc(var(--nav-height, 72px) + 16px);
}
.karpathy-guide-nav { display: flex; flex-wrap: wrap; gap: 0 18px; }
.karpathy-guide-nav a, .article-body .karpathy-return {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.karpathy-video {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin: 1.25rem 0 .75rem;
  border-radius: 8px;
  background: var(--paper-warm);
}
.karpathy-video iframe { display: block; width: 100%; height: 100%; border: 0; }
.karpathy-chapters { border-bottom: 1px solid var(--hairline); }
.karpathy-chapters summary { min-height: 44px; padding: .5rem 0; cursor: pointer; }
.article-body .karpathy-prompts { display: table; table-layout: fixed; }
.article-body .karpathy-prompts th:first-child { width: 34%; }
.article-body .karpathy-prompts p { margin: 0; }
.karpathy-prompts small {
  display: block;
  margin-top: .375rem;
  color: var(--text-secondary);
  font-size: .875em;
  font-weight: 400;
}
.karpathy-copy-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .25rem .625rem;
  margin-top: .625rem;
}
.karpathy-copy-line button {
  min-height: 44px;
  padding: .375rem .625rem;
  border: 1px solid var(--hairline);
  border-radius: 4px;
  background: var(--paper-warm);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  touch-action: manipulation;
}
.karpathy-copy-line button:hover { background: var(--bg-section); }
.karpathy-copy-line button:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.karpathy-copy-line span { color: var(--text-secondary); font-size: .85em; }
.karpathy-copy-field {
  position: fixed;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  opacity: 0;
  font-size: 16px;
}
@media (max-width: 480px) {
  .article-body .karpathy-prompts th, .article-body .karpathy-prompts td { padding: .5em; }
}
</style>
