What are Large Language Models LLM?
As in that example, the input to the neural network is a sequence of words, but now, the outcome is simply the next word. In other words, we simply want to learn how to predict the next word at any time. Let’s discuss this next — and just know that in a bit, we’ll also get to learn what the GPT in ChatGPT stands for.
These models are pre-trained on trillions of tokens, collected from publicly available datasets. Like early GPT models, GPT-4 was first pre-trained to predict next tokens on large text corpora, and then fine-tuned with RLHF to align model behaviors with human-desired ones. The resultant InstructGPT models have shown improvements in truthfulness and reductions in toxic output generation while having minimal performance regressions on public NLP datasets. Starting with a set of labeler-written prompts and prompts submitted through the OpenAI API, a dataset of labeler demonstrations of the desired model behavior is collected. Fig 9 plots the performance of GPT-3 as a function of the number of examples in in-context prompts. Although early GPT models, such as GPT-1 and GPT-2, are open-source, recent models, such as GPT-3 and GPT-4, are close-source and can only be accessed via APIs.
The Koala-13B model performs competitively with state-of-the-art chat models according to human evaluation based on real-world user prompts. Koala is yet another instruction-following language model built on LLaMA, but with a specific focus on interaction data that include user inputs and responses generated by highly capable closed-source chat models such as ChatGPT. Then, an initial version of LLaMA-2 Chat is built via supervised fine-tuning.
It is built with a large total parameter count and a smaller active parameter subset per token, delivering frontier-level reasoning and coding performance while maintaining inference efficiency. Built as multimodal and tool-enabled reasoning systems, these models are designed for conversational AI, agentic task execution, long-context reasoning, and real-time information retrieval. Released in April 2025, Llama 4 is Meta’s open-weight, natively multimodal model family built with a mixture-of-experts (MoE) architecture. Alibaba also introduced Qwen3.5-Plus, a hosted version available through Alibaba Cloud Model Studio, featuring a 1M-token context window and built-in tool support with adaptive tool use. Qwen2.5-Max utilizes a Mixture of Experts (MoE) and is pre-trained on over 20 trillion tokens with RLHF and SFT.
We have actually just learned what the G stands for, namely “generative” — meaning that it was trained on a language generation pretext, which we have discussed. Speaking of ChatGPT, you could ask yourself now why it’s not called ChatLLM. From earlier in this article we’ve learned everything we need to frame that as a Machine Learning problem. We already know what large means, in this case it simply refers to the number of neurons, also called parameters, in the neural network.
It refers to AI systems with broad capabilities that can be adapted to a range of different, more specific purposes. As a term, LLM is the most specific of the three discussed here and is often used by AI practitioners to refer to systems that work with language. In the same way that an aeronautical engineer might use software to model an airplane wing, a researcher creating an LLM aims to model language, i.e., to create a simplified—but useful—digital representation.
One of the earliest examples of Research Activities in Generative AI, Large Language Models, ChatGPT, on people.cs.nott.ac.uk a language model, Eliza was a natural language processing program created in 1966. BERT is still widely used in research but has been superseded by more advanced transformer models. It was used to improve query understanding in the 2019 iteration of Google search. BERT was pre-trained on a large corpus of data, then fine-tuned to perform specific tasks along with natural language inference and sentence text similarity.
So when it classifies the sequence “the original NBC daytime version, archived” as related to television, it only has access to the vector for archived, not words like NBC or daytime. As you can see, patterns got more abstract in the later layers. However, the feed-forward layer does have access to any information that was previously copied by an attention head. So fully explaining how these systems work is going to be a huge project that humanity is unlikely to complete any time soon. They are capable of more complex reasoning than the simple sentence-completion task the Redwood team studied.
Positional encoding helps the model understand the importance of word order within a sentence, which is essential to comprehending language. These groundbreaking models can look at an entire sentence all at once, in contrast to older models that process words sequentially. LLMs are built on deep learning, a form of AI in which large amounts of data are fed into a program to train it, based on probability. However, pretraining is typically the largest and most expensive type of training and is not typical for most organizations. They work by breaking input text into tokens (subword units), embedding those tokens into numerical vectors and using attention mechanisms to understand relationships across the input. Language models are a type of generative AI (GenAI) that use natural language processing (NLP) to understand and generate human language.
