Our partnerSkilling
  • Spreads from 0.1 pips
  • 1,000+ instruments
  • Free demo account

65% of retail investor accounts lose money when trading CFDs with this provider.

SkillingOpen account
Module 1 · What is AI?

1.2 How language models work

Lesson 2 of 26Reading time: 2 minFact-checked

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.

A language model picks the next word by probability – not by knowing the answer“Gold is often seen as a …”What's the next word?safe62 %good14 %stable9 %commodity7 %…8 %The model writes what sounds most likely. That gives fluent text – but also confident mistakes (“hallucinations”),especially about numbers, dates and breaking news. Always check facts against a source. The probabilities are a simplified example.
A language model picks the most likely next word – not necessarily the right one.

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.
Practise what you have learned – without riskTry it on a free demo account with Skilling, with real prices and virtual money.
Open a free demo account

65% of retail investor accounts lose money when trading CFDs with this provider.