ankush13r commited on
Commit
2dd47b9
·
verified ·
1 Parent(s): f87cec3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -68,10 +68,10 @@ def completion(history, model, system_prompt: str, tools=None):
68
  "messages": messages,
69
  "stream": True,
70
  "max_tokens": 1000,
71
- "temperature": 0.1,
72
  #"top_p": 0.3,
73
  #"frequency_penalty": 0.3,
74
- "extra_body": {"repetition_penalty": 1.1, "min_p": 0.4 , "top_k": 15}, #"min_p": 0.4 , "top_k": 15
75
  }
76
  if tools:
77
  request_params.update({"tool_choice": "auto", "tools": tools})
 
68
  "messages": messages,
69
  "stream": True,
70
  "max_tokens": 1000,
71
+ "temperature": 0.05,
72
  #"top_p": 0.3,
73
  #"frequency_penalty": 0.3,
74
+ "extra_body": {"min_p": 0.2 , "top_k": 20}, #"min_p": 0.4 , "top_k": 15 #"repetition_penalty": 1.1,
75
  }
76
  if tools:
77
  request_params.update({"tool_choice": "auto", "tools": tools})