Isolating why raising repeat_penalty alone failed while widening repeat_last_n from the 64-token default to 1024 dropped repeated sentences from 76 percent to 6 percent is a great diagnostic finding. Sentence- and paragraph-level loops simply cycle over spans much wider than 64 tokens, so the default penalty window never sees the earlier occurrence.
Noticing that internal reasoning tokens were also consuming context before the essay even stabilized is a helpful caveat. Pushing repeat_penalty to 1.3 can occasionally hurt structured formats like JSON or code where repeating exact keys is mandatory, so scoping that profile to prose tasks is wise.
Ahmet Özel
Isolating why raising repeat_penalty alone failed while widening repeat_last_n from the 64-token default to 1024 dropped repeated sentences from 76 percent to 6 percent is a great diagnostic finding. Sentence- and paragraph-level loops simply cycle over spans much wider than 64 tokens, so the default penalty window never sees the earlier occurrence.
Noticing that internal reasoning tokens were also consuming context before the essay even stabilized is a helpful caveat. Pushing repeat_penalty to 1.3 can occasionally hurt structured formats like JSON or code where repeating exact keys is mandatory, so scoping that profile to prose tasks is wise.