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 2024/08/19 08:11:34 UTC
(beam) branch master updated: Remove executable non-python blocks from Gemma 2 notebook (#32219)
This is an automated email from the ASF dual-hosted git repository.
damccorm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/master by this push:
new e4f2322453d Remove executable non-python blocks from Gemma 2 notebook (#32219)
e4f2322453d is described below
commit e4f2322453dad98a0c4c5b30697b32d9404c2ed9
Author: Jack McCluskey <34...@users.noreply.github.com>
AuthorDate: Mon Aug 19 04:11:27 2024 -0400
Remove executable non-python blocks from Gemma 2 notebook (#32219)
---
.../beam-ml/gemma_2_sentiment_and_summarization.ipynb | 15 ++++++---------
1 file changed, 6 insertions(+), 9 deletions(-)
diff --git a/examples/notebooks/beam-ml/gemma_2_sentiment_and_summarization.ipynb b/examples/notebooks/beam-ml/gemma_2_sentiment_and_summarization.ipynb
index 64151d29992..d7b2b157f61 100644
--- a/examples/notebooks/beam-ml/gemma_2_sentiment_and_summarization.ipynb
+++ b/examples/notebooks/beam-ml/gemma_2_sentiment_and_summarization.ipynb
@@ -161,14 +161,13 @@
]
},
{
- "cell_type": "code",
- "execution_count": null,
+ "cell_type": "markdown",
"id": "29dOdG_kxzTv",
"metadata": {
"id": "29dOdG_kxzTv"
},
- "outputs": [],
"source": [
+ "```sh\n",
"ARG SERVING_BUILD_IMAGE=tensorflow/tensorflow:2.16.1-gpu\n",
"\n",
"FROM ${SERVING_BUILD_IMAGE}\n",
@@ -199,14 +198,13 @@
]
},
{
- "cell_type": "code",
- "execution_count": null,
+ "cell_type": "markdown",
"id": "K4gJQ0e9pCR4",
"metadata": {
"id": "K4gJQ0e9pCR4"
},
- "outputs": [],
"source": [
+ "```sh\n",
"apache_beam[gcp]==2.54.0\n",
"keras_nlp==0.14.3\n",
"keras==3.4.1\n",
@@ -234,14 +232,13 @@
]
},
{
- "cell_type": "code",
- "execution_count": null,
+ "cell_type": "markdown",
"id": "EdUxmUjqx58r",
"metadata": {
"id": "EdUxmUjqx58r"
},
- "outputs": [],
"source": [
+ "```sh\n",
"FROM <DOCKERFILE_IMAGE>\n",
"\n",
"WORKDIR /workspace\n",