2 Sources
[1]
Large language models: how the AI behind the likes of ChatGPT actually works
University of Sheffield provides funding as a founding partner of The Conversation UK. The arrival of AI systems called large language models (LLMs), like OpenAI's ChatGPT chatbot, has been heralded as the start of a new technological era. And they may indeed have significant impacts on how we
[2]
Large language models: How the AI behind the likes of ChatGPT actually works
The arrival of AI systems called large language models (LLMs), like OpenAI's ChatGPT chatbot, has been heralded as the start of a new technological era. And they may indeed have significant impacts on how we live and work in the future. But they haven't appeared from nowhere and have a much longer
Share
Copy Link
An in-depth look at the history, development, and functioning of large language models, explaining their progression from early n-gram models to modern transformer-based AI systems like ChatGPT.

Large Language Models (LLMs) like ChatGPT, which have recently gained significant attention, have a rich history dating back to the mid-20th century. The concept of language models, mathematical representations of language based on probabilities, was first introduced by Claude Shannon, an IBM researcher, in 1951
1
2
. Shannon's approach utilized n-grams, sequences of words, to estimate the probability of word occurrences within text.Early language models faced limitations in representing connections between distant words in a sentence. To address this, researchers developed models based on neural networks, AI systems inspired by the human brain's functionality
1
. These neural network-based language models could better represent word connections, relying on numerous numerical parameters to understand these relationships.A significant breakthrough came in 2017 with the introduction of transformers, a new type of neural network
1
2
. Transformers revolutionized language modeling by processing all input words simultaneously, allowing for parallel training across multiple computers. This innovation enabled the creation of much larger language models trained on vastly more data than ever before.Modern LLMs, built on transformer architecture, can be trained on an unprecedented scale. Some models are trained on over a trillion words, equivalent to more than 7,600 years of reading for an average adult
1
2
. These models often contain over 100 billion parameters, allowing them to perform a wide range of language tasks beyond simple word prediction.LLMs learn through a process similar to how humans learn language, by analyzing vast amounts of text data. They can be trained on various tasks, including:
Recent developments have added interactive capabilities to LLMs, allowing users to engage with them through prompts. This feature has led to the creation of generative AI systems like ChatGPT, Google's Gemini, and Meta's Llama
1
2
.Related Stories
The latest LLMs incorporate reinforcement learning techniques, similar to those used in teaching computers to play chess. This process involves human feedback on the AI's responses, which helps guide and improve the model's future outputs
2
. This iterative learning process contributes to the continuous improvement and adaptability of these AI systems.While LLMs represent a significant leap in AI technology, it's important to note that many of us have been unknowingly using their underlying principles in everyday technology. Features like predictive text on smartphones and smart speaker interactions are based on similar language modeling concepts
1
2
.As LLMs continue to evolve, they are expected to have far-reaching impacts on how we live and work. Their ability to understand and generate human-like text opens up possibilities for applications in various fields, from content creation to complex problem-solving tasks.
Summarized by
Navi
[1]
13 Jan 2026•Science and Research
13 May 2025•Science and Research

23 Jul 2025•Science and Research

1
Technology

2
Technology

3
Technology
