💬 Language Model
5th Grade 🤖 Artificial Intelligence
A language model is an AI model trained on an enormous amount of text that learned to guess which word — or piece of a word — is likely to come next. That’s how it can write sentences, answer questions and summarize.
If someone says “Every morning I brush my…,” most people will finish with “teeth.” A language model does something similar on a gigantic scale: it has seen tons of text and learned which words usually go together. When it writes an answer, it picks one word after another based on what its calculations show fits best, and builds whole sentences that way.
Large language models are used in chatbots, translation tools, text summarizers and tools that help write code. They can write smoothly and convincingly, so they sound like they “know” things. Really, they produce text that sounds likely based on the patterns they learned.
A common mistake is thinking a language model checks every fact before answering. A language model can write a sentence that sounds completely sure of itself but is wrong — this is called a hallucination. So always check important information in a reliable source, and don’t share personal details with it.
For example
- A chatbot that answers “What’s the difference between a bat and a bird?” in a few sentences.
- Autocomplete that suggests the end of your sentence while you type a message.
- A tool that sums up a long article in three short bullet points.
- A model that helps a programmer finish a line of code.
📌 Remember: Language model = guesses the next word based on patterns in tons of text.
Quick quiz
What did a language model learn to do during training?
Why can a language model’s answer sound confident but be wrong?
What should you do with important information you got from a language model?