What is an LLM used for?
An LLM (large language model) is an AI model trained on huge volumes of text to predict the most probable continuation of a text. This seemingly simple task enables it to understand instructions, write, summarise, translate, classify or extract information, without specific programming for each task.
It is the engine behind most of today’s assistants, from chatbots to AI agents. Its limits are worth knowing: knowledge frozen at the training date, an amount of text it can process bounded by the context window, and a risk of hallucination.
How an LLM works
- 1 Step 1 Splitting into tokens The incoming text is split into tokens, words or parts of words converted into numbers.
- 2 Step 2 Analysing the context The neural network, a Transformer, weighs the relationships between all the tokens in the instruction and context.
- 3 Step 3 Prediction It calculates the probability of each possible next token, then selects one.
- 4 Step 4 Step-by-step generation The chosen token is added to the text and the process repeats until a complete answer is formed.
Business use cases
- Customer service Understand incoming requests, categorise them and suggest a reply.
- Documentation Summarise reports, meeting minutes or lengthy contracts.
- Data Extract structured information (amounts, dates, parties) from unstructured documents.
- Internal teams Power a copilot that answers questions based on company procedures.
LLM or traditional NLP?
| LLM | Traditional NLP | |
|---|---|---|
| Approach | A general-purpose model that follows instructions | Rules or a model designed for one specific task |
| Setting up | An instruction and a few examples are often enough | Annotated data and training for each task |
| Versatility | Writes, summarises, translates, classifies, extracts | Limited to the task it was designed for |
| Resources | More computationally demanding per request | Lightweight and fast once in place |
LLMs are part of NLP: for a simple, high-volume task, a specialised model is sometimes still the best choice.
Frequently asked questions
-
Among the most widely used: GPT (OpenAI), Claude (Anthropic), Gemini (Google), Mistral AI’s models and Llama (Meta). Some are only available via API, while others are open models you can host yourself.
-
Not in the human sense: it relies on patterns learned from its training data. That is enough for a wide range of language tasks, but its answers need checking when accuracy matters.
-
Not necessarily. Vendors’ cloud offerings cover most needs, with contractual commitments on data. Hosting an open model in-house is justified for highly sensitive data or strict regulatory constraints.
