From 48b6ef02380f993a6e8dfa0c355f722c2b7b96ed Mon Sep 17 00:00:00 2001 From: Marcel Ambo Ndowah Date: Tue, 24 Jun 2025 19:48:15 +0100 Subject: [PATCH] =?UTF-8?q?Add=20Hugging=20Face=20authentication=20procedu?= =?UTF-8?q?re=20for=20IDEs=20(PyCharm,=20VS=20Code,=E2=80=A6=20(#38954)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Add Hugging Face authentication procedure for IDEs (PyCharm, VS Code, etc.) * Update quicktour.md --------- Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com> --- docs/source/en/quicktour.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/docs/source/en/quicktour.md b/docs/source/en/quicktour.md index 4b6b6869bf..66055c3371 100755 --- a/docs/source/en/quicktour.md +++ b/docs/source/en/quicktour.md @@ -32,12 +32,29 @@ To start, we recommend creating a Hugging Face [account](https://hf.co/join). An Create a [User Access Token](https://hf.co/docs/hub/security-tokens#user-access-tokens) and log in to your account. + + + +Paste your User Access Token into [`~huggingface_hub.notebook_login`] when prompted to log in. + ```py from huggingface_hub import notebook_login notebook_login() ``` + + + +Make sure the [huggingface_hub[cli]](https://huggingface.co/docs/huggingface_hub/guides/cli#getting-started) package is installed and run the command below. Paste your User Access Token when prompted to log in. + +```bash +huggingface-cli login +``` + + + + Install a machine learning framework.