Keras-nlp

Latest version: v0.12.1

Safety actively analyzes 638646 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 6

0.4.0

The 0.4 release adds support for pretrained models to the library via `keras_nlp.models`. You can read an
introduction to the new API in our [Getting Started Guide](https://keras.io/guides/keras_nlp/getting_started/).

If you encounter any problems or have questions, please open an issue!

Breaking Changes
* Renamed `keras_nlp.layers.MLMHead` -> `keras_nlp.layers.MaskedLMHead`.
* Renamed `keras_nlp.layers.MLMMaskGenerator` -> `keras_nlp.layers.MaskedLMMaskGenerator`.
* Renamed `keras_nlp.layers.UnicodeCharacterTokenizer` -> `keras_nlp.layers.UnicodeCodepointTokenizer`.
* Switched the default of `lowercase` in `keras_nlp.tokenizers.WordPieceTokenizer` from `True` to `False`.
* Renamed the token id output of `MaskedLMMaskGenerator` from `"tokens"` to `"tokens_ids"`.

Summary
* Added the `keras_nlp.models` API.
* Added support for BERT, DistilBERT, RoBERTa, and XLM-RoBERTa models and pretrained checkpoints.
* See our [Getting Started Guide](https://keras.io/guides/keras_nlp/getting_started/) for more details.
* Added new metrics.
* `keras_nlp.metrics.Bleu` and `keras_nlp.metrics.EditDistance`.
* Added new vocabulary training utilities.
* `keras_nlp.tokenizers.compute_word_piece_vocabulary` and `keras_nlp.tokenizers.compute_sentence_piece_proto`.
* Added new preprocessing layers.
* `keras_nlp.layers.RandomSwap` and `keras_nlp.layers.RandomDeletion`.

What's Changed
* Add Edit Distance Metric by abheesht17 in https://github.com/keras-team/keras-nlp/pull/231
* Minor fix to simplify and test handling of max_length prompts by jbischof in https://github.com/keras-team/keras-nlp/pull/258
* Remove split regex args for WordPieceTokenizer by mattdangerw in https://github.com/keras-team/keras-nlp/pull/255
* Add instructions on installing the latest changes by mattdangerw in https://github.com/keras-team/keras-nlp/pull/261
* Add warning when k > vocab_size in top_k_search by jbischof in https://github.com/keras-team/keras-nlp/pull/260
* Fix keras library imports and usage by jbischof in https://github.com/keras-team/keras-nlp/pull/262
* Add BLEU Score by abheesht17 in https://github.com/keras-team/keras-nlp/pull/222
* Configure GKE-based accelerator testing by chenmoneygithub in https://github.com/keras-team/keras-nlp/pull/265
* Added WordPieceTokenizer training function by jessechancy in https://github.com/keras-team/keras-nlp/pull/256
* Add requirements.txt for cloud build by chenmoneygithub in https://github.com/keras-team/keras-nlp/pull/267
* Global Seed Bug Fix by jessechancy in https://github.com/keras-team/keras-nlp/pull/269
* Update accelerator testing to use the new GCP project by chenmoneygithub in https://github.com/keras-team/keras-nlp/pull/272
* Fixed typo: "recieved" by ehrencrona in https://github.com/keras-team/keras-nlp/pull/273
* Reuse dense pooled output for fine tuning by mattdangerw in https://github.com/keras-team/keras-nlp/pull/251
* Simplify BERT modeling, use keras embeddings by mattdangerw in https://github.com/keras-team/keras-nlp/pull/253
* Rename UnicodeCharacterTokenizer>UnicodeCodepointTokenizer by mattdangerw in https://github.com/keras-team/keras-nlp/pull/254
* Add README for accelerator testing config folder by chenmoneygithub in https://github.com/keras-team/keras-nlp/pull/276
* Random Deletion Layer by aflah02 in https://github.com/keras-team/keras-nlp/pull/214
* Made trainer more efficient. Loading full files instead of using TextLineDataset. by jessechancy in https://github.com/keras-team/keras-nlp/pull/280
* Use KerasNLP for BERT preprocessing for GLUE by mattdangerw in https://github.com/keras-team/keras-nlp/pull/252
* Minor fixes to the Random Deletion Layer by aflah02 in https://github.com/keras-team/keras-nlp/pull/286
* Fixes for WordPieceTrainer by aflah02 in https://github.com/keras-team/keras-nlp/pull/293
* Update default to strip_accents=False by jessechancy in https://github.com/keras-team/keras-nlp/pull/289
* Move Bert to models folder by jbischof in https://github.com/keras-team/keras-nlp/pull/288
* Make Decoding Functions Graph-compatible (with XLA Support!) by abheesht17 in https://github.com/keras-team/keras-nlp/pull/271
* SentencePieceTrainer by aflah02 in https://github.com/keras-team/keras-nlp/pull/281
* Rename `models.Bert()` to `models.BertCustom()` by jbischof in https://github.com/keras-team/keras-nlp/pull/310
* Add a test for variable sequence length inputs by mattdangerw in https://github.com/keras-team/keras-nlp/pull/313
* Support checkpoint loading for `BertBase` by jbischof in https://github.com/keras-team/keras-nlp/pull/299
* RoBERTa pretrained model forward pass by jessechancy in https://github.com/keras-team/keras-nlp/pull/304
* Register objects as serializable by mattdangerw in https://github.com/keras-team/keras-nlp/pull/292
* Style merging for Bert and Roberta by jbischof in https://github.com/keras-team/keras-nlp/pull/315
* Streamline and speed up tests by jbischof in https://github.com/keras-team/keras-nlp/pull/324
* Add Support for CJK Char Splitting for WordPiece Tokenizer by abheesht17 in https://github.com/keras-team/keras-nlp/pull/318
* Clean up model input names for consistency by mattdangerw in https://github.com/keras-team/keras-nlp/pull/327
* Return a single tensor from roberta by mattdangerw in https://github.com/keras-team/keras-nlp/pull/328
* BERT, RoBERTa: Add `model.compile` UTs by abheesht17 in https://github.com/keras-team/keras-nlp/pull/330
* Continue rename of bert model inputs by mattdangerw in https://github.com/keras-team/keras-nlp/pull/329
* Text Generation Utilities: Add Support for Ragged Inputs by abheesht17 in https://github.com/keras-team/keras-nlp/pull/300
* `bert_base_zh`, `bert_base_multi_cased`: Add BERT Base Variants by abheesht17 in https://github.com/keras-team/keras-nlp/pull/319
* WordPiece vocabularies trainer on Wikipedia dataset by jessechancy in https://github.com/keras-team/keras-nlp/pull/316
* Use the exported ragged ops for RandomDeletion by mattdangerw in https://github.com/keras-team/keras-nlp/pull/332
* Random Swap Layer by aflah02 in https://github.com/keras-team/keras-nlp/pull/224
* Fixes for Random Deletion Layer by aflah02 in https://github.com/keras-team/keras-nlp/pull/339
* Move cloudbuild to a hidden directory by mattdangerw in https://github.com/keras-team/keras-nlp/pull/345
* Fix the build by mattdangerw in https://github.com/keras-team/keras-nlp/pull/349
* Migrating from Datasets to TFDS for GLUE Example by aflah02 in https://github.com/keras-team/keras-nlp/pull/340
* Move network_tests into keras_nlp/ by mattdangerw in https://github.com/keras-team/keras-nlp/pull/344
* Stop hardcoding 2.9 by mattdangerw in https://github.com/keras-team/keras-nlp/pull/351
* Add BERT Large by abheesht17 in https://github.com/keras-team/keras-nlp/pull/331
* Add normalize_first arg to Transformer Layers by abheesht17 in https://github.com/keras-team/keras-nlp/pull/350
* Add Small BERT Variants by abheesht17 in https://github.com/keras-team/keras-nlp/pull/338
* Beam Search: Add Ragged and XLA Support by abheesht17 in https://github.com/keras-team/keras-nlp/pull/341
* Fix download paths for bert weights by mattdangerw in https://github.com/keras-team/keras-nlp/pull/356
* Add a BertPreprocessor class by mattdangerw in https://github.com/keras-team/keras-nlp/pull/343
* Text Generation Functions: Add Benchmark Script by abheesht17 in https://github.com/keras-team/keras-nlp/pull/342
* Improve readability for encoder/decoder blocks by mattdangerw in https://github.com/keras-team/keras-nlp/pull/353
* Add GPT-2 Model and its Variants by abheesht17 in https://github.com/keras-team/keras-nlp/pull/354
* Clean up BERT, RoBERTa doc-strings by abheesht17 in https://github.com/keras-team/keras-nlp/pull/359
* Create unique string id for each BERT backbone by jbischof in https://github.com/keras-team/keras-nlp/pull/361
* Use model.fit() for BERT Example by abheesht17 in https://github.com/keras-team/keras-nlp/pull/360
* Minor Fixes in BertPreprocessor Layer by abheesht17 in https://github.com/keras-team/keras-nlp/pull/373
* Clone user passed initializers called multiple times by mattdangerw in https://github.com/keras-team/keras-nlp/pull/371
* Update BERT model file structure by mattdangerw in https://github.com/keras-team/keras-nlp/pull/376
* Move gpt model code into a directory by mattdangerw in https://github.com/keras-team/keras-nlp/pull/379
* Move roberta model code into a directory by mattdangerw in https://github.com/keras-team/keras-nlp/pull/380
* Reorg test directories by mattdangerw in https://github.com/keras-team/keras-nlp/pull/384
* Add XLM-RoBERTa by abheesht17 in https://github.com/keras-team/keras-nlp/pull/372
* Add DistilBERT by abheesht17 in https://github.com/keras-team/keras-nlp/pull/382
* Stop running CI on Windows by mattdangerw in https://github.com/keras-team/keras-nlp/pull/386
* Fix Bert serialization by mattdangerw in https://github.com/keras-team/keras-nlp/pull/385
* Improve MacOS support and pin tensorflow version during testing by mattdangerw in https://github.com/keras-team/keras-nlp/pull/383
* Unify BERT model API in one class by jbischof in https://github.com/keras-team/keras-nlp/pull/387
* Add `from_preset` constructor to `BertPreprocessor` by jbischof in https://github.com/keras-team/keras-nlp/pull/390
* More robustly test BERT preprocessing by mattdangerw in https://github.com/keras-team/keras-nlp/pull/394
* Move `name` and `trainable` to `kwargs` by jbischof in https://github.com/keras-team/keras-nlp/pull/399
* Add `backbone` as `property` for task models by jbischof in https://github.com/keras-team/keras-nlp/pull/398
* Set default name of `Bert` instance to `"backbone"` by jbischof in https://github.com/keras-team/keras-nlp/pull/397
* Fix gpt2 serialization by mattdangerw in https://github.com/keras-team/keras-nlp/pull/391
* Fix distilbert serialization by mattdangerw in https://github.com/keras-team/keras-nlp/pull/392
* Fix roberta and xlm-roberta serialization by mattdangerw in https://github.com/keras-team/keras-nlp/pull/393
* Register the BertPreprocessor as serializable by mattdangerw in https://github.com/keras-team/keras-nlp/pull/401
* BPE tokenizer by chenmoneygithub in https://github.com/keras-team/keras-nlp/pull/389
* Change GPT-2's Format to Mirror BERT's by abheesht17 in https://github.com/keras-team/keras-nlp/pull/418
* Fix bert preprocessing docstring so it is runnable by mattdangerw in https://github.com/keras-team/keras-nlp/pull/421
* Change RoBERTa and XLM-RoBERTa's Format to Mirror BERT's by abheesht17 in https://github.com/keras-team/keras-nlp/pull/417
* Update distilbert to mirror recent bert changes by mattdangerw in https://github.com/keras-team/keras-nlp/pull/406
* Change gpt2 to GPT2 by sampathweb in https://github.com/keras-team/keras-nlp/pull/425
* Fix byte pair detokenization of 2d arrays by mattdangerw in https://github.com/keras-team/keras-nlp/pull/423
* Never pass Raggeds to user function when generating text by mattdangerw in https://github.com/keras-team/keras-nlp/pull/424
* Add XLMRobertaClassifier by abheesht17 in https://github.com/keras-team/keras-nlp/pull/422
* Add RobertaPreprocessor Layer by abheesht17 in https://github.com/keras-team/keras-nlp/pull/419
* Update Style Guide for naming of Models and Layers by sampathweb in https://github.com/keras-team/keras-nlp/pull/434
* Support String Output for BytePairTokenizer by abheesht17 in https://github.com/keras-team/keras-nlp/pull/438
* Improve our continuous testing for model presets by mattdangerw in https://github.com/keras-team/keras-nlp/pull/357
* Remove remote files from BPE docstring by jbischof in https://github.com/keras-team/keras-nlp/pull/440
* Add DistilBertClassifier by abheesht17 in https://github.com/keras-team/keras-nlp/pull/437
* Remove lingering reference to BertCustom by mattdangerw in https://github.com/keras-team/keras-nlp/pull/441
* Add XLM-RoBERTa Tokenizer (SPM) by abheesht17 in https://github.com/keras-team/keras-nlp/pull/428
* Add a disclaimer for use of model checkpoints by mattdangerw in https://github.com/keras-team/keras-nlp/pull/430
* Add a disclaimer to our README by mattdangerw in https://github.com/keras-team/keras-nlp/pull/431
* Fix our BERT GLUE example so it runs again by mattdangerw in https://github.com/keras-team/keras-nlp/pull/444
* Add backbone presets to task classes by jbischof in https://github.com/keras-team/keras-nlp/pull/448
* Split the Bert tokenizer to a separate class by mattdangerw in https://github.com/keras-team/keras-nlp/pull/449
* Conditionally import tf text by mattdangerw in https://github.com/keras-team/keras-nlp/pull/452
* Copy our model disclaimer to the distilbert classifier by mattdangerw in https://github.com/keras-team/keras-nlp/pull/453
* Fix regex string for BPE by chenmoneygithub in https://github.com/keras-team/keras-nlp/pull/458
* Fix docstrings and add note to style guide by jbischof in https://github.com/keras-team/keras-nlp/pull/464
* Allow formatting our docstrings inline by mattdangerw in https://github.com/keras-team/keras-nlp/pull/450
* Update self.assertEquals with self.assertEqual by MaximSmolskiy in https://github.com/keras-team/keras-nlp/pull/466
* Document our release process by mattdangerw in https://github.com/keras-team/keras-nlp/pull/473
* Add RobertaTokenizer by abheesht17 in https://github.com/keras-team/keras-nlp/pull/468
* Add DistilBertTokenizer by abheesht17 in https://github.com/keras-team/keras-nlp/pull/469
* Modify XLMRobertaTokenizer to Match BERT by abheesht17 in https://github.com/keras-team/keras-nlp/pull/471
* Add GPT2Tokenizer by abheesht17 in https://github.com/keras-team/keras-nlp/pull/470
* Minor fix to git commands by mattdangerw in https://github.com/keras-team/keras-nlp/pull/475
* Version bump to 0.4.0 by mattdangerw in https://github.com/keras-team/keras-nlp/pull/476
* Clarify comment on BERT preset testing by mattdangerw in https://github.com/keras-team/keras-nlp/pull/477
* Fix the nightly build by mattdangerw in https://github.com/keras-team/keras-nlp/pull/484
* Bump tf and tf-text to 2.11 by mattdangerw in https://github.com/keras-team/keras-nlp/pull/490
* Consolidate preset testing by mattdangerw in https://github.com/keras-team/keras-nlp/pull/480
* Allow BertPreprocessor to map labeled datasets by mattdangerw in https://github.com/keras-team/keras-nlp/pull/478
* Glue eval script by chenmoneygithub in https://github.com/keras-team/keras-nlp/pull/445
* Update Requirements and Python version in setup.py by sampathweb in https://github.com/keras-team/keras-nlp/pull/495
* First task-level preset with `BertClassifier` by jbischof in https://github.com/keras-team/keras-nlp/pull/494
* Add a helper model to automatically apply preprocessing by mattdangerw in https://github.com/keras-team/keras-nlp/pull/346
* Add GPT2 Presets by abheesht17 in https://github.com/keras-team/keras-nlp/pull/472
* fix incorrect flag by chenmoneygithub in https://github.com/keras-team/keras-nlp/pull/496
* Add instructions on how to update deps of GPU testing by chenmoneygithub in https://github.com/keras-team/keras-nlp/pull/499
* Add XLM-RoBERTa Presets by abheesht17 in https://github.com/keras-team/keras-nlp/pull/482
* Add DistilBERT Presets by abheesht17 in https://github.com/keras-team/keras-nlp/pull/479
* Add RoBERTa Presets by abheesht17 in https://github.com/keras-team/keras-nlp/pull/506
* Fix nightly builds by mattdangerw in https://github.com/keras-team/keras-nlp/pull/522
* Remove typo by jbischof in https://github.com/keras-team/keras-nlp/pull/515
* Fix Model Doc-string Examples by abheesht17 in https://github.com/keras-team/keras-nlp/pull/516
* Mark format.sh executable again by mattdangerw in https://github.com/keras-team/keras-nlp/pull/518
* Make BertClassifier operate directly on raw string inputs by mattdangerw in https://github.com/keras-team/keras-nlp/pull/485
* Fix nightlies take two by mattdangerw in https://github.com/keras-team/keras-nlp/pull/525
* Use `tf.ones` for docstring example input by jbischof in https://github.com/keras-team/keras-nlp/pull/524
* Fix the index order of GLUE script and other bugs by chenmoneygithub in https://github.com/keras-team/keras-nlp/pull/517
* Standardize on "backbone" naming for BERT by jbischof in https://github.com/keras-team/keras-nlp/pull/536
* Add dropout to BertClassifier by chenmoneygithub in https://github.com/keras-team/keras-nlp/pull/540
* Preprocess string lists as a batch of single segments by mattdangerw in https://github.com/keras-team/keras-nlp/pull/504
* Update model and file names for DistilBert by ADITYADAS1999 in https://github.com/keras-team/keras-nlp/pull/541
* Rename filenames in models/ to match classnames by mattdangerw in https://github.com/keras-team/keras-nlp/pull/548
* Split tokenizers into their own file by mattdangerw in https://github.com/keras-team/keras-nlp/pull/549
* Add a note about our new file naming conventions by mattdangerw in https://github.com/keras-team/keras-nlp/pull/553
* Add distribution support for GLUE script by chenmoneygithub in https://github.com/keras-team/keras-nlp/pull/544
* Make out preset ids more consistent by mattdangerw in https://github.com/keras-team/keras-nlp/pull/552
* Rename DistilBert -> DistilBertBackbone by mattdangerw in https://github.com/keras-team/keras-nlp/pull/551
* Rename Roberta -> RobertaBackbone (and same for XLM*) by mattdangerw in https://github.com/keras-team/keras-nlp/pull/550
* Fix link in glue_benchmark README by mattdangerw in https://github.com/keras-team/keras-nlp/pull/557
* Remove qualification for `PRESET_NAMES` by jbischof in https://github.com/keras-team/keras-nlp/pull/554
* Use `black[jupyter]` to format notebooks by jbischof in https://github.com/keras-team/keras-nlp/pull/556
* Temporarily drop GPT2 from our __init__.py by mattdangerw in https://github.com/keras-team/keras-nlp/pull/560
* Replicate 536 changing GPT2 -> GPT2Backbone by ADITYADAS1999 in https://github.com/keras-team/keras-nlp/pull/558
* Change Backbone Names by abheesht17 in https://github.com/keras-team/keras-nlp/pull/559
* Raise a friendly error message for unbatched input by mattdangerw in https://github.com/keras-team/keras-nlp/pull/545
* Fix Typo in Backbone Doc-strings by abheesht17 in https://github.com/keras-team/keras-nlp/pull/565
* Fix LinearDecayWithWarmup crash in BERT model. by reedwm in https://github.com/keras-team/keras-nlp/pull/564
* Update XLMRobertaPreprocessor to mirror recent changes by mattdangerw in https://github.com/keras-team/keras-nlp/pull/568
* Update RobertaPreprocessor to mirror recent changes by mattdangerw in https://github.com/keras-team/keras-nlp/pull/567
* Fix minor typo in BertPreprocessor layer by mattdangerw in https://github.com/keras-team/keras-nlp/pull/569
* Update DistilBertPreprocessor to mirror recent changes by mattdangerw in https://github.com/keras-team/keras-nlp/pull/566
* Point presets to url containing "v1/" by chenmoneygithub in https://github.com/keras-team/keras-nlp/pull/577
* Stop testing h5 saved model format, start testing keras_v3 by mattdangerw in https://github.com/keras-team/keras-nlp/pull/521
* fix the gpu testing by chenmoneygithub in https://github.com/keras-team/keras-nlp/pull/581
* Make DistilBertClassifier operate directly on raw string inputs by mattdangerw in https://github.com/keras-team/keras-nlp/pull/578
* Make RobertaClassifier operate directly on raw string inputs by chenmoneygithub in https://github.com/keras-team/keras-nlp/pull/579
* Export XLM-Roberta Classifier by mattdangerw in https://github.com/keras-team/keras-nlp/pull/580
* Make XLMRobertaClassifier operate directly on raw string inputs by mattdangerw in https://github.com/keras-team/keras-nlp/pull/583
* Fix some misc typos for distilbert by mattdangerw in https://github.com/keras-team/keras-nlp/pull/584
* Report GLUE score and hyperparameter settings by chenmoneygithub in https://github.com/keras-team/keras-nlp/pull/585
* Remove support for Python 3.7 to align with keras-nightly by sampathweb in https://github.com/keras-team/keras-nlp/pull/590
* Add DeBERTa v3 Model by abheesht17 in https://github.com/keras-team/keras-nlp/pull/435
* Add DeBERTa Tokenizer and Preprocessor Classes by abheesht17 in https://github.com/keras-team/keras-nlp/pull/589
* Add Dropout to *Classifier Doc-strings by abheesht17 in https://github.com/keras-team/keras-nlp/pull/595
* Rename MLM -> MaskedLM for all library symbols by mattdangerw in https://github.com/keras-team/keras-nlp/pull/598
* File-level Doc-string Changes for Classifiers and Presets by abheesht17 in https://github.com/keras-team/keras-nlp/pull/604
* Add DebertaClassifier and DeBERTa Presets by abheesht17 in https://github.com/keras-team/keras-nlp/pull/594
* Rename Deberta -> DebertaV3 by mattdangerw in https://github.com/keras-team/keras-nlp/pull/605
* Version bump to 0.4.0.dev0 by mattdangerw in https://github.com/keras-team/keras-nlp/pull/609
* Add mixed precision support for glue script by chenmoneygithub in https://github.com/keras-team/keras-nlp/pull/608
* Remove deberta from 0.4 release by chenmoneygithub in https://github.com/keras-team/keras-nlp/pull/607
* Update README for v0.4 by jbischof in https://github.com/keras-team/keras-nlp/pull/588
* Remove the dev prefix for final release by mattdangerw in https://github.com/keras-team/keras-nlp/pull/613
* Rename preset IDs for consistency by mattdangerw in https://github.com/keras-team/keras-nlp/pull/612

New Contributors
* jbischof made their first contribution in https://github.com/keras-team/keras-nlp/pull/258
* ehrencrona made their first contribution in https://github.com/keras-team/keras-nlp/pull/273
* sampathweb made their first contribution in https://github.com/keras-team/keras-nlp/pull/425
* MaximSmolskiy made their first contribution in https://github.com/keras-team/keras-nlp/pull/466
* ADITYADAS1999 made their first contribution in https://github.com/keras-team/keras-nlp/pull/541
* reedwm made their first contribution in https://github.com/keras-team/keras-nlp/pull/564

**Full Changelog**: https://github.com/keras-team/keras-nlp/compare/v0.3.0...v0.4.0

0.4.0.dev0

**⚠️⚠️⚠️ This is a pre-release for testing purposes, documentation for this release has not yet shipped.**

The KerasNLP 0.4 adds support for pretrained models to the API via `keras_nlp.models`. If you encounter any problems or have questions, please open an issue or discussion of the discussion tab!

Breaking Changes
* Renamed `keras_nlp.layers.MLMHead` -> `keras_nlp.layers.MaskedLMHead`.
* Renamed `keras_nlp.layers.MLMMaskGenerator` -> `keras_nlp.layers.MaskedLMMaskGenerator`.
* Renamed `keras_nlp.layers.UnicodeCharacterTokenizer` -> `keras_nlp.layers.UnicodeCodepointTokenizer`.
* Switched the default of `lowercase` in `keras_nlp.tokenizers.WordPieceTokenizer` from `True` to `False`.
* Renamed the token id output of `MaskedLMMaskGenerator` from `"tokens"` to `"tokens_ids"`.

Summary
* Added the `keras_nlp.models` API.
* Adds support for BERT, DistilBERT, RoBERTa, and XLM-RoBERTa models and pretrained checkpoints.
* Added new metrics.
* `keras_nlp.metrics.Bleu` and `keras_nlp.metrics.EditDistance`.
* Added new vocabulary training utilities.
* `keras_nlp.tokenizers.compute_word_piece_vocabulary` and `keras_nlp.tokenizers.compute_sentence_piece_proto`.

What's Changed
* Add Edit Distance Metric by abheesht17 in https://github.com/keras-team/keras-nlp/pull/231
* Minor fix to simplify and test handling of max_length prompts by jbischof in https://github.com/keras-team/keras-nlp/pull/258
* Remove split regex args for WordPieceTokenizer by mattdangerw in https://github.com/keras-team/keras-nlp/pull/255
* Add instructions on installing the latest changes by mattdangerw in https://github.com/keras-team/keras-nlp/pull/261
* Add warning when k > vocab_size in top_k_search by jbischof in https://github.com/keras-team/keras-nlp/pull/260
* Fix keras library imports and usage by jbischof in https://github.com/keras-team/keras-nlp/pull/262
* Add BLEU Score by abheesht17 in https://github.com/keras-team/keras-nlp/pull/222
* Configure GKE-based accelerator testing by chenmoneygithub in https://github.com/keras-team/keras-nlp/pull/265
* Added WordPieceTokenizer training function by jessechancy in https://github.com/keras-team/keras-nlp/pull/256
* Add requirements.txt for cloud build by chenmoneygithub in https://github.com/keras-team/keras-nlp/pull/267
* Global Seed Bug Fix by jessechancy in https://github.com/keras-team/keras-nlp/pull/269
* Update accelerator testing to use the new GCP project by chenmoneygithub in https://github.com/keras-team/keras-nlp/pull/272
* Fixed typo: "recieved" by ehrencrona in https://github.com/keras-team/keras-nlp/pull/273
* Reuse dense pooled output for fine tuning by mattdangerw in https://github.com/keras-team/keras-nlp/pull/251
* Simplify BERT modeling, use keras embeddings by mattdangerw in https://github.com/keras-team/keras-nlp/pull/253
* Rename UnicodeCharacterTokenizer>UnicodeCodepointTokenizer by mattdangerw in https://github.com/keras-team/keras-nlp/pull/254
* Add README for accelerator testing config folder by chenmoneygithub in https://github.com/keras-team/keras-nlp/pull/276
* Random Deletion Layer by aflah02 in https://github.com/keras-team/keras-nlp/pull/214
* Made trainer more efficient. Loading full files instead of using TextLineDataset. by jessechancy in https://github.com/keras-team/keras-nlp/pull/280
* Use KerasNLP for BERT preprocessing for GLUE by mattdangerw in https://github.com/keras-team/keras-nlp/pull/252
* Minor fixes to the Random Deletion Layer by aflah02 in https://github.com/keras-team/keras-nlp/pull/286
* Fixes for WordPieceTrainer by aflah02 in https://github.com/keras-team/keras-nlp/pull/293
* Update default to strip_accents=False by jessechancy in https://github.com/keras-team/keras-nlp/pull/289
* Move Bert to models folder by jbischof in https://github.com/keras-team/keras-nlp/pull/288
* Make Decoding Functions Graph-compatible (with XLA Support!) by abheesht17 in https://github.com/keras-team/keras-nlp/pull/271
* SentencePieceTrainer by aflah02 in https://github.com/keras-team/keras-nlp/pull/281
* Rename `models.Bert()` to `models.BertCustom()` by jbischof in https://github.com/keras-team/keras-nlp/pull/310
* Add a test for variable sequence length inputs by mattdangerw in https://github.com/keras-team/keras-nlp/pull/313
* Support checkpoint loading for `BertBase` by jbischof in https://github.com/keras-team/keras-nlp/pull/299
* RoBERTa pretrained model forward pass by jessechancy in https://github.com/keras-team/keras-nlp/pull/304
* Register objects as serializable by mattdangerw in https://github.com/keras-team/keras-nlp/pull/292
* Style merging for Bert and Roberta by jbischof in https://github.com/keras-team/keras-nlp/pull/315
* Streamline and speed up tests by jbischof in https://github.com/keras-team/keras-nlp/pull/324
* Add Support for CJK Char Splitting for WordPiece Tokenizer by abheesht17 in https://github.com/keras-team/keras-nlp/pull/318
* Clean up model input names for consistency by mattdangerw in https://github.com/keras-team/keras-nlp/pull/327
* Return a single tensor from roberta by mattdangerw in https://github.com/keras-team/keras-nlp/pull/328
* BERT, RoBERTa: Add `model.compile` UTs by abheesht17 in https://github.com/keras-team/keras-nlp/pull/330
* Continue rename of bert model inputs by mattdangerw in https://github.com/keras-team/keras-nlp/pull/329
* Text Generation Utilities: Add Support for Ragged Inputs by abheesht17 in https://github.com/keras-team/keras-nlp/pull/300
* `bert_base_zh`, `bert_base_multi_cased`: Add BERT Base Variants by abheesht17 in https://github.com/keras-team/keras-nlp/pull/319
* WordPiece vocabularies trainer on Wikipedia dataset by jessechancy in https://github.com/keras-team/keras-nlp/pull/316
* Use the exported ragged ops for RandomDeletion by mattdangerw in https://github.com/keras-team/keras-nlp/pull/332
* Random Swap Layer by aflah02 in https://github.com/keras-team/keras-nlp/pull/224
* Fixes for Random Deletion Layer by aflah02 in https://github.com/keras-team/keras-nlp/pull/339
* Move cloudbuild to a hidden directory by mattdangerw in https://github.com/keras-team/keras-nlp/pull/345
* Fix the build by mattdangerw in https://github.com/keras-team/keras-nlp/pull/349
* Migrating from Datasets to TFDS for GLUE Example by aflah02 in https://github.com/keras-team/keras-nlp/pull/340
* Move network_tests into keras_nlp/ by mattdangerw in https://github.com/keras-team/keras-nlp/pull/344
* Stop hardcoding 2.9 by mattdangerw in https://github.com/keras-team/keras-nlp/pull/351
* Add BERT Large by abheesht17 in https://github.com/keras-team/keras-nlp/pull/331
* Add normalize_first arg to Transformer Layers by abheesht17 in https://github.com/keras-team/keras-nlp/pull/350
* Add Small BERT Variants by abheesht17 in https://github.com/keras-team/keras-nlp/pull/338
* Beam Search: Add Ragged and XLA Support by abheesht17 in https://github.com/keras-team/keras-nlp/pull/341
* Fix download paths for bert weights by mattdangerw in https://github.com/keras-team/keras-nlp/pull/356
* Add a BertPreprocessor class by mattdangerw in https://github.com/keras-team/keras-nlp/pull/343
* Text Generation Functions: Add Benchmark Script by abheesht17 in https://github.com/keras-team/keras-nlp/pull/342
* Improve readability for encoder/decoder blocks by mattdangerw in https://github.com/keras-team/keras-nlp/pull/353
* Add GPT-2 Model and its Variants by abheesht17 in https://github.com/keras-team/keras-nlp/pull/354
* Clean up BERT, RoBERTa doc-strings by abheesht17 in https://github.com/keras-team/keras-nlp/pull/359
* Create unique string id for each BERT backbone by jbischof in https://github.com/keras-team/keras-nlp/pull/361
* Use model.fit() for BERT Example by abheesht17 in https://github.com/keras-team/keras-nlp/pull/360
* Minor Fixes in BertPreprocessor Layer by abheesht17 in https://github.com/keras-team/keras-nlp/pull/373
* Clone user passed initializers called multiple times by mattdangerw in https://github.com/keras-team/keras-nlp/pull/371
* Update BERT model file structure by mattdangerw in https://github.com/keras-team/keras-nlp/pull/376
* Move gpt model code into a directory by mattdangerw in https://github.com/keras-team/keras-nlp/pull/379
* Move roberta model code into a directory by mattdangerw in https://github.com/keras-team/keras-nlp/pull/380
* Reorg test directories by mattdangerw in https://github.com/keras-team/keras-nlp/pull/384
* Add XLM-RoBERTa by abheesht17 in https://github.com/keras-team/keras-nlp/pull/372
* Add DistilBERT by abheesht17 in https://github.com/keras-team/keras-nlp/pull/382
* Stop running CI on Windows by mattdangerw in https://github.com/keras-team/keras-nlp/pull/386
* Fix Bert serialization by mattdangerw in https://github.com/keras-team/keras-nlp/pull/385
* Improve MacOS support and pin tensorflow version during testing by mattdangerw in https://github.com/keras-team/keras-nlp/pull/383
* Unify BERT model API in one class by jbischof in https://github.com/keras-team/keras-nlp/pull/387
* Add `from_preset` constructor to `BertPreprocessor` by jbischof in https://github.com/keras-team/keras-nlp/pull/390
* More robustly test BERT preprocessing by mattdangerw in https://github.com/keras-team/keras-nlp/pull/394
* Move `name` and `trainable` to `kwargs` by jbischof in https://github.com/keras-team/keras-nlp/pull/399
* Add `backbone` as `property` for task models by jbischof in https://github.com/keras-team/keras-nlp/pull/398
* Set default name of `Bert` instance to `"backbone"` by jbischof in https://github.com/keras-team/keras-nlp/pull/397
* Fix gpt2 serialization by mattdangerw in https://github.com/keras-team/keras-nlp/pull/391
* Fix distilbert serialization by mattdangerw in https://github.com/keras-team/keras-nlp/pull/392
* Fix roberta and xlm-roberta serialization by mattdangerw in https://github.com/keras-team/keras-nlp/pull/393
* Register the BertPreprocessor as serializable by mattdangerw in https://github.com/keras-team/keras-nlp/pull/401
* BPE tokenizer by chenmoneygithub in https://github.com/keras-team/keras-nlp/pull/389
* Change GPT-2's Format to Mirror BERT's by abheesht17 in https://github.com/keras-team/keras-nlp/pull/418
* Fix bert preprocessing docstring so it is runnable by mattdangerw in https://github.com/keras-team/keras-nlp/pull/421
* Change RoBERTa and XLM-RoBERTa's Format to Mirror BERT's by abheesht17 in https://github.com/keras-team/keras-nlp/pull/417
* Update distilbert to mirror recent bert changes by mattdangerw in https://github.com/keras-team/keras-nlp/pull/406
* Change gpt2 to GPT2 by sampathweb in https://github.com/keras-team/keras-nlp/pull/425
* Fix byte pair detokenization of 2d arrays by mattdangerw in https://github.com/keras-team/keras-nlp/pull/423
* Never pass Raggeds to user function when generating text by mattdangerw in https://github.com/keras-team/keras-nlp/pull/424
* Add XLMRobertaClassifier by abheesht17 in https://github.com/keras-team/keras-nlp/pull/422
* Add RobertaPreprocessor Layer by abheesht17 in https://github.com/keras-team/keras-nlp/pull/419
* Update Style Guide for naming of Models and Layers by sampathweb in https://github.com/keras-team/keras-nlp/pull/434
* Support String Output for BytePairTokenizer by abheesht17 in https://github.com/keras-team/keras-nlp/pull/438
* Improve our continuous testing for model presets by mattdangerw in https://github.com/keras-team/keras-nlp/pull/357
* Remove remote files from BPE docstring by jbischof in https://github.com/keras-team/keras-nlp/pull/440
* Add DistilBertClassifier by abheesht17 in https://github.com/keras-team/keras-nlp/pull/437
* Remove lingering reference to BertCustom by mattdangerw in https://github.com/keras-team/keras-nlp/pull/441
* Add XLM-RoBERTa Tokenizer (SPM) by abheesht17 in https://github.com/keras-team/keras-nlp/pull/428
* Add a disclaimer for use of model checkpoints by mattdangerw in https://github.com/keras-team/keras-nlp/pull/430
* Add a disclaimer to our README by mattdangerw in https://github.com/keras-team/keras-nlp/pull/431
* Fix our BERT GLUE example so it runs again by mattdangerw in https://github.com/keras-team/keras-nlp/pull/444
* Add backbone presets to task classes by jbischof in https://github.com/keras-team/keras-nlp/pull/448
* Split the Bert tokenizer to a separate class by mattdangerw in https://github.com/keras-team/keras-nlp/pull/449
* Conditionally import tf text by mattdangerw in https://github.com/keras-team/keras-nlp/pull/452
* Copy our model disclaimer to the distilbert classifier by mattdangerw in https://github.com/keras-team/keras-nlp/pull/453
* Fix regex string for BPE by chenmoneygithub in https://github.com/keras-team/keras-nlp/pull/458
* Fix docstrings and add note to style guide by jbischof in https://github.com/keras-team/keras-nlp/pull/464
* Allow formatting our docstrings inline by mattdangerw in https://github.com/keras-team/keras-nlp/pull/450
* Update self.assertEquals with self.assertEqual by MaximSmolskiy in https://github.com/keras-team/keras-nlp/pull/466
* Document our release process by mattdangerw in https://github.com/keras-team/keras-nlp/pull/473
* Add RobertaTokenizer by abheesht17 in https://github.com/keras-team/keras-nlp/pull/468
* Add DistilBertTokenizer by abheesht17 in https://github.com/keras-team/keras-nlp/pull/469
* Modify XLMRobertaTokenizer to Match BERT by abheesht17 in https://github.com/keras-team/keras-nlp/pull/471
* Add GPT2Tokenizer by abheesht17 in https://github.com/keras-team/keras-nlp/pull/470
* Minor fix to git commands by mattdangerw in https://github.com/keras-team/keras-nlp/pull/475
* Version bump to 0.4.0 by mattdangerw in https://github.com/keras-team/keras-nlp/pull/476
* Clarify comment on BERT preset testing by mattdangerw in https://github.com/keras-team/keras-nlp/pull/477
* Fix the nightly build by mattdangerw in https://github.com/keras-team/keras-nlp/pull/484
* Bump tf and tf-text to 2.11 by mattdangerw in https://github.com/keras-team/keras-nlp/pull/490
* Consolidate preset testing by mattdangerw in https://github.com/keras-team/keras-nlp/pull/480
* Allow BertPreprocessor to map labeled datasets by mattdangerw in https://github.com/keras-team/keras-nlp/pull/478
* Glue eval script by chenmoneygithub in https://github.com/keras-team/keras-nlp/pull/445
* Update Requirements and Python version in setup.py by sampathweb in https://github.com/keras-team/keras-nlp/pull/495
* First task-level preset with `BertClassifier` by jbischof in https://github.com/keras-team/keras-nlp/pull/494
* Add a helper model to automatically apply preprocessing by mattdangerw in https://github.com/keras-team/keras-nlp/pull/346
* Add GPT2 Presets by abheesht17 in https://github.com/keras-team/keras-nlp/pull/472
* fix incorrect flag by chenmoneygithub in https://github.com/keras-team/keras-nlp/pull/496
* Add instructions on how to update deps of GPU testing by chenmoneygithub in https://github.com/keras-team/keras-nlp/pull/499
* Add XLM-RoBERTa Presets by abheesht17 in https://github.com/keras-team/keras-nlp/pull/482
* Add DistilBERT Presets by abheesht17 in https://github.com/keras-team/keras-nlp/pull/479
* Add RoBERTa Presets by abheesht17 in https://github.com/keras-team/keras-nlp/pull/506
* Fix nightly builds by mattdangerw in https://github.com/keras-team/keras-nlp/pull/522
* Remove typo by jbischof in https://github.com/keras-team/keras-nlp/pull/515
* Fix Model Doc-string Examples by abheesht17 in https://github.com/keras-team/keras-nlp/pull/516
* Mark format.sh executable again by mattdangerw in https://github.com/keras-team/keras-nlp/pull/518
* Make BertClassifier operate directly on raw string inputs by mattdangerw in https://github.com/keras-team/keras-nlp/pull/485
* Fix nightlies take two by mattdangerw in https://github.com/keras-team/keras-nlp/pull/525
* Use `tf.ones` for docstring example input by jbischof in https://github.com/keras-team/keras-nlp/pull/524
* Fix the index order of GLUE script and other bugs by chenmoneygithub in https://github.com/keras-team/keras-nlp/pull/517
* Standardize on "backbone" naming for BERT by jbischof in https://github.com/keras-team/keras-nlp/pull/536
* Add dropout to BertClassifier by chenmoneygithub in https://github.com/keras-team/keras-nlp/pull/540
* Preprocess string lists as a batch of single segments by mattdangerw in https://github.com/keras-team/keras-nlp/pull/504
* Update model and file names for DistilBert by ADITYADAS1999 in https://github.com/keras-team/keras-nlp/pull/541
* Rename filenames in models/ to match classnames by mattdangerw in https://github.com/keras-team/keras-nlp/pull/548
* Split tokenizers into their own file by mattdangerw in https://github.com/keras-team/keras-nlp/pull/549
* Add a note about our new file naming conventions by mattdangerw in https://github.com/keras-team/keras-nlp/pull/553
* Add distribution support for GLUE script by chenmoneygithub in https://github.com/keras-team/keras-nlp/pull/544
* Make out preset ids more consistent by mattdangerw in https://github.com/keras-team/keras-nlp/pull/552
* Rename DistilBert -> DistilBertBackbone by mattdangerw in https://github.com/keras-team/keras-nlp/pull/551
* Rename Roberta -> RobertaBackbone (and same for XLM*) by mattdangerw in https://github.com/keras-team/keras-nlp/pull/550
* Fix link in glue_benchmark README by mattdangerw in https://github.com/keras-team/keras-nlp/pull/557
* Remove qualification for `PRESET_NAMES` by jbischof in https://github.com/keras-team/keras-nlp/pull/554
* Use `black[jupyter]` to format notebooks by jbischof in https://github.com/keras-team/keras-nlp/pull/556
* Temporarily drop GPT2 from our __init__.py by mattdangerw in https://github.com/keras-team/keras-nlp/pull/560
* Replicate 536 changing GPT2 -> GPT2Backbone by ADITYADAS1999 in https://github.com/keras-team/keras-nlp/pull/558
* Change Backbone Names by abheesht17 in https://github.com/keras-team/keras-nlp/pull/559
* Raise a friendly error message for unbatched input by mattdangerw in https://github.com/keras-team/keras-nlp/pull/545
* Fix Typo in Backbone Doc-strings by abheesht17 in https://github.com/keras-team/keras-nlp/pull/565
* Fix LinearDecayWithWarmup crash in BERT model. by reedwm in https://github.com/keras-team/keras-nlp/pull/564
* Update XLMRobertaPreprocessor to mirror recent changes by mattdangerw in https://github.com/keras-team/keras-nlp/pull/568
* Update RobertaPreprocessor to mirror recent changes by mattdangerw in https://github.com/keras-team/keras-nlp/pull/567
* Fix minor typo in BertPreprocessor layer by mattdangerw in https://github.com/keras-team/keras-nlp/pull/569
* Update DistilBertPreprocessor to mirror recent changes by mattdangerw in https://github.com/keras-team/keras-nlp/pull/566
* Point presets to url containing "v1/" by chenmoneygithub in https://github.com/keras-team/keras-nlp/pull/577
* Stop testing h5 saved model format, start testing keras_v3 by mattdangerw in https://github.com/keras-team/keras-nlp/pull/521
* fix the gpu testing by chenmoneygithub in https://github.com/keras-team/keras-nlp/pull/581
* Make DistilBertClassifier operate directly on raw string inputs by mattdangerw in https://github.com/keras-team/keras-nlp/pull/578
* Make RobertaClassifier operate directly on raw string inputs by chenmoneygithub in https://github.com/keras-team/keras-nlp/pull/579
* Export XLM-Roberta Classifier by mattdangerw in https://github.com/keras-team/keras-nlp/pull/580
* Make XLMRobertaClassifier operate directly on raw string inputs by mattdangerw in https://github.com/keras-team/keras-nlp/pull/583
* Fix some misc typos for distilbert by mattdangerw in https://github.com/keras-team/keras-nlp/pull/584
* Report GLUE score and hyperparameter settings by chenmoneygithub in https://github.com/keras-team/keras-nlp/pull/585
* Remove support for Python 3.7 to align with keras-nightly by sampathweb in https://github.com/keras-team/keras-nlp/pull/590
* Add DeBERTa v3 Model by abheesht17 in https://github.com/keras-team/keras-nlp/pull/435
* Add DeBERTa Tokenizer and Preprocessor Classes by abheesht17 in https://github.com/keras-team/keras-nlp/pull/589
* Add Dropout to *Classifier Doc-strings by abheesht17 in https://github.com/keras-team/keras-nlp/pull/595
* Rename MLM -> MaskedLM for all library symbols by mattdangerw in https://github.com/keras-team/keras-nlp/pull/598
* File-level Doc-string Changes for Classifiers and Presets by abheesht17 in https://github.com/keras-team/keras-nlp/pull/604
* Add DebertaClassifier and DeBERTa Presets by abheesht17 in https://github.com/keras-team/keras-nlp/pull/594
* Rename Deberta -> DebertaV3 by mattdangerw in https://github.com/keras-team/keras-nlp/pull/605
* Version bump to 0.4.0.dev0 by mattdangerw in https://github.com/keras-team/keras-nlp/pull/609

New Contributors
* jbischof made their first contribution in https://github.com/keras-team/keras-nlp/pull/258
* ehrencrona made their first contribution in https://github.com/keras-team/keras-nlp/pull/273
* sampathweb made their first contribution in https://github.com/keras-team/keras-nlp/pull/425
* MaximSmolskiy made their first contribution in https://github.com/keras-team/keras-nlp/pull/466
* ADITYADAS1999 made their first contribution in https://github.com/keras-team/keras-nlp/pull/541
* reedwm made their first contribution in https://github.com/keras-team/keras-nlp/pull/564

**Full Changelog**: https://github.com/keras-team/keras-nlp/compare/v0.3.0...v0.4.0.dev0

0.3.1

Summary
* Add `keras_nlp.tokenizers.BytePairTokenizer` with `tf.data` friendly support for the tokenization used by GPT-2, RoBERTa and other models.
* Remove the hard dependency on `tensorflow` and `tensorflow-text` when pip installing on MacOS, to accommodate M1 chips. See [this section](https://github.com/keras-team/keras-nlp/blob/master/CONTRIBUTING.md#macos) of our contributor guide for more information on MacOS development.

What's Changed
* Cherry picks 0.3 by mattdangerw in https://github.com/keras-team/keras-nlp/pull/454
* Bump version for 0.3.1 pre release by mattdangerw in https://github.com/keras-team/keras-nlp/pull/456
* Remove dev prefix for 0.3.1 release by mattdangerw in https://github.com/keras-team/keras-nlp/pull/457


**Full Changelog**: https://github.com/keras-team/keras-nlp/compare/v0.3.0...v0.3.1

0.3.0

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

New Contributors
* saiteja13427 made their first contribution in https://github.com/keras-team/keras-nlp/pull/200
* jessechancy made their first contribution in https://github.com/keras-team/keras-nlp/pull/217

**Full Changelog**: https://github.com/keras-team/keras-nlp/compare/v0.2.0...v0.3.0

0.2.0

Summary
* Documentation live on [keras.io](https://keras.io/keras_nlp).
* Added two tokenizers: `ByteTokenizer` and `UnicodeCharacterTokenizer`.
* Added a `Perplexity` metric.
* Added three layers `TokenAndPositionEmbedding`, `MLMMaskGenerator` and `MLMHead`.
* Contributing guides and roadmap.

What's Changed
* Add Byte Tokenizer by abheesht17 in https://github.com/keras-team/keras-nlp/pull/80
* Fixing rank 1 outputs for WordPieceTokenizer by aflah02 in https://github.com/keras-team/keras-nlp/pull/92
* Add tokenizer accessors to the base class by mattdangerw in https://github.com/keras-team/keras-nlp/pull/89
* Fix word piece attributes by mattdangerw in https://github.com/keras-team/keras-nlp/pull/97
* Small fix: change assertEquals to assertEqual by chenmoneygithub in https://github.com/keras-team/keras-nlp/pull/103
* Added a Learning Rate Schedule for the BERT Example by Stealth-py in https://github.com/keras-team/keras-nlp/pull/96
* Add Perplexity Metric by abheesht17 in https://github.com/keras-team/keras-nlp/pull/68
* Use the black profile for isort by mattdangerw in https://github.com/keras-team/keras-nlp/pull/117
* Update README with release information by mattdangerw in https://github.com/keras-team/keras-nlp/pull/118
* Add a class to generate LM masks by chenmoneygithub in https://github.com/keras-team/keras-nlp/pull/61
* Add docstring testing by mattdangerw in https://github.com/keras-team/keras-nlp/pull/116
* Fix broken docstring in MLMMaskGenerator by chenmoneygithub in https://github.com/keras-team/keras-nlp/pull/121
* Adding a UnicodeCharacterTokenizer by aflah02 in https://github.com/keras-team/keras-nlp/pull/100
* Added Class by adhadse in https://github.com/keras-team/keras-nlp/pull/91
* Fix bert example so it is runnable by mattdangerw in https://github.com/keras-team/keras-nlp/pull/123
* Fix the issue that MLMMaskGenerator does not work in graph mode by chenmoneygithub in https://github.com/keras-team/keras-nlp/pull/131
* Actually use layer norm epsilon in encoder/decoder by mattdangerw in https://github.com/keras-team/keras-nlp/pull/133
* Whitelisted formatting and lint check targets by adhadse in https://github.com/keras-team/keras-nlp/pull/126
* Updated CONTRIBUTING.md for setup of venv and standard pip install by adhadse in https://github.com/keras-team/keras-nlp/pull/127
* Fix mask propagation of transformer layers by chenmoneygithub in https://github.com/keras-team/keras-nlp/pull/139
* Fix masking for TokenAndPositionEmbedding by mattdangerw in https://github.com/keras-team/keras-nlp/pull/140
* Fixed no oov token error in vocab for WordPieceTokenizer by adhadse in https://github.com/keras-team/keras-nlp/pull/136
* Add a MLMHead layer by mattdangerw in https://github.com/keras-team/keras-nlp/pull/132
* Bump version for 0.2.0 dev release by mattdangerw in https://github.com/keras-team/keras-nlp/pull/142
* Added WSL setup text to CONTRIBUTING.md by adhadse in https://github.com/keras-team/keras-nlp/pull/144
* Add attribution for the BERT modeling code by mattdangerw in https://github.com/keras-team/keras-nlp/pull/151
* Remove preprocessing subdir by mattdangerw in https://github.com/keras-team/keras-nlp/pull/150
* Word piece arg change by mattdangerw in https://github.com/keras-team/keras-nlp/pull/148
* Rename max_length to sequence_length by mattdangerw in https://github.com/keras-team/keras-nlp/pull/149
* Don't accept a string dtype for unicode tokenizer by mattdangerw in https://github.com/keras-team/keras-nlp/pull/147
* Adding Utility to Detokenize as list of Strings to Tokenizer Base Class by aflah02 in https://github.com/keras-team/keras-nlp/pull/124
* Fixed Import Error by aflah02 in https://github.com/keras-team/keras-nlp/pull/161
* Added KerasTuner Hyper-Parameter Search for the BERT fine-tuning script. by Stealth-py in https://github.com/keras-team/keras-nlp/pull/143
* Docstring updates for upcoming doc publish by mattdangerw in https://github.com/keras-team/keras-nlp/pull/146
* version bump for 0.2.0.dev2 pre-release by mattdangerw in https://github.com/keras-team/keras-nlp/pull/165
* Added a vocabulary_size argument to UnicodeCharacterTokenizer by aflah02 in https://github.com/keras-team/keras-nlp/pull/163
* Simplified utility to preview a tfrecord by mattdangerw in https://github.com/keras-team/keras-nlp/pull/168
* Update BERT example's README with data downloading instructions by chenmoneygithub in https://github.com/keras-team/keras-nlp/pull/169
* Add a call to repeat during pretraining by mattdangerw in https://github.com/keras-team/keras-nlp/pull/172
* Add an integration test matching our quick start by mattdangerw in https://github.com/keras-team/keras-nlp/pull/162
* Modify README of bert example by chenmoneygithub in https://github.com/keras-team/keras-nlp/pull/174
* Fix the finetuning script's loss and metric config by chenmoneygithub in https://github.com/keras-team/keras-nlp/pull/176
* Minor improvements to the position embedding docs by mattdangerw in https://github.com/keras-team/keras-nlp/pull/180
* Update docs for upcoming 0.2.0 release by mattdangerw in https://github.com/keras-team/keras-nlp/pull/158
* Restore accidentally deleted line from README by mattdangerw in https://github.com/keras-team/keras-nlp/pull/185
* Bump version for 0.2.0 release by mattdangerw in https://github.com/keras-team/keras-nlp/pull/186
* Pre release fix by mattdangerw in https://github.com/keras-team/keras-nlp/pull/187

New Contributors
* Stealth-py made their first contribution in https://github.com/keras-team/keras-nlp/pull/96
* adhadse made their first contribution in https://github.com/keras-team/keras-nlp/pull/91

**Full Changelog**: https://github.com/keras-team/keras-nlp/compare/v0.1.1...v0.2.0

0.2.0.dev2

What's Changed
* Added WSL setup text to CONTRIBUTING.md by adhadse in https://github.com/keras-team/keras-nlp/pull/144
* Add attribution for the BERT modeling code by mattdangerw in https://github.com/keras-team/keras-nlp/pull/151
* Remove preprocessing subdir by mattdangerw in https://github.com/keras-team/keras-nlp/pull/150
* Word piece arg change by mattdangerw in https://github.com/keras-team/keras-nlp/pull/148
* Rename max_length to sequence_length by mattdangerw in https://github.com/keras-team/keras-nlp/pull/149
* Don't accept a string dtype for unicode tokenizer by mattdangerw in https://github.com/keras-team/keras-nlp/pull/147
* Adding Utility to Detokenize as list of Strings to Tokenizer Base Class by aflah02 in https://github.com/keras-team/keras-nlp/pull/124
* Fixed Import Error by aflah02 in https://github.com/keras-team/keras-nlp/pull/161
* Added KerasTuner Hyper-Parameter Search for the BERT fine-tuning script. by Stealth-py in https://github.com/keras-team/keras-nlp/pull/143
* Docstring updates for upcoming doc publish by mattdangerw in https://github.com/keras-team/keras-nlp/pull/146
* version bump for 0.2.0.dev2 pre-release by mattdangerw in https://github.com/keras-team/keras-nlp/pull/165


**Full Changelog**: https://github.com/keras-team/keras-nlp/compare/v0.2.0-dev.1...v0.2.0.dev2

Page 5 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.