keras-hub-nightly 0.21.0.dev202504140404__py3-none-any.whl → 0.21.0.dev202504150403__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- keras_hub/src/models/gemma3/gemma3_causal_lm_preprocessor.py +2 -2
- keras_hub/src/version_utils.py +1 -1
- {keras_hub_nightly-0.21.0.dev202504140404.dist-info → keras_hub_nightly-0.21.0.dev202504150403.dist-info}/METADATA +1 -1
- {keras_hub_nightly-0.21.0.dev202504140404.dist-info → keras_hub_nightly-0.21.0.dev202504150403.dist-info}/RECORD +6 -6
- {keras_hub_nightly-0.21.0.dev202504140404.dist-info → keras_hub_nightly-0.21.0.dev202504150403.dist-info}/WHEEL +0 -0
- {keras_hub_nightly-0.21.0.dev202504140404.dist-info → keras_hub_nightly-0.21.0.dev202504150403.dist-info}/top_level.txt +0 -0
@@ -40,13 +40,13 @@ class Gemma3CausalLMPreprocessor(CausalLMPreprocessor):
|
|
40
40
|
|
41
41
|
For use with generation, the layer also exposes two methods
|
42
42
|
`generate_preprocess()` and `generate_postprocess()`. When this preprocessor
|
43
|
-
is attached to a `keras_hub.models.
|
43
|
+
is attached to a `keras_hub.models.Gemma3CausalLM` instance, these methods
|
44
44
|
will be called implicitly in `generate()`. They can also be called
|
45
45
|
standalone (e.g. to precompute preprocessing inputs for generation in a
|
46
46
|
separate process).
|
47
47
|
|
48
48
|
Args:
|
49
|
-
tokenizer: A `keras_hub.models.
|
49
|
+
tokenizer: A `keras_hub.models.Gemma3Tokenizer` instance.
|
50
50
|
image_converter: A `keras_hub.layers.ImageConverter` instance. Defaults
|
51
51
|
to `None`.
|
52
52
|
sequence_length: The length of the packed inputs. Defaults to 1024.
|
keras_hub/src/version_utils.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: keras-hub-nightly
|
3
|
-
Version: 0.21.0.
|
3
|
+
Version: 0.21.0.dev202504150403
|
4
4
|
Summary: Industry-strength Natural Language Processing extensions for Keras.
|
5
5
|
Home-page: https://github.com/keras-team/keras-hub
|
6
6
|
Author: Keras team
|
@@ -8,7 +8,7 @@ keras_hub/api/tokenizers/__init__.py,sha256=NCQSOg3vf3KlM2YBsxApcJUVu9MH2jV0NQrM
|
|
8
8
|
keras_hub/api/utils/__init__.py,sha256=Gp1E6gG-RtKQS3PBEQEOz9PQvXkXaJ0ySGMqZ7myN7A,215
|
9
9
|
keras_hub/src/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
10
10
|
keras_hub/src/api_export.py,sha256=9pQZK27JObxWZ96QPLBp1OBsjWigh1iuV6RglPGMRk0,1499
|
11
|
-
keras_hub/src/version_utils.py,sha256=
|
11
|
+
keras_hub/src/version_utils.py,sha256=6e2RDrcafwWZnjPyLYk7VQudGx0X7TWTUMhcoWWHjUA,222
|
12
12
|
keras_hub/src/layers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
13
13
|
keras_hub/src/layers/modeling/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
14
14
|
keras_hub/src/layers/modeling/alibi_bias.py,sha256=1XBTHI52L_iJDhN_w5ydu_iMhCuTgQAxEPwcLA6BPuk,4411
|
@@ -199,7 +199,7 @@ keras_hub/src/models/gemma3/__init__.py,sha256=oPFadkdK5DRLD6sYx83iTetY5daWuSzmJ
|
|
199
199
|
keras_hub/src/models/gemma3/gemma3_attention.py,sha256=VstFCTVsplcDNSgnyBcSpLgKn-pktJ39D5Ri-Bb7BQA,13628
|
200
200
|
keras_hub/src/models/gemma3/gemma3_backbone.py,sha256=xw6gbFZWZuREcN1iyPj-1Hm-3EmRglgFD5fQSzDp3zA,16439
|
201
201
|
keras_hub/src/models/gemma3/gemma3_causal_lm.py,sha256=U3C9TWlIz8VefAxQ0wJ6bDz18wqHBie8B26Ub_nFZs4,13843
|
202
|
-
keras_hub/src/models/gemma3/gemma3_causal_lm_preprocessor.py,sha256=
|
202
|
+
keras_hub/src/models/gemma3/gemma3_causal_lm_preprocessor.py,sha256=HPIkSRAevePLEWx-t6oqtaOdxF0FjeBQKAg2Ey9axLA,29524
|
203
203
|
keras_hub/src/models/gemma3/gemma3_decoder_block.py,sha256=6PLlpDxxF67stDv74fw9nNgUHBWmTLx6qGygJwyu5FY,10819
|
204
204
|
keras_hub/src/models/gemma3/gemma3_image_converter.py,sha256=czi5JrTyKiK0nFzvonviBIX8jjvLHqvGNA9RyheB31k,536
|
205
205
|
keras_hub/src/models/gemma3/gemma3_interleave_embeddings.py,sha256=_Q5hvhA93HAJe-A2IBRKVu0_RDVht61lFQiYse_9Rm4,4597
|
@@ -465,7 +465,7 @@ keras_hub/src/utils/transformers/convert_qwen.py,sha256=WUxMAEFVqRs7TRw7QU5TH3_e
|
|
465
465
|
keras_hub/src/utils/transformers/convert_vit.py,sha256=9SUZ9utNJhW_5cj3acMn9cRy47u2eIcDsrhmzj77o9k,5187
|
466
466
|
keras_hub/src/utils/transformers/preset_loader.py,sha256=0Hi7R8HnATcwFVLsJwMMIMWTCXHNfep4IPiRpQXqM-w,3933
|
467
467
|
keras_hub/src/utils/transformers/safetensor_utils.py,sha256=CYUHyA4y-B61r7NDnCsFb4t_UmSwZ1k9L-8gzEd6KRg,3339
|
468
|
-
keras_hub_nightly-0.21.0.
|
469
|
-
keras_hub_nightly-0.21.0.
|
470
|
-
keras_hub_nightly-0.21.0.
|
471
|
-
keras_hub_nightly-0.21.0.
|
468
|
+
keras_hub_nightly-0.21.0.dev202504150403.dist-info/METADATA,sha256=PDa-OQjDAFvJrNFMe-Aew_iLHx0ESv7_AAWMgMad_QU,7715
|
469
|
+
keras_hub_nightly-0.21.0.dev202504150403.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
470
|
+
keras_hub_nightly-0.21.0.dev202504150403.dist-info/top_level.txt,sha256=N4J6piIWBKa38A4uV-CnIopnOEf8mHAbkNXafXm_CuA,10
|
471
|
+
keras_hub_nightly-0.21.0.dev202504150403.dist-info/RECORD,,
|
File without changes
|