Skip to content
Mon, 23 Nov 202613:53:41 CET
AI-News

AI-News

Menu
  • Home
  • Basics
  • Posts
Searching...
No results found
  • Home
  • Basics
  • What Is an LLM? Large Language Models Explained
  • Basics

What Is an LLM? Large Language Models Explained

EditorialNovember 5, 2026Last reviewed: November 5, 20267 min read
Wall of identical dark wooden archive drawers with brass handles, illustrating a large language model

Contents

  • TL;DR
  • What an LLM is
  • How an LLM writes text
  • What "large" means in numbers
  • The Transformer inside
  • How an LLM is trained
  • What LLMs do well and where they fail
  • Sources

TL;DR

A large language model (LLM) is a language model of significant size, pre-trained on large amounts of text. It predicts which token comes next and repeats that step to write whole answers. Such models are not fully reliable, so their output needs checking.

  • Purpose: An LLM predicts the next token, and a chain of such predictions can run to thousands of tokens.
  • Size: GPT-3 had 175 billion parameters, but a survey finds no formal consensus on the minimum size of an LLM.
  • Parts: Most LLMs use the Transformer, which a 2017 paper built on attention alone, without recurrence or convolutions.
  • Training: Pre-training on large text comes first, then fine-tuning and human feedback help the model follow instructions.
  • Limit: LLMs can hallucinate, and OpenAI's GPT-4 report calls even that model not fully reliable.

What an LLM is

An LLM is a language model that is large. That sounds circular, so start with the smaller word.

Google's machine learning course defines a language model as something that estimates the probability of a token or a sequence of tokens within a longer sequence of tokens. A token can be a word, a subword or a single character.

The word "large" came later. A survey of the field says: “the research community has coined the term large language models (LLM) for the PLMs of significant size”. PLM stands for pre-trained language model.

The same survey adds a caveat. It says: “there is no formal consensus on the minimum parameter scale for LLMs”. The authors choose a loose line for their own review and focus on models with more than 10 billion parameters.

Anthropic's glossary describes LLMs as AI language models with many parameters, “trained on vast amounts of text data”. Parameters are the values that training adjusts inside a neural network.

A chat assistant is not the bare model. Anthropic writes: “Claude is not a bare language model; it has already been fine-tuned to be a helpful assistant.”

How an LLM writes text

Take the sentence “When I hear rain on my roof, I _______ in my kitchen.” Google's course shows how a language model fills the gap. It assigns a probability to each candidate: 9.4 percent for “cook soup”, 5.2 percent for “warm up a kettle”, 3.6 percent for “cower”.

An application can then pick the most likely option. It can also pick at random among options above a probability threshold. Google describes both choices.

Scale this up and the gap becomes a whole answer. Google's course says: “LLMs are essentially autocomplete mechanisms that can automatically predict (complete) thousands of tokens.” A user's question works like the given sentence, followed by an imaginary gap.

The training task differs between model families. Google's course describes hiding tokens in the training text and asking the model to predict them. OpenAI describes GPT-4 as a Transformer-style model “pre-trained to predict the next token in a document”. Anthropic says its autoregressive models are pretrained to predict the next word, given the previous text in the document.

What "large" means in numbers

In 2020 OpenAI researchers described GPT-3 as “an autoregressive language model with 175 billion parameters, 10x more than any previous non-sparse language model”. The paper says all its models were trained for a total of 300 billion tokens. GPT-3 used a context window of 2,048 tokens.

Google's course says Transformers contain hundreds of billions or even trillions of parameters. It adds that research shows models with more parameters consistently outperform models with fewer.

OpenAI did not publish the size of GPT-4. Its report says it “contains no further details about the architecture (including model size), hardware, training compute, dataset construction, training method, or similar.”

Size is not the only lever. The training section below describes a model with 100 times fewer parameters that human raters preferred.

The Transformer inside

Most LLMs are built on one design. Google's course calls the Transformer the most successful and widely used architecture for LLMs. The survey agrees: LLMs are “mainly built upon the Transformer architecture”.

The design comes from a paper by researchers at Google Brain and Google Research, submitted on June 12, 2017. Its title is “Attention Is All You Need”. The authors wrote: “We propose a new simple network architecture, the Transformer, based solely on attention mechanisms, dispensing with recurrence and convolutions entirely.”

