v0.4.0 #614
Unanswered
mattdangerw
asked this question in
General
v0.4.0
#614
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The 0.4 release adds support for pretrained models to the library via
keras_nlp.models. You can read anintroduction to the new API in our Getting Started Guide.
If you encounter any problems or have questions, please open an issue!
Breaking Changes
keras_nlp.layers.MLMHead->keras_nlp.layers.MaskedLMHead.keras_nlp.layers.MLMMaskGenerator->keras_nlp.layers.MaskedLMMaskGenerator.keras_nlp.layers.UnicodeCharacterTokenizer->keras_nlp.layers.UnicodeCodepointTokenizer.lowercaseinkeras_nlp.tokenizers.WordPieceTokenizerfromTruetoFalse.MaskedLMMaskGeneratorfrom"tokens"to"tokens_ids".Summary
keras_nlp.modelsAPI.keras_nlp.metrics.Bleuandkeras_nlp.metrics.EditDistance.keras_nlp.tokenizers.compute_word_piece_vocabularyandkeras_nlp.tokenizers.compute_sentence_piece_proto.keras_nlp.layers.RandomSwapandkeras_nlp.layers.RandomDeletion.What's Changed
models.Bert()tomodels.BertCustom()by @jbischof in Renamemodels.Bert()tomodels.BertCustom()#310BertBaseby @jbischof in Support checkpoint loading forBertBase#299model.compileUTs by @abheesht17 in BERT, RoBERTa: Addmodel.compileUTs #330bert_base_zh,bert_base_multi_cased: Add BERT Base Variants by @abheesht17 inbert_base_zh,bert_base_multi_cased: Add BERT Base Variants #319from_presetconstructor toBertPreprocessorby @jbischof in Addfrom_presetconstructor toBertPreprocessor#390nameandtrainabletokwargsby @jbischof in Movenameandtrainabletokwargs#399backboneaspropertyfor task models by @jbischof in Addbackboneaspropertyfor task models #398Bertinstance to"backbone"by @jbischof in Set default name ofBertinstance to"backbone"#397BertClassifierby @jbischof in First task-level preset withBertClassifier#494tf.onesfor docstring example input by @jbischof in Usetf.onesfor docstring example input #524PRESET_NAMESby @jbischof in Remove qualification forPRESET_NAMES#554black[jupyter]to format notebooks by @jbischof in Useblack[jupyter]to format notebooks #556New Contributors
Full Changelog: v0.3.0...v0.4.0
This discussion was created from the release v0.4.0.
Beta Was this translation helpful? Give feedback.
All reactions