[GH-ISSUE #1613] Feature Request: Token repetition penalty #643

Closed
opened 2026-11-04 01:44:45 +07:00 by bsakaguchi · 3 comments
Owner

Originally created by @comet13579 on GitHub (Oct 8, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/1613

When using strata with Hermes' agent, usually there will be some repetition issues, especially in IQ2_XS model and sometimes on IQ3_XXS model. Please implement that to improve the usability of lower quant models

Originally created by @comet13579 on GitHub (Oct 8, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/1613 When using strata with Hermes' agent, usually there will be some repetition issues, especially in IQ2_XS model and sometimes on IQ3_XXS model. Please implement that to improve the usability of lower quant models
Author
Owner

@Dampfinchen commented on GitHub (Oct 8, 2026):

Might be a quant issue strangely enough. I have been observing repetition loops with IQ2_XS but not with q2_0.

<!-- gh-comment-id:6067861134 --> @Dampfinchen commented on GitHub (Oct 8, 2026): Might be a quant issue strangely enough. I have been observing repetition loops with IQ2_XS but not with q2_0.
Author
Owner

@Niko1221 commented on GitHub (Oct 10, 2026):

A repetition penalty already exists: send repetition_penalty (1.0 = off), with penalty_last_n for the window (default 64 when any penalty is on), or presence_penalty and frequency_penalty, on /v1/chat/completions, or put them under "sampling" in strata-.json so every client gets them (docs/DETAILS.md, sampling). For a looping IQ2_XS, a small presence_penalty (0.5 to 1.5) or repetition_penalty near 1.05 is the usual first step; please tell us what helps and what does not. What the request did not change is the Hermes harness's own sampling: check that it does not send its own values over yours.

<!-- gh-comment-id:6099634399 --> @Niko1221 commented on GitHub (Oct 10, 2026): A repetition penalty already exists: send repetition_penalty (1.0 = off), with penalty_last_n for the window (default 64 when any penalty is on), or presence_penalty and frequency_penalty, on /v1/chat/completions, or put them under "sampling" in strata-<model>.json so every client gets them (docs/DETAILS.md, sampling). For a looping IQ2_XS, a small presence_penalty (0.5 to 1.5) or repetition_penalty near 1.05 is the usual first step; please tell us what helps and what does not. What the request did not change is the Hermes harness's own sampling: check that it does not send its own values over yours.
Author
Owner

@Niko1221 commented on GitHub (Oct 13, 2026):

Thanks for the report. To keep the tracker current we are closing issues older than three days: 0.1.44 is out with a long list of fixes, and many older reports are covered by it or by 0.1.43.1.

If this still happens on 0.1.44, please leave a comment here with your engine log (and the version line it prints), and we will reopen it. A new issue that links this one works too.

<!-- gh-comment-id:6156155150 --> @Niko1221 commented on GitHub (Oct 13, 2026): Thanks for the report. To keep the tracker current we are closing issues older than three days: [0.1.44](https://github.com/Niko1221/Strata/releases/tag/v0.1.44) is out with a long list of fixes, and many older reports are covered by it or by 0.1.43.1. If this still happens on 0.1.44, please leave a comment here with your engine log (and the version line it prints), and we will reopen it. A new issue that links this one works too.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#643
No description provided.