GPT4All lets you configure prompts and sampling for a chat, so you can make answers steadier for facts or more varied for ideas. The settings sit in the chat interface, and the change shows in the next answer.
What you need
- GPT4All installed with a model downloaded
- A chat open in the GPT4All desktop app
- One repeatable test question to ask twice
Step 1: Ask the test question once
In the chat, ask a short open question and note the shape of the answer: how long it is and how many options it gives.
Step 2: Change the temperature and sampling
Open the chat settings and change the temperature, for example lower it for steadier answers or raise it for more varied ones. Change one setting at a time so the effect is clear.
Step 3: Ask the same question again and compare
Ask the same question again. A lower temperature should give a shorter, steadier answer; a higher one should give a longer, more varied answer. If nothing changes, check the settings were saved for this chat.
Worked example: synthetic sampling change
The table below is a synthetic example. It shows the expected result of changing sampling; no chat was run.
| Temperature | Question | Answer shape |
|---|---|---|
| Default | Give me three names | Three plain names |
| Low | Give me three names | Same three names, short |
| High | Give me three names | Three varied names with notes |
Expected result (UNTESTED). the low-temperature answer is short and steady, and the high-temperature answer is longer and more varied, for the same question. This check was not run live; the table shows the expected result for the synthetic example.
Limits
- One question is not a measurement; repeat the test before concluding the setting did nothing.
- Sampling settings apply to the chat you changed them in; check they carry to a new chat if you need them there.
- A model that is too large for the machine will answer slowly whatever the sampling is; pick a smaller model first.
