May we use cookies so Meta, Google, LinkedIn and ChatGPT see your visit and we learn which ads work? PrivacyMay we use cookies to see which pages help, and let Meta, Google, LinkedIn and ChatGPT see your visit, so we know which of our ads work? That way we spend less on ads that do not work. We do not sell your data, and the site works the same if you decline. You can change your answer at any time under Cookie settings at the foot of the page. Privacy policy
Loading...
AI Engineering · Serving And Inference
Free preview: the first 2 parts of this 35-part lesson.
Already bought the course? Sign in to read the whole lesson.
this lesson is part of
Generative AI and Agentic AI Engineering
Unlock this lesson and the 208 other paid lessons
$35 once, by card or PayPal
See the Generative AI and Agentic AI courseread the rest of this lesson in
Generative AI and Agentic AI Engineering
Unlock this lesson and the 208 other paid lessons
$35 once, by card or PayPal
See the Generative AI and Agentic AI coursein Serving And Inference
This lesson is part of the AI Engineering course. Unlock the full course, a separate one-time payment, for lifetime access.
One-time payment by card or PayPal
Get Lifetime AccessOne-time payment: UPI, card or netbanking
Get Lifetime AccessFoundation lessons of this course are free, no payment needed. Try them now
Before a small plane takes off, the pilot walks around it with a list on a clipboard. She looks at the propeller, the fuel, the tyres and the flaps on the wings, one line at a time. She has done this hundreds of times, and she still reads the list.

She does not read the list because she forgets things. She reads it because each line was written after something went wrong once. Reading it takes two minutes; skipping a line can cost the whole flight.
This chapter has built a long list of that kind. Each lesson took one question about running a model for real users, and measured the answer on a rented computer. In this last lesson I put the answers together into one service and race it against a plain service that ignores them. Both run on one computer, under one stream of traffic, with one slow helper behind them.
This is lesson 12, the last lesson of the chapter on serving a model. Serving a model means running it as a small program that answers questions while people wait. That program is called a service.
The model is the one from the features chapter. It reads six numbers about one customer of a real online shop, such as how many days have passed since their last order. It gives back a score between 0 and 1: how likely that customer is to buy again in the next 30 days.
Lessons 1 to 11 each changed one thing and measured what happened. None of them changed everything at once. That leaves a fair question, one a real team asks on its first day. If I build the service with every one of these choices, what do I get? And is it better than the simple version?
So the question of this lesson is this: what does a service built with the chapter's measured choices look like? And how does it compare with a plain one, measured in one way, on one machine?