Spaces:
Sleeping
Sleeping
| 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?", | |
| #) |