sergiopaniego HF Staff commited on
Commit
2fa2006
·
1 Parent(s): fa36169
Files changed (1) hide show
  1. unit1/dummy_agent_library.ipynb +1 -2
unit1/dummy_agent_library.ipynb CHANGED
@@ -63,8 +63,7 @@
63
  "# HF_TOKEN = os.environ.get(\"HF_TOKEN\")\n",
64
  "\n",
65
  "\n",
66
- "\n",
67
- "client = InferenceClient(\"meta-llama/Llama-3.3-70B-Instruct\")\n",
68
  "# if the outputs for next cells are wrong, the free model may be overloaded. You can also use this public endpoint that contains Llama-3.3-70B-Instruct\n",
69
  "#client = InferenceClient(\"https://jc26mwg228mkj8dw.us-east-1.aws.endpoints.huggingface.cloud\")"
70
  ]
 
63
  "# HF_TOKEN = os.environ.get(\"HF_TOKEN\")\n",
64
  "\n",
65
  "\n",
66
+ "client = InferenceClient(provider=\"hf-inference\", model=\"meta-llama/Llama-3.3-70B-Instruct\")\n",
 
67
  "# if the outputs for next cells are wrong, the free model may be overloaded. You can also use this public endpoint that contains Llama-3.3-70B-Instruct\n",
68
  "#client = InferenceClient(\"https://jc26mwg228mkj8dw.us-east-1.aws.endpoints.huggingface.cloud\")"
69
  ]