File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -149,8 +149,9 @@ def process_unseen_tokens():
149149 self ._bpe_merge_and_update_cache (unseen_tokens )
150150 return self .cache .lookup (flat_tokens )
151151
152- # If `has_unseen_words == True`, it means not all tokens are in cache,
153- # we will process the unseen tokens. Otherwise return the cache lookup.
152+ # If `has_unseen_words == True`, it means not all tokens are,
153+ # in cache we will process the unseen tokens. Otherwise
154+ # return the cache lookup.
154155 tokenized_words = tf .cond (
155156 has_unseen_words ,
156157 process_unseen_tokens ,
Original file line number Diff line number Diff line change @@ -83,4 +83,4 @@ def assert_keras_nlp_installed(symbol_name):
8383 f"{ symbol_name } requires the `keras_nlp` package. "
8484 "Please install the package using "
8585 "`pip install keras_nlp`."
86- )
86+ )
You can’t perform that action at this time.
0 commit comments