All books

Professional

Apps About Coach Log in Start reading

Quantitative Finance · Glossary

What is Language model, large language model?

Also known as: language model · large language model

Definition 14.1 Machine Learning for Markets · Chapter 14 — Large Language Models in Finance

A language model assigns probabilities to sequences of tokens, usually through the conditional probability of each token given the ones before it, P(wt∣w1,…,wt−1)\P(w_t\mid w_1,\dots,w_{t-1}); it generates text by sampling one token at a time. A large language model (LLM) is a transformer language model (chapter 8) with billions of parameters, pre-trained (chapter 10) on a large share of the public text of the internet and books, then fine-tuned to follow instructions.

Read in context →