songxxzp
commited on
Commit
·
1b54948
1
Parent(s):
2460dc2
Fix typo in tokenization_chatglm.py
Browse files- tokenization_chatglm.py +1 -1
tokenization_chatglm.py
CHANGED
|
@@ -299,7 +299,7 @@ class ChatGLMTokenizer(PreTrainedTokenizer):
|
|
| 299 |
"""
|
| 300 |
if os.path.isdir(save_directory):
|
| 301 |
vocab_file = os.path.join(
|
| 302 |
-
save_directory,
|
| 303 |
)
|
| 304 |
else:
|
| 305 |
vocab_file = save_directory
|
|
|
|
| 299 |
"""
|
| 300 |
if os.path.isdir(save_directory):
|
| 301 |
vocab_file = os.path.join(
|
| 302 |
+
save_directory, self.vocab_files_names["vocab_file"]
|
| 303 |
)
|
| 304 |
else:
|
| 305 |
vocab_file = save_directory
|