Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

This page lists the conventions that the course’s readings, labs, and self-tests share. The course has no LaTeX documents, so its symbols have no LaTeX macros: every page writes them out in full.

Prompts, requests, and responses

Money and tokens

Symbols

SymbolMeaningFirst used
P(w∣c)P(w \mid c)The probability that the next token is ww, given the context cc before itModule 1
TTTemperature: how much sampling flattens (T>1T > 1) or sharpens (T<1T < 1) the probabilitiesModule 1
ppIn top-p sampling, the share of probability that the kept tokens must reachModule 1
CCThe cost of a request or a batch, in US dollarsModule 2
J(A,B)J(A, B)Jaccard similarity of two word sets: the words they share over the words in eitherModule 5
nnThe number of independent test cases behind a measurement; repeated runs of one case don’t add to itModule 7
p^\hat{p}A measured pass rate: the share of nn graded outputs that passedModule 7
zzThe number of standard errors that sets an interval’s confidence: 1.96 for 95%Module 7
p^human\hat{p}_\text{human}, p^grader\hat{p}_\text{grader}The shares of outputs that a person and a model-based grader pass, used for chance agreementModule 7
κ\kappaCohen’s kappa: agreement between two graders, corrected for chanceModule 7
kkHow many items are kept: examples chosen for a prompt (Module 5), or passages retrieved for each question (Module 10)Module 5
NNIn BM25, the number of documents in the collectionModule 10
dfdfDocument frequency: how many documents contain a query termModule 10
tftfTerm frequency: how many times a query term occurs in the document being scoredModule 10
LL, Lˉ\bar{L}A document’s length in terms, and the average length over the collectionModule 10
k1k_1, bbBM25’s two settings: how fast repeated terms stop adding score, and how much document length countsModule 10

The letter pp means two things, in two modules: the top-p threshold in Module 1, and a pass rate in Module 7, where it always wears a hat (p^\hat{p}) when it is measured. Each module defines the symbols it uses when they first appear.