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/10/28 13:46:01 UTC
(beam) 01/01: Fix gemma notebook formatting
This is an automated email from the ASF dual-hosted git repository.
damccorm pushed a commit to branch users/damccorm/gemmaFormatting
in repository https://gitbox.apache.org/repos/asf/beam.git
commit b3d4c278b0ae8da988e865d8f1169abb738a6860
Author: Danny McCormick <da...@google.com>
AuthorDate: Mon Oct 28 09:45:54 2024 -0400
Fix gemma notebook formatting
---
.../notebooks/beam-ml/gemma_2_sentiment_and_summarization.ipynb | 9 ++++++---
1 file changed, 6 insertions(+), 3 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 d7b2b157f61..686c19da7f6 100644
--- a/examples/notebooks/beam-ml/gemma_2_sentiment_and_summarization.ipynb
+++ b/examples/notebooks/beam-ml/gemma_2_sentiment_and_summarization.ipynb
@@ -174,7 +174,8 @@
"WORKDIR /workspace\n",
"\n",
"COPY gemma2 gemma2\n",
- "RUN apt-get update -y && apt-get install -y cmake && apt-get install -y vim"
+ "RUN apt-get update -y && apt-get install -y cmake && apt-get install -y vim\n",
+ "```"
]
},
{
@@ -208,7 +209,8 @@
"apache_beam[gcp]==2.54.0\n",
"keras_nlp==0.14.3\n",
"keras==3.4.1\n",
- "jax[cuda12]"
+ "jax[cuda12]\n",
+ "```"
]
},
{
@@ -261,7 +263,8 @@
"\n",
"\n",
"# Set the entrypoint to the Apache Beam SDK launcher.\n",
- "ENTRYPOINT [\"/opt/apache/beam/boot\"]"
+ "ENTRYPOINT [\"/opt/apache/beam/boot\"]\n",
+ "```"
]
},
{