← 06 Language models and generative AIunit 6.1 / theory testTheory test: Language models6 questions. Pass with 5 correct.01 Each step of training byte-pair encoding merges:Two random charactersThe most frequent adjacent pair of symbolsThe two least frequent tokensWhole words into sentences02 A model that spreads probability uniformly over a 100-token vocabulary has perplexity:110100log10003 As sampling temperature approaches 0, sampling becomes:Uniformly randomGreedy: always the most likely tokenImpossibleTop-p with p = 0.504 Top-p sampling with p=0.9 samples from:The top 90 tokensThe smallest set of most-likely tokens whose probabilities sum to at least 0.9Tokens with probability above 0.9A random 90% of the vocabulary05 By the chain rule, P(the cat sat) equals:P(the)P(cat)P(sat)P(the)P(cat∣the)P(sat∣the cat)P(sat∣the cat) onlyP(the∣cat sat)06 Why do LLMs often miscount the letters in a word?They were never trained on spellingThey see subword tokens, not individual charactersTheir vocabulary has no lettersTemperature is too highAnswer all 6 to submit (0 done)