Not able to run the example 2.1

#83
by FxFrank - opened

When I open this link: https://huggingface.co/agents-course/notebooks/blob/main/unit2/smolagents/code_agents.ipynb

The next error is given:
/usr/local/lib/python3.11/dist-packages/huggingface_hub/utils/_auth.py:94: UserWarning:
The secret HF_TOKEN does not exist in your Colab secrets.
To authenticate with the Hugging Face Hub, create a token in your settings tab (https://huggingface.co/settings/tokens), set it as secret in your Google Colab and restart your session.
You will be able to reuse this secret in all of your notebooks.
Please note that authentication is recommended but still optional to access public models or datasets.

I already created the HF_TOKEN in my Google Colab.

So what is missing?

Same here for me also.
Getting the below error:
HTTPError: 404 Client Error: Not Found for url: https://router.huggingface.co/hf-inference/models/meta-llama/Llama-3.2-3B-Instruct

The above exception was the direct cause of the following exception:

HfHubHTTPError Traceback (most recent call last)
/usr/local/lib/python3.11/dist-packages/huggingface_hub/utils/_http.py in hf_raise_for_status(response, endpoint_name)
480 # Convert HTTPError into a HfHubHTTPError to display request information
481 # as well (request id and/or server error message)
--> 482 raise _format(HfHubHTTPError, str(e), response) from e
483
484

HfHubHTTPError: 404 Client Error: Not Found for url: https://router.huggingface.co/hf-inference/models/meta-llama/Llama-3.2-3B-Instruct (Request ID: Root=1-681cd41e-1192492559dc71ba23604a18;29908d4e-7b5d-45c7-a378-f3242f8b8414)

Sign up or log in to comment