Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -31,16 +31,18 @@ class BasicAgent:
|
|
| 31 |
url = "https://api.fireworks.ai/inference/v1/chat/completions"
|
| 32 |
payload = {
|
| 33 |
"model": "accounts/fireworks/models/deepseek-v3",
|
| 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 answer SHORTLY
|
|
|
|
|
|
|
| 44 |
}
|
| 45 |
]
|
| 46 |
}
|
|
|
|
| 31 |
url = "https://api.fireworks.ai/inference/v1/chat/completions"
|
| 32 |
payload = {
|
| 33 |
"model": "accounts/fireworks/models/deepseek-v3",
|
| 34 |
+
"max_tokens": 1000,
|
| 35 |
"top_p": 1,
|
| 36 |
"top_k": 40,
|
| 37 |
"presence_penalty": 0,
|
| 38 |
"frequency_penalty": 0,
|
| 39 |
+
"temperature": 0.4,
|
| 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 |
]
|
| 48 |
}
|