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

5
presets/Default.txt Normal file
View file

@ -0,0 +1,5 @@
do_sample=True,
max_new_tokens=max_length,
top_p=1,
typical_p=0.3,
temperature=temperature,