更新 webapp.py

This commit is contained in:
luxtiasco 2023-02-22 22:21:08 +08:00 committed by GitHub
parent c6ed18565b
commit a450f76916
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -706,7 +706,7 @@ def search():
gpt_data = { gpt_data = {
"prompt": prompt, "prompt": prompt,
"max_tokens": 256, "max_tokens": 256,
"temperature": 0.7, "temperature": 0.2,
"top_p": 1, "top_p": 1,
"frequency_penalty": 0, "frequency_penalty": 0,
"presence_penalty": 0, "presence_penalty": 0,
@ -889,7 +889,7 @@ function send_chat()
"temperature": 0.5, "temperature": 0.5,
"top_p": 1, "top_p": 1,
"frequency_penalty": 0, "frequency_penalty": 0,
"presence_penalty": 0, "presence_penalty": 1,
"best_of": 1, "best_of": 1,
"echo": false, "echo": false,
"logprobs": 0, "logprobs": 0,