Sauten commited on
Commit
05b6f95
·
verified ·
1 Parent(s): f3c98d3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -31,17 +31,17 @@ class BasicAgent:
31
  url = "https://api.fireworks.ai/inference/v1/chat/completions"
32
  payload = {
33
  "model": "accounts/fireworks/models/qwen2p5-72b-instruct",
34
- "max_tokens": 1000,
35
  "top_p": 1,
36
  "top_k": 40,
37
  "presence_penalty": 0,
38
  "frequency_penalty": 0,
39
- "temperature": 0.1,
40
  "messages": [
41
  {
42
  "role": "user",
43
- "content": f"""{question} Provide only what is requested in answer SHORTLY. If there is requested to provide on word or sentence, provide it. It is for the Benchmark evaluation,
44
- So, the answer should be REALLY accurate.
45
  """
46
  }
47
  ]
 
31
  url = "https://api.fireworks.ai/inference/v1/chat/completions"
32
  payload = {
33
  "model": "accounts/fireworks/models/qwen2p5-72b-instruct",
34
+ "max_tokens": 100,
35
  "top_p": 1,
36
  "top_k": 40,
37
  "presence_penalty": 0,
38
  "frequency_penalty": 0,
39
+ "temperature": 0.05,
40
  "messages": [
41
  {
42
  "role": "user",
43
+ "content": f"""{question} Provide only what is requested in answer SHORTLY. If there is requested to provide ONE word, provide it.
44
+ THis is for the Benchmark evaluation, so the answer should be REALLY SHORT and ACCURATE.
45
  """
46
  }
47
  ]