Greedy decoding often gives safe but repetitive text, so creative writing needs sampling: a higher temperature flattens the probability distribution over tokens, giving low-probability words more chance to be selected, which introduces variety and surprise. A value around 0.7 to 1.0 is common for creative writing. The boundary is coherence: if the temperature is too high, the model may pick unlikely, incoherent tokens.
What you need
- A creative writing task, such as a story opening or a set of taglines
- Access to the temperature setting
- A note of what counts as usable output
Step 1: Start at 0.7 to 1.0
Set the temperature in the 0.7 to 1.0 range that is common for creative writing. Generate two or three variants from the same prompt.
Step 2: Pick the best variant
Read the variants and pick the one that works. Variety is the point here, so different runs should read differently.
Step 3: Lower it if the text turns incoherent
If the variants drift into nonsense or lose the thread, lower the temperature toward 0.7. At very high temperatures the model becomes incoherent, so the usable range ends where the sense does.
Worked example: synthetic creative temperature test
The table below is a synthetic example. It shows the expected result of a creative temperature test; no model was run.
| Temperature | Variants | Usable? |
|---|---|---|
| 0 | 3 nearly identical openings | Too repetitive |
| 0.8 | 3 different openings | Yes – pick the best |
| 1.5 | 3 wild openings | 1 usable, 2 incoherent |
Expected result (UNTESTED). temperature 0 repeats itself, 0.8 gives three usable different openings, and 1.5 gives mostly incoherent ones. This check was not run live; the table shows the expected result for the synthetic example.
Limits
- Higher temperature flattens the distribution, giving low-probability words more chance; too high and the model picks unlikely, incoherent tokens.
- Variety is not quality; a varied draft still needs editing.
- The same temperature behaves differently on different models and prompts, so test on your own task.
- For creative work, generate several variants and pick; a single high-temperature run is a lottery.
