Update app.py
Browse files
app.py
CHANGED
|
@@ -24,7 +24,7 @@ print("Made dir")
|
|
| 24 |
web_search = DuckDuckGoSearchTool()
|
| 25 |
python_interpreter = PythonInterpreterTool()
|
| 26 |
visit_webpage_tool = VisitWebpageTool()
|
| 27 |
-
model_math_tool = ModelMathTool()
|
| 28 |
|
| 29 |
# If the agent does not answer, the model is overloaded, please use another model or the following Hugging Face Endpoint that also contains qwen2.5 coder:
|
| 30 |
# model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'
|
|
@@ -90,7 +90,7 @@ from smolagents import TransformersModel
|
|
| 90 |
|
| 91 |
|
| 92 |
|
| 93 |
-
model_id = "meta-llama/Llama-3.2-3B-Instruct"
|
| 94 |
model = TransformersModel(
|
| 95 |
model_id=model_id,
|
| 96 |
max_new_tokens=256)
|
|
|
|
| 24 |
web_search = DuckDuckGoSearchTool()
|
| 25 |
python_interpreter = PythonInterpreterTool()
|
| 26 |
visit_webpage_tool = VisitWebpageTool()
|
| 27 |
+
#model_math_tool = ModelMathTool()
|
| 28 |
|
| 29 |
# If the agent does not answer, the model is overloaded, please use another model or the following Hugging Face Endpoint that also contains qwen2.5 coder:
|
| 30 |
# model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'
|
|
|
|
| 90 |
|
| 91 |
|
| 92 |
|
| 93 |
+
model_id = "Qwen/Qwen1.5-7B-Chat"#working but stupid: "meta-llama/Llama-3.2-3B-Instruct"
|
| 94 |
model = TransformersModel(
|
| 95 |
model_id=model_id,
|
| 96 |
max_new_tokens=256)
|