Add support for presets
This commit is contained in:
parent
874cd6ff3f
commit
c65bad40dc
4 changed files with 31 additions and 27 deletions
5
presets/Default.txt
Normal file
5
presets/Default.txt
Normal file
|
@ -0,0 +1,5 @@
|
|||
do_sample=True,
|
||||
max_new_tokens=max_length,
|
||||
top_p=1,
|
||||
typical_p=0.3,
|
||||
temperature=temperature,
|
10
presets/Verbose.txt
Normal file
10
presets/Verbose.txt
Normal file
|
@ -0,0 +1,10 @@
|
|||
num_beams=10,
|
||||
min_length=max_length,
|
||||
max_new_tokens=max_length,
|
||||
length_penalty =1.4,
|
||||
no_repeat_ngram_size=2,
|
||||
early_stopping=True,
|
||||
temperature=0.7,
|
||||
top_k=150,
|
||||
top_p=0.92,
|
||||
repetition_penalty=4.5,
|
Loading…
Add table
Add a link
Reference in a new issue