What is a language model
A language model is a program trained on huge amounts of text to predict what text should come next.
When you ask it a question, it is not looking the answer up in a database. It is predicting a sensible response based on patterns it learned. That is why it can explain new ideas, write stories, and answer questions it was never explicitly taught.
Two things shape its behaviour:
- The **prompt*: the text you send it.
- The **parameters*: settings like creativity and safety that change how it answers.