Add support for presets

This commit is contained in:
oobabooga 2023-01-06 01:33:21 -03:00
parent 874cd6ff3f
commit c65bad40dc
4 changed files with 31 additions and 27 deletions

10
presets/Verbose.txt Normal file
View 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,