Day 14: Training, pre-training, fine-tuning and post-training

Today, I learned about training, pre-training, fine-tuning, and post-training.
Here’s the simplest way to think about it:
1Training
- The process of updating a model’s weights so it can learn or improve.
2Pre-training
- The model starts from scratch with random weights.
- It learns language, patterns, and general knowledge from massive amounts of data.
- This is the most compute-intensive stage of building an LLM (a lot).
3Fine-tuning
- A pre-trained model is trained on a specific dataset.
- It adapts the model for a particular domain/task.
- Since the model already has general knowledge, it requires much less compute.
4Post-training
- This stage improves how the model behaves.
- It helps the model follow instructions, align with human preferences, and generate safer responses.
- Most production AI models go through post-training before they’re released.
Day 14 done ✓ 1% better today
Krina Vaghela