Skip to content

v0.3.0

Compare
Choose a tag to compare
@mattdangerw mattdangerw released this 30 Jun 00:55
· 945 commits to master since this release
f9abc8f

Summary

  • Added keras_nlp.tokenizers.SentencePieceTokenizer.
  • Added two token packing layers keras_nlp.layers.StartEndPacker and keras_nlp.layers.MultiSegmentPacker.
  • Added two metrics, keras_nlp.metrics.RougeL and keras_nlp.metrics.RougeN based on the rouge-score package.
  • Added five utilities for generating sequences, keras_nlp.utils.greedy_search, keras_nlp.utils.random_search, keras_nlp.utils.top_k_search, keras_nlp.utils.top_p_search, keras_nlp.utils.beam_search.

What's Changed

New Contributors

Full Changelog: v0.2.0...v0.3.0