There are three common kinds of AI system: recognition, prediction and generation. A large language model is one example of generation: a model that, given some text, produces the text that comes next. Once trained, the model writes an answer one word at a time. To be exact, the model works with small pieces of text, called tokens. A token is not always a word.
Inside the model are many numbers, called weights. The weights, and the other numbers that training adjusts, are called parameters. Some makers give a model's size as its number of parameters. For example, on 18 April 2024, Meta introduced its Llama 3 models in two sizes: eight billion and seventy billion parameters. On 23 July 2024, Meta released its largest Llama model yet, with more than four hundred billion parameters.
Making a model larger, with more parameters, is called scaling. In May 2020, researchers reported that scaling made their models much better at the tasks they tested. For example, Meta said its largest Llama model did better than smaller models trained the same way.
The computing work used to train a model is called compute. It is usually counted in single steps of arithmetic, such as one addition or one multiplication. For example, Meta said it trained its largest Llama model on more than sixteen thousand specialised computer chips.
How well a model does depends on how much text it learns from, as well as on its size. In March 2022, researchers reported that, to get the most from the compute, a model's size and the amount of text it learns from should grow together. To test this, they trained a smaller model on more text, with the same compute as a larger model. The smaller model did better than several larger models, across a large range of tasks.
Parameters are the numbers that training adjusts, and some makers give a model's size by counting them. Making a model larger, with more parameters, is scaling. In the May 2020 study, the larger models did better. The computing work used to train a model is compute. To get the most from the compute, a model's size and the amount of text it learns from should grow together. When a maker says its model is larger, ask how much text it learned from.