From 02d8b34900b57aa734ab72b151e29aa6310626e0 Mon Sep 17 00:00:00 2001 From: Brandon Lockaby Date: Fri, 31 May 2024 08:24:37 -0400 Subject: [PATCH] docs: repeat-penalty 1.0 = disabled Following the other examples, we can list the value here which disables repeat-penalty --- examples/main/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/main/README.md b/examples/main/README.md index ee930f4e7..f762f818b 100644 --- a/examples/main/README.md +++ b/examples/main/README.md @@ -181,7 +181,7 @@ Example usage: `--temp 0.5` ### Repeat Penalty -- `--repeat-penalty N`: Control the repetition of token sequences in the generated text (default: 1.1). +- `--repeat-penalty N`: Control the repetition of token sequences in the generated text (default: 1.1, 1.0 = disabled). - `--repeat-last-n N`: Last n tokens to consider for penalizing repetition (default: 64, 0 = disabled, -1 = ctx-size). - `--no-penalize-nl`: Disable penalization for newline tokens when applying the repeat penalty.