From 34c3b4af6ec25d85a8c78b22fcbba1064cd217f9 Mon Sep 17 00:00:00 2001 From: SDS <52386626+StefanDanielSchwarz@users.noreply.github.com> Date: Mon, 3 Apr 2023 00:31:58 +0200 Subject: [PATCH] Fix "Verbose (Beam Search)" preset Just a quick fix that removes an erroneous space between "length_penalty" and "=" (doesn't affect Python, but makes it possible to source the file from Bash, e. g. to use the variables with API calls) --- presets/Verbose (Beam Search).txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/presets/Verbose (Beam Search).txt b/presets/Verbose (Beam Search).txt index a3be1b94..464a4a5f 100644 --- a/presets/Verbose (Beam Search).txt +++ b/presets/Verbose (Beam Search).txt @@ -1,6 +1,6 @@ num_beams=10 min_length=200 -length_penalty =1.4 +length_penalty=1.4 no_repeat_ngram_size=2 early_stopping=True temperature=0.7