r/learnmachinelearning • u/Glass-Garden-5888 • 20d ago
What actually happens when you press Enter on ChatGPT? (Sending a request to a remote LLM)
I made a 14-minute video that follows one question from the Enter key to the GPU and back.
What it covers:
- The trip: your message leaves as JSON, goes through the nearest edge server, then about 6,400 km of cable under the Atlantic
- OpenAI's front door: login, limits, and tokenization
- The data centre: a rack of 72 GPUs, and why your question is batched with thousands of others
- Inside the model: embeddings, a real attention head, MLP neurons, 12 layers, the softmax vote, temperature, and the loop that writes one token at a time
- The way back: the answer streams to your screen word by word
OpenAI's internals aren't public, so the model part uses GPT-2 small (same design, open weights), and every number on screen is measured on it. Where the ChatGPT side is likely or illustrative, the video says so. The narration is an AI voice.
Video: https://youtu.be/GWjA5eHIXXk