From 512ddf6c37ba8bb5b527d2fdd255b9b22b036680 Mon Sep 17 00:00:00 2001 From: Joe Fernandez Date: Thu, 27 Jun 2024 10:27:53 -0700 Subject: [PATCH 1/2] Renaming get_started tutorial to keras_inference - reflects changes website --- site/en/gemma/docs/{get_started.ipynb => keras_inference.ipynb} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename site/en/gemma/docs/{get_started.ipynb => keras_inference.ipynb} (100%) diff --git a/site/en/gemma/docs/get_started.ipynb b/site/en/gemma/docs/keras_inference.ipynb similarity index 100% rename from site/en/gemma/docs/get_started.ipynb rename to site/en/gemma/docs/keras_inference.ipynb From a64d90c4e2f9dde64aacbd23a32c2353c5c3641c Mon Sep 17 00:00:00 2001 From: Joe Fernandez Date: Thu, 27 Jun 2024 10:49:36 -0700 Subject: [PATCH 2/2] Updating keras_inference page to fix links - fixing links - reflect content changes for live web page --- site/en/gemma/docs/keras_inference.ipynb | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/site/en/gemma/docs/keras_inference.ipynb b/site/en/gemma/docs/keras_inference.ipynb index d1cfe88ac..f32ae96e1 100644 --- a/site/en/gemma/docs/keras_inference.ipynb +++ b/site/en/gemma/docs/keras_inference.ipynb @@ -39,16 +39,16 @@ "source": [ "\n", " \n", " \n", " \n", " \n", "
\n", - " View on ai.google.dev\n", + " View on ai.google.dev\n", " \n", - " Run in Google Colab\n", + " Run in Google Colab\n", " \n", - " Open in Vertex AI\n", + " Open in Vertex AI\n", " \n", - " View source on GitHub\n", + " View source on GitHub\n", "
" ] @@ -235,7 +235,7 @@ "id": "XrAWvsU6pI0E" }, "source": [ - "`from_preset` instantiates the model from a preset architecture and weights. In the code above, the string `\"gemma_2b_en\"` specifies the preset architecture: a Gemma model with 2 billion parameters.\n" + "The `GemmaCausalLM.from_preset()` function instantiates the model from a preset architecture and weights. In the code above, the string `\"gemma_2b_en\"` specifies the preset the Gemma 2B model with 2 billion parameters. Gemma models with [7B, 9B, and 27B parameters](/gemma/docs/get_started#models-list) are also available. You can find the code strings for Gemma models in their **Model Variation** listings on [Kaggle](https://www.kaggle.com/models/google/gemma).\n" ] }, { @@ -244,7 +244,7 @@ "id": "Ij73k0PfUhjE" }, "source": [ - "Note: A Gemma model with 7 billion parameters is also available. To run the larger model in Colab, you need access to the premium GPUs available in paid plans. Alternatively, you can perform [distributed tuning on a Gemma 7B model](https://ai.google.dev/gemma/docs/distributed_tuning) on Kaggle or Google Cloud." + "Note: To run the larger models in Colab, you need access to the premium GPUs available in paid plans. Alternatively, you can perform inferences using Kaggle notebooks or Google Cloud projects.\n" ] }, { @@ -588,7 +588,7 @@ "metadata": { "accelerator": "GPU", "colab": { - "name": "get_started.ipynb", + "name": "keras_inference.ipynb", "toc_visible": true }, "google": {