August 2026
Intermediate
312 pages
9h 21m
English
This appendix includes all the definitions, symbols, and operations frequently used in the RLHF process, with a quick overview of language models (the guiding application of this book).
The majority of modern language models are trained to learn the joint probability distribution of sequences of tokens (words, subwords, or characters) in an autoregressive manner. Autoregression simply means that each next prediction depends on the previous entities in the sequence. Given a sequence of tokens
, the model factorizes the probability of the entire sequence into a product of conditional distributions: ...
Read now
Unlock full access