Skip to content

Small Gemma3 doc-string edits #2214

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 14, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions keras_hub/src/models/gemma3/gemma3_causal_lm_preprocessor.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@ class Gemma3CausalLMPreprocessor(CausalLMPreprocessor):

For use with generation, the layer also exposes two methods
`generate_preprocess()` and `generate_postprocess()`. When this preprocessor
is attached to a `keras_hub.models.GemmaCausalLM` instance, these methods
is attached to a `keras_hub.models.Gemma3CausalLM` instance, these methods
will be called implicitly in `generate()`. They can also be called
standalone (e.g. to precompute preprocessing inputs for generation in a
separate process).

Args:
tokenizer: A `keras_hub.models.GemmaTokenizer` instance.
tokenizer: A `keras_hub.models.Gemma3Tokenizer` instance.
image_converter: A `keras_hub.layers.ImageConverter` instance. Defaults
to `None`.
sequence_length: The length of the packed inputs. Defaults to 1024.
Expand Down
Loading