v0.3.0
Summary
- Added
keras_nlp.tokenizers.SentencePieceTokenizer
. - Added two token packing layers
keras_nlp.layers.StartEndPacker
andkeras_nlp.layers.MultiSegmentPacker
. - Added two metrics,
keras_nlp.metrics.RougeL
andkeras_nlp.metrics.RougeN
based on therouge-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
- Greedy text generation util by @chenmoneygithub in #154
- Remove incorrect embedding size limit by @mattdangerw in #195
- Fix inits for bert heads by @mattdangerw in #192
- Add keras.io links to README by @mattdangerw in #196
- Minor Corrections In ROADMAP.md by @saiteja13427 in #200
- Fix Loose Dependency Imports by @abheesht17 in #199
- Reorganize examples by @mattdangerw in #179
- Remove bert config arguments from README by @mattdangerw in #205
- Add checkpoints to BERT training by @chenmoneygithub in #184
- Run keras tuner from a temp directory by @mattdangerw in #202
- Token and position embedding minor fixes by @mattdangerw in #203
- Correct typo in WordPieceTokenizer by @abheesht17 in #208
- Add TPU support to BERT example by @chenmoneygithub in #207
- Remove type annotations for complex types by @mattdangerw in #194
- Issue 182: Modified TransformerDecoder with optional parameter by @jessechancy in #217
- Add StartEndPacker layer by @abheesht17 in #221
- Add a layer for packing inputs for BERT-likes by @mattdangerw in #88
- Ignore UserWarning to fix nightly testing breakage by @chenmoneygithub in #227
- Add ROUGE Metric by @abheesht17 in #122
- Allow long lines for links in docstrings by @mattdangerw in #229
- Random Sampling Util for Text Generation by @jessechancy in #228
- added top k search util by @jessechancy in #232
- top p search and testing by @jessechancy in #233
- Add a SentencePiece tokenizer by @mattdangerw in #218
- Add cloud training support for BERT example by @chenmoneygithub in #226
- Bump version to 0.3.0 for upcoming release by @mattdangerw in #239
- Add support for StartEndPacker packing 2D tensor by @jessechancy in #240
- Fixed Bug with Unicode Tokenizer Vocab Size by @aflah02 in #243
- Fixed Import for top_p_search util by @aflah02 in #245
- MultiSegmentPacker support for 2D dense tensor by @jessechancy in #244
- Minor fixes for multi-segment packer by @mattdangerw in #246
- Add beam search decoding util by @jessechancy in #237
New Contributors
- @saiteja13427 made their first contribution in #200
- @jessechancy made their first contribution in #217
Full Changelog: v0.2.0...v0.3.0