Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -43,8 +43,8 @@ llm = LlamaCpp(
|
|
| 43 |
n_ctx=10000,
|
| 44 |
n_threads=4,
|
| 45 |
n_gpu_layers=0,
|
| 46 |
-
temperature=0.
|
| 47 |
-
top_p=0.
|
| 48 |
max_tokens=150,
|
| 49 |
n_batch=64,
|
| 50 |
verbose=False,
|
|
@@ -260,7 +260,7 @@ Final Answer: The answer is 42 because analysis of the given data and tool resul
|
|
| 260 |
|
| 261 |
react_template = """
|
| 262 |
You are a ReAct-style reasoning agent. Follow always *exactly* this structure:
|
| 263 |
-
|
| 264 |
-Thought: Reflect on what is being asked. Based on previous Observations, decide your next useful step.
|
| 265 |
-Action: <choose a tool from the provided list — WikipediaSearch, MediaAnalyzer, CoderAgent>
|
| 266 |
-Action Input: <provide only the raw input for that tool, without brackets or quotes, reasure always to give the write input based on abilities of the tool and its supported input>
|
|
|
|
| 43 |
n_ctx=10000,
|
| 44 |
n_threads=4,
|
| 45 |
n_gpu_layers=0,
|
| 46 |
+
temperature=0.8,
|
| 47 |
+
top_p=0.9,
|
| 48 |
max_tokens=150,
|
| 49 |
n_batch=64,
|
| 50 |
verbose=False,
|
|
|
|
| 260 |
|
| 261 |
react_template = """
|
| 262 |
You are a ReAct-style reasoning agent. Follow always *exactly* this structure:
|
| 263 |
+
Question
|
| 264 |
-Thought: Reflect on what is being asked. Based on previous Observations, decide your next useful step.
|
| 265 |
-Action: <choose a tool from the provided list — WikipediaSearch, MediaAnalyzer, CoderAgent>
|
| 266 |
-Action Input: <provide only the raw input for that tool, without brackets or quotes, reasure always to give the write input based on abilities of the tool and its supported input>
|