Quickstart: compare models in the playground
In this quickstart, you send a prompt to a Mistral model in the Studio›Studio ↗ playground, change the temperature to see its effect, and compare the answer of a second model. It takes about 5 minutes and needs no code. Use it to choose a model and its parameters before you call the API from your application.
Before you begin
- A Mistral account ↗ with access to Studio.
1. Open the playground
- Open the Studio console.
- In the Studio navigation, select
Playground.
The playground opens a chat interface where you can send prompts to the available models.
2. Send a prompt
-
In the
Modellist, selectmistral-small-latest. -
Enter the following prompt:
Explain the difference between supervised and unsupervised learning in three sentences. -
Select
Send, or press Enter.
The model's answer appears in the chat panel.
3. Change the temperature
The temperature controls how much the output varies: a low value gives focused, repeatable answers, a high value gives more varied ones.
- In the parameters panel, set
Temperatureto0.1, then send the same prompt. - Set
Temperatureto0.9, then send the same prompt again.
The parameters panel also has Max tokens, which limits the length of the answer, and Top P, an alternative to the temperature for controlling diversity.
4. Compare two models
- In the
Modellist, selectmistral-large-latest. - Send the same prompt.
You should see
- Three sentences that contrast the two kinds of learning, from each model.
- At
0.1, an answer that changes little when you send the prompt again. At0.9, more variation in wording and examples. - Differences in length, detail, and style between
mistral-small-latestandmistral-large-latest.
Note the model and the temperature that suit your task: you pass the same values as model and temperature when you call the API.