AI and automation

LLM (Large Language Model)

An LLM (Large Language Model) is a type of artificial intelligence that has learned language patterns from large amounts of text. The model can understand and generate language, as well as translate and summarise text. You may come across an LLM in tools that answer questions or help you write text.
→ All articles

What is an LLM (Large Language Model)?

At its core, an LLM is a statistical language model. It calculates which parts of a text are likely to follow one another. The model works with tokens, which can be whole words, parts of words or single characters. It creates an answer by choosing tokens one at a time, based on the text it has already received and generated.

The word “large” usually refers to the model's many parameters, the large volumes of training data or both. The parameters are part of the model's calculations and affect its answers. There's no fixed threshold for when a language model is big enough to be called an LLM.

Many modern LLMs are built on neural networks and an architecture called the Transformer. Among other things, the architecture uses self-attention, which helps the model assess which parts of a text matter most to one another. That lets the model take the context of the text into account.

How do you use an LLM?

You usually use an LLM through a prompt. A prompt is the message where you describe your task or ask a question. The model normally doesn't fetch a finished answer from a database. Instead, it puts together a new answer based on the patterns and probabilities it learned during training.

For example, you can ask the model to draft ad copy, suggest variations of a message or summarise a longer document. You can also use it to structure text data or adapt content to a particular channel.

Your prompt gives the model a frame for the task. So you can describe the target audience, the message, the tone and any constraints. You can then adjust your prompt if the answer doesn't fit your purpose.

Why should you know about LLMs?

An LLM can help you with language tasks in digital marketing. You can work faster on first drafts and develop more variations that you can assess and test. That can support your work on ads, emails, landing pages and social media content, for example.

The model doesn't automatically give you a finished result that fits your brand or your target audience. The quality depends on things like the training data, your prompt and the checks you carry out yourself. So treat the model's answer as a working draft that you assess before you use it.

An LLM also differs from a traditional search engine. The model can combine information into a new answer, while a search engine mainly fetches and ranks existing web pages. An answer from an LLM isn't in itself proof that the information is correct.

What types and variants of LLM are there?

You may come across general language models that handle several types of text-related tasks. Other models are trained or adapted for a specific field, a specific language or a specific task. So your choice depends on what you want to use the model for.

Models can also have different technical structures. An encoder turns input text into an internal representation, while a decoder turns a representation into text or other output. Transformer-based models use self-attention, among other things, to examine relationships between tokens.

LLMs fall under generative AI, and generative AI covers more than language. You may also come across generative models that create images, music or video.

How do you use an LLM in practice?

You can start by choosing a specific task and describing the result you want. For example, you can state that you need several drafts of an ad, and explain who the ad should reach and what message it should get across.

You can then go through the drafts and check facts, language, legal requirements, brand tone and target audience. You can pick the relevant suggestions, edit them and publish or test them. When the content is part of a campaign, you can measure the effect with KPIs such as clicks, conversions or sales.

You can also assess the model's answers themselves. You can look at whether the text answers your prompt, solves the task and uses clear, natural language. You can repeat similar tasks to see whether the model delivers consistent quality.

What should you watch out for?

An LLM predicts likely sequences of text, and it doesn't automatically verify all information. So an answer can sound convincing and still contain factual errors. You should check claims and mathematical results before you use them.

You can also get different answers to similar prompts, because the model generates text based on probabilities. The model's training data affects its knowledge and response patterns, and some models are also fine-tuned with human feedback. So you should quality-check every draft before your customers see the content.

Ready to grow? Let’s talk

→ Book a chat