Skip to content

Commit 2ceeccb

Browse files
committed
rm redundent comment, resolve complicate
1 parent 3412f50 commit 2ceeccb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

paddlenlp/transformers/tokenizer_utils_base.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1531,8 +1531,7 @@ def from_pretrained(cls, pretrained_model_name_or_path, *args, **kwargs):
15311531
"added_tokens_file": ADDED_TOKENS_FILE,
15321532
"special_tokens_map_file": SPECIAL_TOKENS_MAP_FILE,
15331533
"tokenizer_config_file": TOKENIZER_CONFIG_FILE,
1534-
"chat_template_file": CHAT_TEMPLATE_CONFIG_NAME, # what's this
1535-
# "tokenizer_file": FULL_TOKENIZER_FILE,
1534+
"chat_template_file": CHAT_TEMPLATE_CONFIG_NAME,
15361535
}
15371536

15381537
vocab_files_target = {**cls.resource_files_names, **additional_files_names}

0 commit comments

Comments
 (0)