Spaces:
Sleeping
Sleeping
File size: 462 Bytes
7828173 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
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?",
#) |