Skip to content

Instantly share code, notes, and snippets.

@sogaiu
Last active August 23, 2026 01:54
Show Gist options
  • Select an option

  • Save sogaiu/954e71e8bc1c68dc72f307fe6a0e84b4 to your computer and use it in GitHub Desktop.

Select an option

Save sogaiu/954e71e8bc1c68dc72f307fe6a0e84b4 to your computer and use it in GitHub Desktop.
notes about "how does an llm work"
* questionable term "ai assistant" 0:05
* "assistant" might be anthropomorphizing
* referring to "ai assistant" as "ai" 0:10
* "ai" is loaded term
* "sensible prediction of what word comes next" 0:17
* not actually words but tokens
* not actually sensible
* "when you interact with a chatbot, this is exactly what's happening."
* it's an important piece, but there is lots of other stuff going on (e.g.
system prompt, filtering (in and out), handing off to other systems, etc.)
* "the output tends to look a lot more natural if you allow it to select
less likely words along the way at random" 1:13
* no explanation as to why this might lead to "more natural"
* "natural" may be misleading. "less repetitive" may be more accurate.
* "models learn how to make these predictions by processing an
enormous amount of text typically pulled from the internet" 1:27
* "learn" is an imappropriate term
* models are not "trained" and they do not "learn". they
are created by a separate process. "tuning" might be a
less misleading term.
* what is "likely" is based on the input data
* if the input data has erroneous content, that will become
more likely in the output
* "The way that a language model behaves is entirely determined
by these many different continuous values, usually called
parameters or weights" 1:51
* "behaves" may be a misleading term
* "it also starts to make more reasonable predictions on text
that it's never seen before" 3:03
* "reasonable" is a questionable term
* "similar to text in the training data" might be more accurate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment