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
.lowercase
inkeras_nlp.tokenizers.WordPieceTokenizer
fromTrue
toFalse
.MaskedLMMaskGenerator
from"tokens"
to"tokens_ids"
.Summary
keras_nlp.models
API.keras_nlp.metrics.Bleu
andkeras_nlp.metrics.EditDistance
.keras_nlp.tokenizers.compute_word_piece_vocabulary
andkeras_nlp.tokenizers.compute_sentence_piece_proto
.keras_nlp.layers.RandomSwap
andkeras_nlp.layers.RandomDeletion
.What's Changed
models.Bert()
tomodels.BertCustom()
by @jbischof in Renamemodels.Bert()
tomodels.BertCustom()
#310BertBase
by @jbischof in Support checkpoint loading forBertBase
#299model.compile
UTs by @abheesht17 in BERT, RoBERTa: Addmodel.compile
UTs #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_preset
constructor toBertPreprocessor
by @jbischof in Addfrom_preset
constructor toBertPreprocessor
#390name
andtrainable
tokwargs
by @jbischof in Movename
andtrainable
tokwargs
#399backbone
asproperty
for task models by @jbischof in Addbackbone
asproperty
for task models #398Bert
instance to"backbone"
by @jbischof in Set default name ofBert
instance to"backbone"
#397BertClassifier
by @jbischof in First task-level preset withBertClassifier
#494tf.ones
for docstring example input by @jbischof in Usetf.ones
for docstring example input #524PRESET_NAMES
by @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