testAgent / BasicAgent.py
optionEdge's picture
Rename testAgent0.py to BasicAgent.py
4739a3d verified
raw
history blame
462 Bytes
from smolagents import CodeAgent, HfApiModel, InferenceClientModel, WebSearchTool
import numpy, math, xlrd, os
#model_id = "Qwen/Qwen2.5-Coder-32B-Instruct"
model_id = 'meta-llama/Llama-3.3-70B-Instruct'
model = HfApiModel(model_id=model_id, token="HUGGINGFACEHUB_API_TOKEN")
agent = CodeAgent(tools=[], model=model, add_base_tools=True)
#agent.run(
# "At what temperature and for how long should I bake French baguettes made with type 65 flour?",
#)