AI and ML Bootcamp · Lecture 1 · lecture notes
AI and ML Bootcamp - Orientation
In short — This orientation explains how the course is organised and what it expects. It covers where AI, ML, deep learning and LLMs sit relative to each other. It also covers what applied AI engineers do, how to stay current, and a first tool to try: OpenCode.
Course Map: Two Tracks
Two tracks in the course. The first is understanding how large language models work: core mechanics and ideas. The second is applied AI: building products on top of existing models.
- Intuition first, then build up. Math only when really needed.
- Path: history of AI -> simple statistical models -> Transformer -> modern LLMs -> optimizations.
- Most of the course is centred on the Transformer.
- Research-style topics (RL, new open models, papers) are optional or extra classes, chosen by poll.
- Only prerequisite: basic Python, i.e. how conditionals and loops work.
- Code is shared in Google Colab - a browser-based environment to run code blocks.
Planned Topics
- History of AI: early statistical models, AI winter, CNNs, AlexNet, ImageNet, Transformer, GPT, DeepSeek.
- What learning means: supervised vs unsupervised learning.
- Before Transformers: sequential models - RNNs (recurrent neural networks), LSTMs, GRUs. Why they were bad and why Transformers were needed.
- Build a single Transformer block, then the whole Transformer class, then fit it into a bigger model. Everything in PyTorch (TensorFlow is no longer used in industry).
- Inference optimizations: KV cache, kinds of attention, what DeepSeek changed.
- Fine-tuning: LoRA, QLoRA, RL fine-tuning.
- Applied AI: agent frameworks, multi-agent orchestration, MCP, skills, context engineering, multimodal.
- Paper reading: Attention Is All You Need, DeepSeek, Mixture of Experts, Flash Attention; how to read diagrams and math symbols.
- Mechanistic interpretability: studying what happens inside LLMs (how tokens activate); one or two papers.
!
Not covered explicitly: CUDA kernels and low-level GPU optimization. Needed only for ML optimization jobs.
AI vs ML vs Deep Learning vs LLMs
Nested fields (like a Venn diagram).
- Machine learning - making machines learn instead of explicitly programming them.
- Deep learning - using big neural networks to teach machines. Inside ML.
- LLMs - a subset of deep learning. Applied AI and research both sit on top.
- Generative AI - mostly images, video and other generative models.
- Applied AI - building products using models already provided by big LLM companies.
- Data science - working with large amounts of data: processing, optimizing, finding and removing bad data. Practised on Kaggle (ML contest platform with big prize pools).
Applied AI Engineer Role
The AI engineer is the new backend engineer. Decides which model and technique to use where, orchestrates them, builds vector-DB style pipelines.
- Core skills: one agent framework, orchestrating one or many agents (multi-agent), MCP servers, wrappers.
- Context engineering - designing how context and data are passed, getting structured outputs, choosing and switching models.
- Simplest view of an agent: a for loop around an LLM, but in a structured way. -> Agent
- Frameworks like LangGraph, CAMEL are built on this idea.
Project ideas that stand out
- Managing data well and passing it to the LLM with the right context. Models keep improving, but data context does not.
- Memory - an LLM session resets when closed. Tools that let users continue later are in demand.
- Contributing to open source agent repos is a way to get hired.
Why demand stays high: everyone uses the same five or six models. Value comes from orchestrating data and making the user's work easier.
Staying Updated and Exploring Open Models
- Best skill: learning to stay updated. Follow AI companies and researchers on Twitter.
- Try open-source models (DeepSeek, GLM, Qwen; Llama is open but not Chinese) and compare with GPT or Claude.
- Differences come from data: models trained on different data have different guardrails.
- DeepSeek quirk: on large inputs or responses it can start producing random Chinese characters.
- Hugging Face - GitHub for AI. Hosts models, fine-tuned versions and datasets.
- Guardrails - limits a company puts on what a model will answer. Understanding model internals shows how they work.
Trying OpenCode
- OpenCode - a coding agent that runs in the terminal (CLI). Any model can be configured.
- Install with the command from its website, then run
opencodeinside a project folder. - Switch model inside it. GLM 4.7 (from Z.ai, a Chinese lab) is free and said to be comparable to Claude Code.
- Gemini CLI - another option, usable with a Gemini API key.
- Good for: building new projects or adding features to existing ones.
!
Understand the code the model writes. Write unit tests and review. Don't just press enter on every prompt.
Glossary
- Machine learning
- Making machines learn from data instead of explicitly programming them.
- Deep learning
- ML using big neural networks. LLMs are a subset.
- Applied AI
- Building products on top of existing models from big LLM companies.
- Context engineering
- Designing how data and context are passed to a model, including structured outputs and model choice.
- Agent
- A structured loop around an LLM.
- Hugging Face
- Platform hosting models and datasets, like GitHub for AI.
- Kaggle
- Platform for machine learning contests.
- PyTorch
- Python library for writing neural networks; the course's framework.
- OpenCode
- Open-source terminal coding agent that works with configurable models.
- Mechanistic interpretability
- Studying what happens inside LLMs, such as how tokens activate.