Nepedia
Back to Discover
Fluent Reader
💻

Large language model

technology Maturity 9-11 Next article →

A large language model, or LLM, is a powerful computer program.

The-Transformer-model-architecture
The-Transformer-model-architecture

It is designed to understand and use human language. These models are trained on huge amounts of text data. This data helps the model learn how words fit together. LLMs can do many different jobs with text. They can summarize long stories or translate one language to another. They can even use reasoning to solve problems.

The number of publications about Large Language Models by year
The number of publications about Large Language Models by year

To work, an LLM must turn words into numbers. This first step is called tokenization.

The-Transformer-model-architecture
The-Transformer-model-architecture

Computers cannot read letters, so they use small pieces called tokens. A method called byte-pair encoding helps group common characters together. Once the text is tokens, the model uses math to find patterns. Most modern LLMs use a special structure called a transformer architecture. This allows the model to look at many parts of a sentence at once. This makes it much faster and better at handling long pieces of text.

People have been working on language models for a long time. In the early 1990s, IBM researchers worked on ways to translate words. By 2001, models were trained on 300 million words. In 2017, Google researchers changed everything with a paper called "Attention Is All You Need." This paper introduced the transformer architecture we use today. In 2018, a model named BERT became very popular. Later, OpenAI released GPT-1 in 2018 and GPT-2 in 2019.

Trends in AI training FLOP over time (2010-2025)
Trends in AI training FLOP over time (2010-2025)

There are many different famous models to know. GPT-3 arrived in 2020 and was very large. In 2022, the chatbot ChatGPT became famous all over the world. GPT-4 came in 2023 and could handle many different types of information.

Estimated training cost of some AI models - 2024 AI index
Estimated training cost of some AI models - 2024 AI index

In 2024, OpenAI released o1, which thinks through steps before answering. There are also open-weight models like LLaMA and Mistral. In January 2025, DeepSeek released R1, which has 671 billion parameters. Training these huge models is very expensive. For example, the PaLM model cost 8 million dollars to train.

LLMs are a lot like how you learn to read. When you read books, you learn how sentences are built. LLMs do the same thing by looking at massive datasets. However, they can sometimes learn bad habits from the text. If the human text has mistakes or biases, the LLM might repeat them. Scientists use benchmarks to test if a model is accurate and safe.

LLM emergent benchmarks
LLM emergent benchmarks

Some new models are also multimodal. This means they can work with images and audio too. This connects text to the rest of the digital world.

413 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (8)
File:The number of publications about Large Language Models by year.png
The number of publications about Large...
File:Trends_in_AI_training_FLOP_over_time_(2010-2025).svg
Trends_in_AI_training_FLOP_over_time_(2010...
File:Large-scale_AI_training_compute_(FLOP)_vs_Publication_date_(2017-2024).svg
Large-scale_AI_training_compute_(FLOP)_vs_...
File:The-Transformer-model-architecture.png
The-Transformer-model-architecture.png
File:Estimated_training_cost_of_some_AI_models_-_2024_AI_index.jpg
Estimated_training_cost_of_some_AI_models_...
File:Multiple attention heads.png
Multiple attention heads.png
File:LLM emergent benchmarks.png
LLM emergent benchmarks.png
File:Energy consumption per ChatGPT query compared to everyday electricity use.png
Energy consumption per ChatGPT query...
More to explore

🔬 Go deeper

More advanced topics to explore

🪜 Step back

Simpler topics to build understanding

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.