Module 1: Machine Learning

Overview

This week focuses on Machine Learning fundamentals and practices. We will cover essential concepts and tools used in modern ML workflows, with a particular emphasis on PyTorch and its ecosystem.

Instructor

Muhan Zhang, PKU

Topics Covered

  • PyTorch basics
    • Installation (Linux-only)
    • Core libraries and functions
  • CNN/Transformer training
    • Training in PyTorch
    • Hyperparameter tuning
  • Introduction to Weights & Biases (WandB)
  • Reproducibility in ML experiments

Assignments

Practice Assignment: Using PyTorch, complete a simple classification task. Use WandB to record the entire experiment process, ensuring reproducibility.

Written Assignment: Write a one-page report (written in LaTeX) outlining the implementation process for Part 1 of the practice assignment. Explain the required steps and specify which PyTorch functions you used.

Additional Resources

Notes

  • Ensure you have a Linux environment set up for PyTorch installation. If you are using a different OS, consider using a virtual machine or WSL (Windows Subsystem for Linux).
  • Familiarize yourself with WandB before starting the assignment; it will be crucial for tracking your experiments.
  • Submit your assignments via Gradescope.
Previous
Next