The paper tested translation, not chat. On the English-to-French task its model reached a BLEU score of 41.8 after 3.5 days of training on eight GPUs.

The key idea is self-attention. For each token, it asks: “How much does each other token of input affect the interpretation of this token?” Google's example is the sentence “The animal didn't cross the street because it was too tired.” The word “it” should point to the animal, not the street.

Recurrent networks read “token by token”. Google's course says large language models can instead evaluate the whole context at once.

How an LLM is trained

Training runs in stages.

Pre-training. Anthropic defines pretraining as training on “a large unlabeled corpus of text”. Its glossary warns that pretrained models “are not inherently good at answering questions or following instructions”. OpenAI says GPT-4 learned from publicly available data and data licensed from third-party providers.

Fine-tuning. Anthropic defines fine-tuning as further training of a pretrained model using additional data. Google's course names a related step, instruction tuning, which can improve a model's ability to follow instructions.

Human feedback. In 2022 OpenAI researchers described the method behind InstructGPT. Labelers wrote demonstrations of the desired behavior, and the team fine-tuned GPT-3 on them. Labelers then ranked model outputs, and the team trained further with reinforcement learning from human feedback.

The result is a smaller model that raters preferred. In human evaluations on the authors' prompts, “outputs from the 1.3B parameter InstructGPT model are preferred to outputs from the 175B GPT-3, despite having 100x fewer parameters.” The authors add that InstructGPT “still makes simple mistakes”.

Training is costly. Google's course lists multiple months, enormous computational resources and electricity.

What LLMs do well and where they fail

Google's course says LLMs “can generate clear, easy-to-understand text for a wide variety of target audiences”. It names three tasks: generating text, translating it and summarizing documents.

One claim is disputed. Google's course says some researchers claim LLMs can make predictions for input they were not explicitly trained on, and that other researchers have refuted this.

The failures are documented by the builders themselves. Google's course says: “LLMs hallucinate, meaning their predictions often contain mistakes.” It adds that LLMs can exhibit bias, like all machine learning models.

OpenAI's GPT-4 report says the model “is not fully reliable (it “hallucinates” facts and makes reasoning errors).” It also lists a limited context window and that the model does not learn from experience. The report asks for “human review, grounding with additional context, or avoiding high-stakes uses altogether”.

There is progress too. OpenAI says GPT-4 scores 19 percentage points higher than its latest GPT-3.5 on internal, adversarially designed factuality evaluations. That is OpenAI's own test, not an independent one.

Sources

  • Wayne Xin Zhao et al., A Survey of Large Language Models (arXiv 2303.18223, first submitted March 31, 2023, version 19 of March 18, 2026): https://arxiv.org/abs/2303.18223
  • Google for Developers, Machine Learning Crash Course, Introduction to Large Language Models: https://developers.google.com/machine-learning/crash-course/llm
  • Google for Developers, LLMs: What's a large language model?: https://developers.google.com/machine-learning/crash-course/llm/transformers
  • Anthropic, Glossary (Claude documentation): https://platform.claude.com/docs/en/about-claude/glossary
  • Tom B. Brown et al., Language Models are Few-Shot Learners (arXiv 2005.14165, May 28, 2020): https://arxiv.org/abs/2005.14165
  • Ashish Vaswani et al., Attention Is All You Need (arXiv 1706.03762, June 12, 2017): https://arxiv.org/abs/1706.03762
  • Long Ouyang et al., Training language models to follow instructions with human feedback (arXiv 2203.02155, March 4, 2022): https://arxiv.org/abs/2203.02155
  • OpenAI, GPT-4 Technical Report (arXiv 2303.08774, March 15, 2023): https://arxiv.org/abs/2303.08774

Share this article

Add AI-News as a preferred source on Google

Add AI-News as a preferred source on Google

Post navigation

Previous: What Is MCP? The Model Context Protocol Explained
Next: Tokens and Context Windows: What the Numbers Mean

Related stories

Wooden clipboard with a sheet of green and red squares and a pencil, illustrating AI safety
  • Basics

What Is AI Safety? The Main Ideas, With Sources

EditorialNovember 6, 2026
Monitor showing blurred text with coloured dots above four small cards, illustrating AI search
  • Basics

What Is AI Search? Perplexity and How Answer Engines Work

EditorialNovember 6, 2026
Open laptop beside a paper checklist with tick marks, illustrating prompt engineering basics
  • Basics

