From ed0c9a3503c3cff3c8e189bd304abe94e232d1d4 Mon Sep 17 00:00:00 2001 From: abheesht17 Date: Thu, 26 May 2022 15:44:10 +0530 Subject: [PATCH] Correct typo in WordPieceTokenizer --- keras_nlp/tokenizers/word_piece_tokenizer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keras_nlp/tokenizers/word_piece_tokenizer.py b/keras_nlp/tokenizers/word_piece_tokenizer.py index 79ec50577b..89e885af2c 100644 --- a/keras_nlp/tokenizers/word_piece_tokenizer.py +++ b/keras_nlp/tokenizers/word_piece_tokenizer.py @@ -102,7 +102,7 @@ class WordPieceTokenizer(tokenizer.Tokenizer): be either an integer or string type. Args: - vocabulary: A list of strings or a string string filename path. If + vocabulary: A list of strings or a string filename path. If passing a list, each element of the list should be a single word piece token string. If passing a filename, the file should be a plain text file containing a single word piece token per line.