Increasing frequency penalty can help to prevent repetition. Also have a look at this topic to understand why it can’t be fully deterministic.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Run same query many times - different results | 10 | 9355 | July 24, 2023 | |
| Observing discrepancy in completions with temperature = 0 | 8 | 18667 | September 20, 2023 | |
| Consistent Repetition With Structured Output | 12 | 918 | February 12, 2025 | |
| Possible bug? gpt-3.5-turbo non-deterministic even with temperature zero | 3 | 4778 | March 31, 2023 | |
| Why does the answer vary for the same question asked multiple times | 8 | 4313 | May 22, 2024 |