Skip to content

Commit

Permalink
Pre release fix (#187)
Browse files Browse the repository at this point in the history
* fix tf text depedency name

* remove duplicate docstring line
  • Loading branch information
mattdangerw authored May 18, 2022
1 parent 6aa13dd commit cb0fa02
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion keras_nlp/tokenizers/unicode_character_tokenizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,6 @@ class UnicodeCharacterTokenizer(tokenizer.Tokenizer):
<tf.Tensor: shape=(7,), dtype=int32,
numpy=array([97, 32, 98, 32, 99, 0, 0], dtype=int32)>
>>> detokunbatched = dataset.map(tokenizer.detokenize)
>>> detokunbatched = dataset.map(tokenizer.detokenize)
>>> detokunbatched.take(1).get_single_element()
<tf.Tensor: shape=(), dtype=string, numpy=b'a b c'>
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"numpy",
"packaging",
"tensorflow",
"tensorflow_text",
"tensorflow-text",
],
extras_require={
"tests": [
Expand Down

0 comments on commit cb0fa02

Please sign in to comment.