diff --git a/docs/capabilities/vision/video-understanding.ipynb b/docs/capabilities/vision/video-understanding.ipynb index a4636164..39d6e332 100644 --- a/docs/capabilities/vision/video-understanding.ipynb +++ b/docs/capabilities/vision/video-understanding.ipynb @@ -103,19 +103,6 @@ "Once you have entered your Access Token as `HF_TOKEN` and value, you can access the model:" ] }, - { - "cell_type": "code", - "execution_count": null, - "metadata": { - "id": "ogSB3peYP1b4" - }, - "outputs": [], - "source": [ - "# Login into Hugging Face Hub\n", - "from huggingface_hub import login\n", - "login()" - ] - }, { "cell_type": "markdown", "metadata": { @@ -142,6 +129,31 @@ "%pip install \"transformers>=4.53.0\"" ] }, + { + "attachments": {}, + "cell_type": "markdown", + "id": "a2c473e7", + "metadata": { + "id": "4VcVqoP7FCd1" + }, + "source": [ + "Login into Hugging Face Hub." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "95d8f75a", + "metadata": { + "id": "9Rt_YSIEFDhl" + }, + "outputs": [], + "source": [ + "# Login into Hugging Face Hub\n", + "from huggingface_hub import login\n", + "login()" + ] + }, { "cell_type": "markdown", "metadata": { diff --git a/docs/core/gemma_library.ipynb b/docs/core/gemma_library.ipynb index 663d295e..ecff6c12 100644 --- a/docs/core/gemma_library.ipynb +++ b/docs/core/gemma_library.ipynb @@ -124,7 +124,7 @@ }, "outputs": [], "source": [ - "!pip install -q gemma" + "!pip install -q gemma kagglehub" ] }, { diff --git a/docs/core/huggingface_text_finetune_qlora.ipynb b/docs/core/huggingface_text_finetune_qlora.ipynb index c69a808d..3869741d 100644 --- a/docs/core/huggingface_text_finetune_qlora.ipynb +++ b/docs/core/huggingface_text_finetune_qlora.ipynb @@ -94,8 +94,8 @@ "# Install Pytorch & other libraries\n", "%pip install \"torch>=2.4.0\" tensorboard\n", "\n", - "# Install Gemma release branch from Hugging Face\n", - "%pip install git+https://github.com/huggingface/transformers@v4.49.0-Gemma-3\n", + "# Install Transformers\n", + "%pip install transformers\n", "\n", "# Install Hugging Face libraries\n", "%pip install --upgrade \\\n", diff --git a/docs/paligemma/fine-tuning-paligemma.ipynb b/docs/paligemma/fine-tuning-paligemma.ipynb index e4a8d4bc..2fb597d2 100644 --- a/docs/paligemma/fine-tuning-paligemma.ipynb +++ b/docs/paligemma/fine-tuning-paligemma.ipynb @@ -145,6 +145,28 @@ "1. Under **Hardware accelerator**, select **T4 GPU**." ] }, + { + "cell_type": "markdown", + "metadata": { + "id": "4a3Q4VCLljR9" + }, + "source": [ + "### Install Python packages\n", + "\n", + "Run the below cell to install KaggleHub." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "id": "DoYMMytAaMRJ" + }, + "outputs": [], + "source": [ + "!pip install -U -q kagglehub" + ] + }, { "cell_type": "markdown", "metadata": {