v0.29.1
New Models
-
Swin Transformer: Added Swin Transformer, a hierarchical vision transformer that uses shifted windows for efficient self-attention computation, enabling strong performance across image classification, object detection, and segmentation tasks.
-
Gemma4: Added Gemma4, Google's latest lightweight open model with assistant-style capabilities and speculative decoding support for significantly faster text generation.
New Features
-
HuggingFace Sync: Updated the model preset catalog with the latest weights and configurations to HuggingFace, expanding the range of ready-to-use pretrained models.
-
ViT Presets: Refined Vision Transformer preset configurations with corrected naming conventions and accurate checkpoint mappings for improved usability.
Bug Fixes and Improvements
- Preprocessing:
- Fixed
convert_preprocessing_outputsto safely handle Python-native outputs and prevent.dtypeerrors.
- Fixed
- Tokenizers:
- Fixed compatibility with
tokenizers>=0.23.
- Fixed compatibility with
- KaggleHub:
- Excluded
kagglehub 1.0.1due to brokenkagglesdk 0.1.24compatibility.
- Excluded
- Attention Layers:
- Fixed shape passed to inner
EinsumDensein XLNET attention. - Fixed dynamic shape handling in Moonshine multi-head attention layer.
- Fixed shape passed to inner
- Generation:
- Fixed parallelization of input data in
generate().
- Fixed parallelization of input data in
- Model Presets:
- Fixed
vit_encoder_layername typo. - Fixed missing parameter counts in T5 preset metadata.
- Fixed
- Dependencies:
- Updated Keras version requirement to 3.14.
Contributors
We would like to thank our contributors for this release: @laxmareddyp, @AdonaiVera, @dvadym, @hertschuh, @MaitrySinha21, @sachinprasadhs.
New Contributors
- @AdonaiVera made their first contribution
- @dvadym made their first contribution
Full Changelog: v0.29.0...v0.29.1