βš™οΈ how

How does ChatGPT work?

TechnologyArtificial Intelligence

Quick Answer

ChatGPT is a large language model that predicts the next word-piece in a sentence, trained on vast amounts of text and then fine-tuned with human feedback.

The Full Story

ChatGPT is built on a type of neural network called a transformer, introduced by Google researchers in the 2017 paper Attention Is All You Need. During training, the model reads enormous amounts of text and learns to predict the next token, a chunk of text about three-quarters of a word long, adjusting billions of internal settings called parameters. It is then fine-tuned using a method called reinforcement learning from human feedback, where people rate its answers so it learns to be more helpful and safe. When you type a question, it generates a reply one token at a time, choosing likely words based on patterns rather than looking facts up in a database. That is why it can write fluently but sometimes produces confident mistakes, known as hallucinations.

Key Facts

1.OpenAI launched ChatGPT on 30 November 2022.
2.It reached an estimated 100 million users in about two months, then a record for a consumer app.
3.OpenAI said in 2025 that ChatGPT had around 800 million weekly users.

YouTube Angle

Suggested video title for this topic:

"What Is Really Happening When You Talk to ChatGPT?"