v0.26.0
New Models
- Translate Gemma: A multimodal variant of the Gemma 3 model fine-tuned for high-quality machine translation across 55 languages and capable to translate many more languages both directions, supporting both text and image inputs.
- SAM3 (Segment Anything Model 3): A next-generation computer vision model that introduces Promptable Concept Segmentation (PCS), allowing for precise object and concept segmentation through text or visual prompts.
- Qwen 2.5 Coder: A code-specialized version of the Qwen 2.5 series, optimized for programming tasks, debugging, and code generation across a wide variety of programming languages.
- Qwen 2.5 Math: A specialized variant of the Qwen 2.5 family designed for advanced mathematical reasoning, capable of solving complex problems with high precision.
- Qwen 3 Coder: An advanced coding Mixture-of-Experts model built on the Qwen 3 MoE architecture, delivering exceptional performance across both programming benchmarks and agentic tasks.
- RWKV7: A high-performance, fully recurrent (100% RNN) architecture featuring linear-time complexity and constant-space inference. By eliminating the need for a KV-cache and standard attention mechanisms.
Export to Safetensors
- Added Gemma3 Text models support for Safetensor export.
- Added Qwen Text models support for Safetensor export.
New Features
- Hugging Face Porting Script: Added an automated script to port any text-only decoder LLM from Hugging Face to the Keras Hub repository.
- AWQ Support: Added support for Activation-aware Weight Quantization (AWQ).
Bug Fixes and Improvements
- Python 3.13 Compatibility: Made
tensorflow-textan optional dependency to ensure compatibility with Python 3.13. - Masking: Fixed masking issues in
TokenAndPositionEmbeddingand improved compatibility with JAX. - Security: Fixed a safe mode bypass vulnerability in tokenizers.
- Numerical Stability: Fixed a float16 overflow issue in Gemma 3.
Contributors
We would like to thank our contributors for this release: @Amitavoo, @amitsrivastava78, @divyashreepathihalli, @gaurides, @hertschuh, @james77777778, @jaytiwarihub, @JyotinderSingh, @kharshith-k, @LakshmiKalaKadali, @laxmareddyp, @mattdangerw, @nikolasavic3, @pass-lin, @pctablet505, @sachinprasadhs, @shashaka.
Full Changelog: https://github.com/keras-team/keras-hub/compare/v0.25.1...v0.26.0