What is the difference between Pretraining and Supervised Fine-Tuning (SFT)?
Pretraining trains a model on trillions of raw web tokens to learn grammar, factual world representations, and reasoning patterns. However, a pretrained base model merely autocompletes text. SFT trains the base model on curated conversation pairs, teaching it to follow user instructions.
Answered in
How Large Language Models Are Trained: Pretraining, Tokenization, Supervised Fine-Tuning, and AlignmentAn engineering deep-dive into LLM training: data curation, BPE tokenization, GPU cluster parallelism, cross-entropy loss, SFT, and DPO alignment.
Read the full analysisOther questions this article answers
More how ai actually works questions
- Does AlloyDB's ai.tune_sql automatically change my database?
- Which AlloyDB instances can use the preview?
- Can ai.tune_sql rewrite a parameterized query?
- What does headless mode in Intelligent Terminal 0.3 do?
- Does this guarantee a task survives a reboot or machine failure?
- Can the sidebar show an agent's status?
- What changed in AMD’s Ray beta?
- Which software versions does AMD list for Ray 2.59 on ROCm?
Every answer on Crashtech is written by the editor of the article it comes from — never auto-summarised. Browse all answers or the How AI Actually Works beat.