Lesson 19 Choosing Models
Theme:

Homework

Complete these tasks before Lesson 20. Tasks 1 and 2 require written analysis; Task 3 is a structured recommendation document. The goal is to practice the decision framework from this lesson on realistic scenarios.

Task 1: Model Routing Strategy for Customer Support

Goal: Design a multi-model routing strategy that balances cost and quality for a high-volume customer support system.

Scenario

You are the ML engineer at a SaaS company. Your customer support system handles 50,000 tickets per day. Based on historical data, tickets break down as follows:

TierPercentageVolume/DayDescription
Simple60%30,000FAQ-style questions, status checks, basic instructions
Medium30%15,000Account-specific issues, troubleshooting, multi-step solutions
Complex10%5,000Billing disputes, escalations, edge cases requiring reasoning

Instructions

  1. Assign a model to each tier. Justify your choice based on the six selection criteria.
  2. Calculate the monthly cost for your routing strategy. Assume average token usage per tier:
    • Simple: 150 input tokens, 50 output tokens
    • Medium: 400 input tokens, 200 output tokens
    • Complex: 800 input tokens, 500 output tokens
  3. Calculate what the monthly cost would be if you used a single model (the one assigned to your Complex tier) for all 50,000 tickets. What is the savings from routing?
  4. Describe how you would implement the router: what signal(s) would you use to classify ticket complexity?

Deliverable

A structured document (markdown, text, or notebook) with your model assignments, cost calculations, and router design.

Self-check

Task 2: Benchmark Limitations Analysis

Goal: Develop critical thinking about benchmark scores by finding where they fail to predict real-world performance.

Instructions

  1. Go to a public benchmark leaderboard. Good options:
  2. Identify a model that ranks in the top 5 on at least one benchmark.
  3. Design a practical task (something you might use in production) where you believe that model would underperform a lower-ranked model. For example:
    • A model that tops HumanEval but struggles with a complex multi-file refactoring task
    • A model with the highest MMLU score but poor instruction-following on structured output
    • A model with the best Chatbot Arena Elo but highest latency, making it impractical for real-time use
  4. If possible, test your hypothesis by running the task on both models and comparing results.
  5. Write a 200–300 word analysis explaining:
    • Which benchmark the model leads on and what that benchmark measures
    • What your practical task requires that the benchmark does not test
    • Why the benchmark score was misleading for your use case
    • What this implies about how benchmarks should be used in model selection

Self-check

Task 3: Model Recommendation Memo

Goal: Write a professional recommendation memo that a non-technical stakeholder could use to make a model selection decision.

Scenario

Choose one of the following business scenarios (or create your own):

Memo Structure

Your memo should be approximately one page and include:

  1. Executive summary (2–3 sentences): What model do you recommend and why?
  2. Requirements analysis: Map the business requirements to the six selection criteria.
  3. Options evaluated: List the 3–4 models you considered with a one-line rationale for each.
  4. Recommendation: Your chosen model with justification across all six criteria.
  5. Cost projection: Monthly cost estimate at the stated volume.
  6. Risks and mitigations: What could go wrong with your choice and how to address it.

Self-check

Submission

There is no formal submission for this course. These tasks are for your own development. However:

Next lesson: Lesson 20 — Tokenization Deep Dive — beginning Module 4: Architecture Deep Dive.