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
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.
Play animation with Mandarin narration and English captions
See the valuation example in four panels
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
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
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 · A missing item in the research report
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
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”, 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
Original video and chapters
Watch Karpathy’s full talk on YouTube. Every timestamp below refers to the original video. If you choose only one segment, start with 1:04:35, data analysis and watch him trace a missing value from a chart back into the code.
First half | conversation, reasoning, search, and documents
- 00:00 Opening and the model ecosystem
- 02:54 How a conversation works
- 13:12 A basic question-and-answer example
- 16:34 Start a new conversation for a new subject
- 18:03 Checking the current model
- 22:54 Reasoning models
- 31:00 Web search
- 42:04 Deep research
- 50:00 A missing item in a list
- 50:57 Documents and context
- 59:00 The Python tool
Second half | data analysis, prototypes, voice, and images
- 1:01:10 Python multiplication with large numbers
- 1:04:57 Valuation data table
- 1:05:54 The plotting code fills in a missing value
- 1:10:39 A Claude Artifacts question card
- 1:12:15 A relationship map from passages in a book
- 1:16:23 Tic-tac-toe in Cursor
- 1:22:28 Voice input and output
- 1:27:37 Real-time voice
- 1:37:09 NotebookLM two-person conversation audio
- 1:40:20 Image input and text recognition
- 1:47:02 Generating images
- 1:52:23 Generating video
- 1:53:29 Conversation memory
- 1:57:32 Custom instructions
- 1:59:00 A Korean vocabulary example with a custom GPT
Prompt comparison table
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.
| Use and timing | A prompt you can copy |
|---|---|
| Ordinary chatYou already have material and need a rewrite, summary, or first draft. |
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.” |
| Reasoning modeThe information is largely ready, and you need to choose under several constraints or trace a problem. |
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. |
| Web searchYou need to check an outside fact such as a date, rule, or announcement. |
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. |
| Deep researchYou need to answer several subquestions and compare evidence across sources. |
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. |
| Upload the source documentThe answer depends on a particular paper, report, policy, or manual. |
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.” |
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.


💬 Comments
Loading...