Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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":
|
| 35 |
"top_p": 1,
|
| 36 |
"top_k": 40,
|
| 37 |
"presence_penalty": 0,
|
| 38 |
"frequency_penalty": 0,
|
| 39 |
-
"temperature": 0.
|
| 40 |
"messages": [
|
| 41 |
{
|
| 42 |
"role": "user",
|
| 43 |
-
"content": f"""{question} Provide only what is requested in answer SHORTLY. If there is requested to provide
|
| 44 |
-
|
| 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 |
]
|