Focuses on model adaptation and deployment readiness, not broad data science theory or from-scratch model research.
// AIINFRA 201 · Semester 2
Model Adaptation — Fine-Tuning & Quantization
Customize and compress open-weight LLMs on consumer and cloud GPUs
This hands-on course teaches adult learners to adapt open-weight language models to specific tasks and domains without enterprise-scale hardware. Students learn to decide when to fine-tune versus prompt-engineer or use RAG, build and format instruction datasets, and run supervised and parameter-efficient fine-tuning (LoRA, QLoRA, PEFT) plus preference tuning with DPO using Hugging Face, Unsloth, and Axolotl. The course also covers quantization formats (GGUF, AWQ, GPTQ, FP8), KV-cache quantization, and knowledge distillation to shrink models for deployment. Learners evaluate adapted models, guard against overfitting and catastrophic forgetting, and address the licensing and ethics of model weights and training data.
Canvas IMSCC Export
Download the complete Canvas import package for AIINFRA 201.
Outcomes
Course objectives
- Evaluate a task and choose correctly among prompt engineering, retrieval-augmented generation, and fine-tuning, justifying the decision by cost, data availability, and hardware limits.
- Build, clean, and format instruction and chat datasets and run supervised and parameter-efficient fine-tuning (LoRA, QLoRA, PEFT) on a single consumer or cloud GPU.
- Apply preference tuning with DPO and track experiments to improve a model while avoiding overfitting and catastrophic forgetting.
- Quantize models into GGUF, AWQ, GPTQ, and FP8 formats and analyze the resulting precision, quality, and memory tradeoffs.
- Assess licensing and ethical constraints on model weights and training data and package an adapted, quantized model for serving.
Student learning outcomes
- Choose correctly among prompt engineering, RAG, and fine-tuning for a given task, cost, and hardware budget.
- Build instruction/chat datasets and run SFT and parameter-efficient fine-tuning (LoRA/QLoRA/PEFT) on a single GPU.
- Apply DPO preference tuning and track experiments while avoiding overfitting and catastrophic forgetting.
- Quantize models to GGUF, AWQ, GPTQ, and FP8 and analyze precision, quality, and memory tradeoffs.
- Evaluate model-weight and training-data licensing/ethics and package an adapted, quantized model for serving.
16-week schedule
Course evidence and boundaries
These controls make the curriculum reviewable without changing the 10-course sequence.
LoRA/QLoRA or quantization artifact with dataset card, evaluation comparison, and serving handoff note.
Dataset provenance, PII/privacy review, model/license note, and safe adapter-release checklist.
Adapter or quantized model package, evaluation report, model card, serving notes, and reproducibility instructions.
Foundry-backed assignments
These assignments are written in platform-agnostic language. They assess infrastructure evidence, not familiarity with a single vendor console.
Custom Adapter Training
Teams train a task-specific LoRA/QLoRA adapter with scheduled foundry GPU time, compare base versus adapted behavior, and package the result for serving or handoff.
Evidence: Dataset card, baseline and post-training evaluation, training logs, adapter artifact, model card, compute profile, and cost comparison.
STEM Dataset Preparation Extension
Students working with STEM partners add domain meaning to dataset prep: units, variables, plausible outputs, unacceptable errors, versioning, and reproducible splits.
Evidence: Data card, domain note, infrastructure note, preprocessing script, data version, random seeds, and evaluation split.