0.14.0
Summary
- Add Gemma 2 model!
- Support loading fine-tuned transformers checkpoints in KerasNLP. Loading Gemma and Llama3 models are supported for now and will convert on the fly.
- KerasNLP no longer supports Keras 2. Read Getting started with Keras for more information on installing Keras 3 and compatibility with different frameworks. We recommend using KerasNLP with TensorFlow 2.16 or later, as TF 2.16 packages Keras 3 by default.
What's Changed
- Fix newline characters for pali_gemma by @mattdangerw in #1655
- Remove dead code by @mattdangerw in #1659
- Fix some testing on the latest version of keras by @mattdangerw in #1663
- Vicuna Models checkpoints transfer script by @sineeli in #1657
- Add documented but missing methods for some tokenizers by @SamanehSaadat in #1664
- Changed from_preset file downloading to use GFile when able by @VarunS1997 in #1665
- Fix gfile downloads by @mattdangerw in #1666
- More error handling for gfile by @mattdangerw in #1667
- Update error message by @mattdangerw in #1668
- Ditch Keras 2 support by @mattdangerw in #1658
- fix GemmaBackbone.get_layout_map + test by @martin-gorner in #1669
- Covert a
safetensor
checkpoint from Hugging Face hub by @ariG23498 in #1662 - Add Gemma 2 model by @grasskin in #1673
- Version bump to 0.14.0.dev0 by @grasskin in #1677
Full Changelog: v0.12.1...r0.14