mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-10-01 01:26:03 -04:00
Better preset in api-example.py
This commit is contained in:
parent
a3085dba07
commit
57f768eaad
@ -22,10 +22,10 @@ server = "127.0.0.1"
|
||||
params = {
|
||||
'max_new_tokens': 200,
|
||||
'do_sample': True,
|
||||
'temperature': 0.5,
|
||||
'top_p': 0.9,
|
||||
'temperature': 0.72,
|
||||
'top_p': 0.73,
|
||||
'typical_p': 1,
|
||||
'repetition_penalty': 1.05,
|
||||
'repetition_penalty': 1.1,
|
||||
'encoder_repetition_penalty': 1.0,
|
||||
'top_k': 0,
|
||||
'min_length': 0,
|
||||
|
Loading…
Reference in New Issue
Block a user