tomer-deci
commited on
Commit
•
c4af0b5
1
Parent(s):
a0f5f66
Update tokenization_decicoder.py
Browse filestokenizer.save_pretrained bug fix
tokenization_decicoder.py
CHANGED
@@ -55,6 +55,6 @@ class DeciCoderTokenizer(CodeGen25Tokenizer):
|
|
55 |
Removing it from the tokenizer_config.json does not affect from_pretrained().
|
56 |
"""
|
57 |
add_special_tokens = self.add_special_tokens
|
58 |
-
self.add_special_tokens =
|
59 |
super().save_pretrained(*args, **kwargs)
|
60 |
self.add_special_tokens = add_special_tokens
|
|
|
55 |
Removing it from the tokenizer_config.json does not affect from_pretrained().
|
56 |
"""
|
57 |
add_special_tokens = self.add_special_tokens
|
58 |
+
self.add_special_tokens = True
|
59 |
super().save_pretrained(*args, **kwargs)
|
60 |
self.add_special_tokens = add_special_tokens
|