AI Training Foundations
Start here. Learn the difference between pretraining, fine-tuning and prompting, how to turn a vague idea into a measurable task, how to pick a base model, and why a small, clean dataset beats a large, messy one.

Lessons
1. What it means to train an AI model
Pretraining, fine-tuning, preference training and prompting are four different levers. Knowing which one you're pulling saves weeks.
2. Define the task and its success criteria
A model can only get better at something you can measure. Turn an idea into a task spec with inputs, outputs and a score.
3. Choose a base model
Bigger is usually more capable and always slower and dearer. Pick on measured accuracy against your latency and cost budget.
4. Curate data that teaches
A thousand carefully chosen examples can do more than a hundred thousand scraped ones. Clean, cover the edge cases, hold some back, and write it down.
Sources
Every source cited across this course's lessons.
- Vaswani, A. et al. (2017). Attention Is All You Need. NeurIPS 2017 · arXiv:1706.03762.
- Kaplan, J. et al. (2020). Scaling Laws for Neural Language Models. arXiv:2001.08361.
- Brown, T. et al. (2020). Language Models are Few-Shot Learners. NeurIPS 2020 · arXiv:2005.14165.
- Hu, E. et al. (2021). LoRA: Low-Rank Adaptation of Large Language Models. ICLR 2022 · arXiv:2106.09685.
- Ouyang, L. et al. (2022). Training language models to follow instructions with human feedback. NeurIPS 2022 · arXiv:2203.02155.
- Zinkevich, M. (2017). Rules of Machine Learning: Best Practices for ML Engineering. Google for Developers.
- Liang, P. et al. (2022). Holistic Evaluation of Language Models. TMLR 2023 · arXiv:2211.09110.
- Vercel (2025). AI Gateway documentation. vercel.com/docs.
- Zhou, C. et al. (2023). LIMA: Less Is More for Alignment. NeurIPS 2023 · arXiv:2305.11206.
- Gebru, T. et al. (2018). Datasheets for Datasets. Communications of the ACM · arXiv:1803.09010.