Update app.py
Browse files
app.py
CHANGED
@@ -54,7 +54,7 @@ def cache_answer(question: str, answer: str):
|
|
54 |
|
55 |
|
56 |
# --- Model Setup ---
|
57 |
-
MODEL_NAME = 'TinyLlama/TinyLlama-1.1B-Chat-v1.0'#'mistralai/Mistral-7B-Instruct-v0.2'#'microsoft/DialoGPT-small'# 'EleutherAI/gpt-neo-2.7B'#'distilbert/distilgpt2'#'deepseek-ai/DeepSeek-R1-Distill-Qwen-7B'#'mistralai/Mistral-7B-Instruct-v0.2'
|
58 |
|
59 |
|
60 |
|
@@ -90,7 +90,7 @@ class BasicAgent:
|
|
90 |
def __init__(self):
|
91 |
print("BasicAgent initialized.")
|
92 |
self.agent = CodeAgent(
|
93 |
-
|
94 |
tools=[web_search,python_interpreter,visit_webpage_tool,model_math_tool],
|
95 |
max_steps=1,
|
96 |
verbosity_level=1,
|
|
|
54 |
|
55 |
|
56 |
# --- Model Setup ---
|
57 |
+
MODEL_NAME = 'meta-llama/Llama-3.1-8B-Instruct'#'TinyLlama/TinyLlama-1.1B-Chat-v1.0'#'mistralai/Mistral-7B-Instruct-v0.2'#'microsoft/DialoGPT-small'# 'EleutherAI/gpt-neo-2.7B'#'distilbert/distilgpt2'#'deepseek-ai/DeepSeek-R1-Distill-Qwen-7B'#'mistralai/Mistral-7B-Instruct-v0.2'
|
58 |
|
59 |
|
60 |
|
|
|
90 |
def __init__(self):
|
91 |
print("BasicAgent initialized.")
|
92 |
self.agent = CodeAgent(
|
93 |
+
llm_engine=llm_engine,
|
94 |
tools=[web_search,python_interpreter,visit_webpage_tool,model_math_tool],
|
95 |
max_steps=1,
|
96 |
verbosity_level=1,
|