1.2 How language models work
A language model is trained on huge amounts of text. When you ask a question, it produces an answer word by word by working out what is most likely to come next – based on everything it has read.
What does this mean in practice?
- It is good with language: explaining, summarising, translating, structuring and writing code.
- It can be wrong with great confidence. It can make up figures, sources and quotes that sound right. This is called hallucination.
- It does not know everything that is new. The model is trained up to a certain date. Without access to search or data, it does not know today’s prices or news.
- It does not know the future. No language model knows what the market will do tomorrow.
Tools make the models stronger
Modern language models can often search the web, read files you upload and run code. They can then, for example, do calculations on a CSV file from your trading journal. But even then you must check the result.
A typical hallucination
You ask: “What was Apple’s dividend per share last year?” The model answers with a precise figure – which is wrong, because it mixes up years or makes it up. The right approach: ask for the source, and check the figure in the company’s own report.
Rule of thumb
Use AI to understand, structure and draft. Use original sources for figures and facts. And never take a trade just because an AI said so.
Key takeaways
- Language models produce answers word by word from what they have learned – they do not “know” things the way we do.
- They can hallucinate: make up figures and sources that sound right.
- Use AI for understanding and drafts. Check figures and facts in the original source.
65% of retail investor accounts lose money when trading CFDs with this provider.