Select and configure a model
Choose a deployment that supports the input, location, capacity and response behavior a workload needs.
Select and configure a model
Work through the decision
A curator wants short labels from photographed objects. A text-only deployment produces fluent descriptions when given only filenames. What should the team change first?
Check your reasoning
Use a deployment that accepts image input and send the actual photograph with the instruction. A filename can suggest a plausible answer without giving the model any pixels. Test with two different exhibits that have the same generic filename.
Compare the choices
- Input modality
- Match required inputs and outputs to the model and deployed API. A vision-capable input model can accept both instructions and pixels.
- Context window
- Budget space for instructions, source material, history and the response. Retrieve relevant passages when a full collection will exceed the limit.
- Temperature
- Where supported, sampling temperature influences variation in token selection. Evaluate consistency on repeated prompts.
- Maximum output tokens
- Set a response budget appropriate to the task. Inspect completion status for truncation and test long inputs separately.
- Regional deployment scope
- Check the processing geography, model availability and permitted deployment type against residency requirements.
- Provisioned throughput
- Reserve supported capacity for a predictable workload when sustained demand and cost justify the commitment.
- Next-token prediction
- The model estimates a distribution for the next token, adds the selected token and repeats. Attention relates positions in the available context.
Test the decision
A transformer generates a sequence by scoring possible next tokens using the preceding context. Attention lets the model weight relationships among those tokens. Fluent output still needs evidence from the exhibit record.
Practice the guide skills
- Given two plausible next tokens after “Children under five enter”, explain how the preceding text affects token probabilities and why plausibility cannot establish museum policy. Watch 9:27
- Compare a text-only model with an image-capable model on two photos with identical filenames. State which input the winning deployment needs. Watch 11:13
- For a region-limited exhibit guide, inspect deployment availability, throughput, output length and supported sampling settings. Define a repeatable playground test. Watch 12:53
Official objectives for this lesson
Related lesson · Choose a model family by the deliverable
Select and configure a model quiz
Answer 3 questions. Check each answer for an explanation.