Skip to content

Commit cb0fa02

Browse files
authored
Pre release fix (#187)
* fix tf text depedency name * remove duplicate docstring line
1 parent 6aa13dd commit cb0fa02

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Diff for: keras_nlp/tokenizers/unicode_character_tokenizer.py

-1
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,6 @@ class UnicodeCharacterTokenizer(tokenizer.Tokenizer):
179179
<tf.Tensor: shape=(7,), dtype=int32,
180180
numpy=array([97, 32, 98, 32, 99, 0, 0], dtype=int32)>
181181
>>> detokunbatched = dataset.map(tokenizer.detokenize)
182-
>>> detokunbatched = dataset.map(tokenizer.detokenize)
183182
>>> detokunbatched.take(1).get_single_element()
184183
<tf.Tensor: shape=(), dtype=string, numpy=b'a b c'>
185184

Diff for: setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"numpy",
4040
"packaging",
4141
"tensorflow",
42-
"tensorflow_text",
42+
"tensorflow-text",
4343
],
4444
extras_require={
4545
"tests": [

0 commit comments

Comments
 (0)