Spaces:
Sleeping
Sleeping
File size: 491 Bytes
7450f6c 7828173 7450f6c 7828173 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
import smolagents
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)
max_steps=5
#agent.run(
# "At what temperature and for how long should I bake French baguettes made with type 65 flour?",
#) |