Skip to main content

Introduction

Although there are many forms of Artificial Intelligence (AI), the modern ambassadors of AI are Large Language Models (LLMs) like ChatGPT or Claude. These models are trained on massive amounts of text and can generate new text that is often barely distinguishable from human writing. They can answer questions, summarize information, translate languages, and even write poetry or code.
This section explores how these models work by walking through how the GPT-2 model processes text.