How AI works
Educational simulationFrom voice to reply
Input
When does the train leave?
Output
The next train leaves at 18:40.
InputAudio frame features
Model layers · Speech recognizer
OutputQuestion transcript
The transcript goes to the language model.
Answer tokens (illustrative)
The nexttrainleavesat18:40.Model, tools and application
Model
Transforms data
A language model scores possible continuations. Models for other formats can encode audio or generate images.
Harness
Manages tools
It extracts text from files, calls search, gives results to the model and checks which actions are allowed.
Application
Provides the workspace
ChatGPT assembles conversation context. Codex can also work with project files, run commands and run checks.
Sources and simulation limits
- Attention Is All You Need: attention and feed-forward sublayers.
- GLIDE: diffusion-based image generation.
- Denoising Diffusion Probabilistic Models · Ho et al.
- OpenAI: audio: chained and direct audio processing.
- OpenAI: retrieval: retrieving relevant passages.
- CLIP · Radford et al. / Faiss