From 5fe532a5ce3852398be4de21093fb641b440ff8f Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Wed, 26 Jun 2024 15:33:11 -0700 Subject: [PATCH] UI: remove DRY info text It was visible for loaders without DRY. --- modules/ui_parameters.py | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/ui_parameters.py b/modules/ui_parameters.py index d62b74c1..68512c7e 100644 --- a/modules/ui_parameters.py +++ b/modules/ui_parameters.py @@ -40,7 +40,6 @@ def create_ui(default_preset): shared.gradio['do_sample'] = gr.Checkbox(value=generate_params['do_sample'], label='do_sample') with gr.Blocks(): - gr.Markdown("[DRY sequence repetition penalty](https://github.com/oobabooga/text-generation-webui/pull/5677)") shared.gradio['dry_multiplier'] = gr.Slider(0, 5, value=generate_params['dry_multiplier'], step=0.01, label='dry_multiplier', info='Set to value > 0 to enable DRY. Controls the magnitude of the penalty for the shortest penalized sequences.') shared.gradio['dry_base'] = gr.Slider(1, 4, value=generate_params['dry_base'], step=0.01, label='dry_base', info='Controls how fast the penalty grows with increasing sequence length.') shared.gradio['dry_allowed_length'] = gr.Slider(1, 20, value=generate_params['dry_allowed_length'], step=1, label='dry_allowed_length', info='Longest sequence that can be repeated without being penalized.')