Skip to content

Commit 82e4914

Browse files
chenmoneygithubmattdangerw
authored andcommitted
BPE tokenizer (#389)
Add more test cases. Co-authored-by: jessechancy <[email protected]> add merge file Make cache a tf module Delete testdata address comments address comments fix docstring fix docstring
1 parent f9abc8f commit 82e4914

File tree

3 files changed

+679
-0
lines changed

3 files changed

+679
-0
lines changed

keras_nlp/tokenizers/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15+
from keras_nlp.tokenizers.byte_pair_tokenizer import BytePairTokenizer
1516
from keras_nlp.tokenizers.byte_tokenizer import ByteTokenizer
1617
from keras_nlp.tokenizers.sentence_piece_tokenizer import SentencePieceTokenizer
1718
from keras_nlp.tokenizers.tokenizer import Tokenizer

0 commit comments

Comments
 (0)