You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by da...@apache.org on 2025/09/02 18:18:38 UTC

(beam) branch users/damccorm/nb-update created (now 1bbfe2d40a0)

This is an automated email from the ASF dual-hosted git repository.

damccorm pushed a change to branch users/damccorm/nb-update
in repository https://gitbox.apache.org/repos/asf/beam.git


      at 1bbfe2d40a0 Add auth for models

This branch includes the following new commits:

     new 1bbfe2d40a0 Add auth for models

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(beam) 01/01: Add auth for models

Posted by da...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

damccorm pushed a commit to branch users/damccorm/nb-update
in repository https://gitbox.apache.org/repos/asf/beam.git

commit 1bbfe2d40a02d64ba011647e69a08b22be8f3671
Author: Danny Mccormick <da...@google.com>
AuthorDate: Tue Sep 2 14:18:10 2025 -0400

    Add auth for models
---
 .../huggingface_text_embeddings.ipynb              | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/examples/notebooks/beam-ml/data_preprocessing/huggingface_text_embeddings.ipynb b/examples/notebooks/beam-ml/data_preprocessing/huggingface_text_embeddings.ipynb
index d2acaa2e904..29710e654c2 100644
--- a/examples/notebooks/beam-ml/data_preprocessing/huggingface_text_embeddings.ipynb
+++ b/examples/notebooks/beam-ml/data_preprocessing/huggingface_text_embeddings.ipynb
@@ -120,6 +120,28 @@
       "execution_count": 29,
       "outputs": []
     },
+    {
+      "cell_type": "markdown",
+      "source": [
+        "### Authenticate with HuggingFace\n",
+        "\n",
+        "To ensure that you can pull the correct model, authenticate with HuggingFace by following the prompts in the cell."
+      ],
+      "metadata": {
+        "id": "kXDM8C7d3nPW"
+      }
+    },
+    {
+      "cell_type": "code",
+      "source": [
+        "! huggingface-cli login"
+      ],
+      "metadata": {
+        "id": "jVxSi2jS3M3c"
+      },
+      "execution_count": 29,
+      "outputs": []
+    },
     {
       "cell_type": "markdown",
       "source": [