Skip to content

Commit 66a7ab5

Browse files
remove keras-nlp
1 parent 46ba6a8 commit 66a7ab5

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

site/en/gemma/docs/codegemma/keras_quickstart.ipynb

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
"* A 7B instruction-tuned code model\n",
8989
"* A 2B model, trained specifically for code infilling and open-ended generation.\n",
9090
"\n",
91-
"This guide walks you through using the CodeGemma 2B model with KerasNLP for a code completion task.\n"
91+
"This guide walks you through using the CodeGemma 2B model with KerasHub for a code completion task.\n"
9292
]
9393
},
9494
{
@@ -201,7 +201,6 @@
201201
}
202202
],
203203
"source": [
204-
"!pip install -q -U keras-nlp\n",
205204
"!pip install -q -U keras-hub\n",
206205
"!pip install -q -U keras"
207206
]
@@ -245,7 +244,7 @@
245244
"source": [
246245
"### Import packages\n",
247246
"\n",
248-
"Import Keras and KerasNLP."
247+
"Import Keras and KerasHub."
249248
]
250249
},
251250
{
@@ -271,7 +270,7 @@
271270
"source": [
272271
"### Load Model\n",
273272
"\n",
274-
"KerasNLP provides implementations of many popular [model architectures](https://keras.io/api/keras_nlp/models/){:.external}. In this tutorial, you'll create a model using `GemmaCausalLM`, an end-to-end Gemma model for causal language modeling. A causal language model predicts the next token based on previous tokens.\n",
273+
"KerasHub provides implementations of many popular [model architectures](https://keras.io/api/keras_nlp/models/){:.external}. In this tutorial, you'll create a model using `GemmaCausalLM`, an end-to-end Gemma model for causal language modeling. A causal language model predicts the next token based on previous tokens.\n",
275274
"\n",
276275
"Create the model using the `from_preset` method:"
277276
]
@@ -636,7 +635,7 @@
636635
"source": [
637636
"## Summary\n",
638637
"\n",
639-
"This tutorial walked you through using CodeGemma to infill code based on the surrounding context. Next, check out the [AI Assisted Programming with CodeGemma and KerasNLP notebook](https://ai.google.dev/gemma/docs/codegemma/code_assist_keras) for more examples on how you can use CodeGemma.\n",
638+
"This tutorial walked you through using CodeGemma to infill code based on the surrounding context. Next, check out the [AI Assisted Programming with CodeGemma and KerasHub notebook](https://ai.google.dev/gemma/docs/codegemma/code_assist_keras) for more examples on how you can use CodeGemma.\n",
640639
"\n",
641640
"Also refer to The [CodeGemma model card](https://ai.google.dev/gemma/docs/codegemma/model_card) for the technical specs of the CodeGemma models.\n"
642641
]

0 commit comments

Comments
 (0)