gemma icon indicating copy to clipboard operation
gemma copied to clipboard

Fixes Typos in multiple files

Open hawkaii opened this issue 3 months ago • 1 comments

This pull request consists of minor corrections to spelling and grammar in comments and docstrings across several files. These changes improve code readability and maintain consistency in documentation.

Fixes #423 Documentation and comment corrections:

  • Fixed spelling of "grammatically" in the user prompt template in examples/classification.py.
  • Corrected spelling of "respectively" in a comment describing label token mapping in examples/classification.py.
  • Corrected "aribtrary" to "arbitrary" in comments describing batch shape handling in gemma/gm/nn/_transformer.py and gemma/gm/nn/gemma3n/_transformer.py. [1] [2]
  • Fixed spelling of "triggering" in docstrings for output buffer length in gemma/gm/text/_chat_sampler.py and gemma/gm/text/_sampler.py. [1] [2]
  • Corrected "argiments" to "arguments" in a comment about Jax vmap support in gemma/gm/vision/_token_utils.py.

hawkaii avatar Sep 27 '25 05:09 hawkaii

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

google-cla[bot] avatar Sep 27 '25 05:09 google-cla[bot]