Prompt Engineering Basics: What the Vendors Recommend

EditorialNovember 6, 2026

Never miss an article

Subscribe via RSS

Add the feed address to a feed reader and new articles arrive on their own.

Related categories

  • Basics
  • Business
  • Hardware
  • Models
  • Policy
  • Safety
  • Science
  • Tools

ABB RoboticsAcquisitionsAcrobatAdobeAgent harnessAgentic AIAgentic CommerceAgentsAI AgentsAI chipsAI Data CentersAI InvestmentAI ModeAI ModelsAI RegulationAI securityAI stocksAI ValuationAir Traffic ControlAlpamayoAlphabetAlphaGenomeAMDAndroid GoAnthropicAPIApiiroApplied ComputeAuditingAutonomous DrivingAutopilotAzureBallot MeasuresBankingCaliforniaCapitalGCarbon EmissionsCaterpillarCEO SuccessionCerebrasChatGPT WalletChinaChina ChipsChip smugglingCitibankClaudeClaude CodeCodingColette KressCompilersComputer UseConfidential ComputingCopilotCorporate GovernanceCrusoeCyberattacksCybersecurityData Center CPUsData CentersDDR6DeciderDecision ModelsDeepMindDeepSeekDeveloper APIDrug DiscoveryDynamoEarningsElon MuskEmbeddingsEPYCEUExport controlsFAAFine-tuningFlight DisruptionFRCFunction CallingFundingGas turbinesGeminiGemini 4 CarbonGemini 4 HydrogenGemini 4 NeonGemini APIGemini appGemini for healthcareGemini RoboticsGenie 4GenomicsGitHubGoogleGoogle AntigravityGoogle ClassroomGoogle CloudGoogle DeepMindGoogle SearchGoogle Threat IntelligenceGoogle TPUGPT-6 AstraGPUGrokHallucinationHBMHealthcare AIHistoryHugging FaceHumanoid robotsHy4HyperscalersIBMInferenceIntelIntel FoundryInteractive ConnectorsIPOIsomorphic LabsJavaJEDECJensen HuangJet enginesKimiKPMGKV CacheL3HarrisLangChainLanguage ModelsLeanLLMLocateLuxmacOSMCPMCP AppsMegaspeedMemoryMetaMeta AIMicrosoftMicrosoft 365Microsoft CopilotMidterm electionsMLCommonsMLPerfMobile AIMoratoriumMultimodalNasdaqNational SecurityNet ZeroNetwork OutageNighthawkNVIDIAOffice in CopilotOpen DataOpen weight modelsOpen-weightOpenAIOpenJDKOutageOutlookPalo Alto NetworksPerplexityPetitionPower generationProject GeniePromptingQuantum ComputingQuantum HardwareQwenRAGReasoningRegulationRiemann hypothesisRobot SafetyRoboticsRubin HPCSafetySearchSEC InvestigationSecuritySingle-cell biologySMART SystemSoftBankSoutheast AsiaStationeryBenchSupercomputersSupercomputingTencentTogether AITokensTool RetrievalTOP500TransformerTSMCUS CongressUS MidtermsValuationVera RubinVision Language ActionWeather ForecastingWeatherNextWells FargoWorld ModelsWyomingxAIZen 6

You may have missed

A wall of closed metal drawers with a single drawer pulled open, suggesting a tool library opened only when needed, with the
  • Tools

Google adds Tool Retrieval to Gemini API to trim tool schemas

EditorialNovember 23, 2026
Compact automotive computing module with a heat sink on a workbench beside a camera lens, with a city street behind at dusk
  • Models

NVIDIA Releases Alpamayo 2 Edge, a Compact Open Driving Model

EditorialNovember 23, 2026
A dim server room aisle with dark racks and a single rack glowing red status lights, with the Google logo in the lower left
  • Safety

Google says hackers automated vulnerability hunting with no human

EditorialNovember 23, 2026
Heavy closed steel bank vault door in a dim marble hall with a small brass key on a stone counter
  • Business

Wells Fargo and Citi Tell Customers AI Agent Risk Is Theirs

EditorialNovember 23, 2026
AI-News

AI-News for the web

Navigation

  • Home
  • Basics
  • Posts

Subscribe

  • RSS feed
  • Add AI-News as a preferred source on Google

    Add AI-News as a preferred source on Google

About

A blog about software, design, and the occasional stray thought.

© 2026 AI-News.