Project 01 · Multi-Model Comparison Lab
Project· 4–6 hours· Lesson 18 of 129
The notebook opens in your lab, in a new tab. If your server is stopped, it starts first (a few seconds).
Project requirements
- Extract a
JobPosting(title, company, seniority, work mode, skills, salary range orNone) from the 10 postings indata/samples/job-postings/. - Run at least 3 configurations:
openai/gpt-oss-20b,openai/gpt-oss-120b, and one more (default: Groq previewqwen/qwen3.8-27b; optional: paidgpt-6-luna). - For each: schema-valid rate, field-level accuracy against the hand-labelled answer key, median and max latency (excluding client-side throttling), total tokens, estimated cost.
- Stream one example live. Batch the rest with a concurrency limit and a rate limiter.
- Trace everything to the LangSmith project
m01-comparison-lab.
Before you start
Lessons 01.01–01.08
Python in this lesson
Python guideNew hereMerging dicts with ** ({**a, **b})Nested comprehensionsFunctions inside functions (closures)abs()map() and filter()
