magdap116 commited on
Commit
22ac4bd
·
verified ·
1 Parent(s): 41e7b4f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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
- model=llm_engine,
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,