Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -78,8 +78,8 @@ def completion(history, model, system_prompt: str, tools=None):
|
|
78 |
"stream": True,
|
79 |
"max_tokens": 1000,
|
80 |
"temperature": 0.2,
|
81 |
-
"frequency_penalty": 1,
|
82 |
-
"extra_body": {"repetition_penalty":
|
83 |
}
|
84 |
if tools:
|
85 |
request_params.update({"tool_choice": "auto", "tools": tools})
|
|
|
78 |
"stream": True,
|
79 |
"max_tokens": 1000,
|
80 |
"temperature": 0.2,
|
81 |
+
#"frequency_penalty": 1,
|
82 |
+
"extra_body": {"repetition_penalty": 0.8},
|
83 |
}
|
84 |
if tools:
|
85 |
request_params.update({"tool_choice": "auto", "tools": tools})
|