Skip to content

Commit d780ebb

Browse files
fix minor typos on keras_hub/getting_started.py (#2027)
1 parent cf019db commit d780ebb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

guides/keras_hub/getting_started.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -272,8 +272,8 @@
272272
tokens vary per model and can be hard to track, the [Kaggle model
273273
page](https://www.kaggle.com/models/keras/gemma2/) will contain details such as this.
274274
275-
`CausalLM` come with an extra function called `generate()` which can be used generate
276-
predict tokens in a loop and decode them as a string.
275+
`CausalLM` comes with an extra function called `generate()` which can be used generate
276+
predicted tokens in a loop and decode them as a string.
277277
"""
278278

279279
template = "<start_of_turn>user\n{question}<end_of_turn>\n<start_of_turn>model"
@@ -285,7 +285,7 @@
285285
"""
286286
Note that on the Jax and TensorFlow backends, this `generate()` function is compiled, so
287287
the second time you call for the same `max_length`, it will actually be much faster.
288-
KerasHub will use Jax an TensorFlow to compute an optimized version of the generation
288+
KerasHub will use Jax and TensorFlow to compute an optimized version of the generation
289289
computational graph that can be reused.
290290
"""
291291

0 commit comments

Comments
 (0)