optionEdge commited on
Commit
3716a9b
·
verified ·
1 Parent(s): 8f8fb45

Update BasicAgent.py

Browse files
Files changed (1) hide show
  1. BasicAgent.py +1 -1
BasicAgent.py CHANGED
@@ -13,7 +13,7 @@ from smolagents import (
13
  class newAgent:
14
  """Adapts smolagents.CodeAgent to the HF course template API."""
15
  def __init__(self):
16
- model_id = "meta-llama/Meta-Llama-3-70B-Instruct" # correct repo name
17
  hf_token = os.getenv("HUGGINGFACEHUB_API_TOKEN") # read real secret
18
  if not hf_token:
19
  raise RuntimeError("HUGGINGFACEHUB_API_TOKEN not set in Space secrets")
 
13
  class newAgent:
14
  """Adapts smolagents.CodeAgent to the HF course template API."""
15
  def __init__(self):
16
+ model_id = "Qwen/Qwen2.5-Coder-32B-Instruct" # correct repo name
17
  hf_token = os.getenv("HUGGINGFACEHUB_API_TOKEN") # read real secret
18
  if not hf_token:
19
  raise RuntimeError("HUGGINGFACEHUB_API_TOKEN not set in Space secrets")