Skip to content

Commit

Permalink
Merge pull request #1483 from PaddlePaddle/update-faster-tokenizer-map
Browse files Browse the repository at this point in the history
Support ppminilm in FasterTokenizer
  • Loading branch information
wawltor authored Dec 17, 2021
2 parents 374d31b + 10fc6a6 commit f56e429
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions paddlenlp/experimental/faster_tokenizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ class FasterTokenizer(nn.Layer):
"ernie-1.0": ErnieTokenizer,
"ernie-2.0-en": ErnieTokenizer,
"ernie-2.0-large-en": ErnieTokenizer,
"ppminilm-6l-768h": ErnieTokenizer,
"roberta-wwm-ext": RobertaTokenizer,
"roberta-wwm-ext-large": RobertaTokenizer,
"rbt3": RobertaTokenizer,
Expand Down

0 comments on commit f56e429

Please sign in to comment.