Skip to content

v0.5.0

Compare
Choose a tag to compare
@chenmoneygithub chenmoneygithub released this 05 May 20:36
· 5 commits to r0.5 since this release

In this 0.5 release, we are bringing generative AI to KerasNLP!

Summary

  • Added text generation task model keras_nlp.models.GPT2CausalLM and keras_nlp.models.OPTCausalLM along with corresponding preprocessors. Both task models exposed a public generate() method for text generation.
  • Refactored text generation utils into sampler APIs in keras_nlp.samplers for better UX and scalability.
  • Added MaskedLM task models keras_nlp.models.XXXMaskedLM, e.g., keras_nlp.models.BertMaskedLM.

What's Changed

New Contributors

Full Changelog: v0.4.0...v0.5.0