Fix typo in tokenization_chatglm.py
This commit is contained in:
parent
2460dc2430
commit
1b54948bb2
|
@ -299,7 +299,7 @@ class ChatGLMTokenizer(PreTrainedTokenizer):
|
||||||
"""
|
"""
|
||||||
if os.path.isdir(save_directory):
|
if os.path.isdir(save_directory):
|
||||||
vocab_file = os.path.join(
|
vocab_file = os.path.join(
|
||||||
save_directory, VOCAB_FILES_NAMES["vocab_file"]
|
save_directory, self.vocab_files_names["vocab_file"]
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
vocab_file = save_directory
|
vocab_file = save_directory
|
||||||
|
|
Loading…
Reference in New Issue