liaojc commited on
Commit
78eb19e
·
verified ·
1 Parent(s): 795d0ac

Update tokenization_ernie4_5.py

Browse files
Files changed (1) hide show
  1. tokenization_ernie4_5.py +1 -1
tokenization_ernie4_5.py CHANGED
@@ -259,7 +259,7 @@ class Ernie4_5_Tokenizer(PreTrainedTokenizer):
259
  return
260
  out_vocab_file = os.path.join(
261
  save_directory,
262
- (filename_prefix + "-" if filename_prefix else "") + self.resource_files_names["vocab_file"],
263
  )
264
 
265
  if os.path.abspath(self.vocab_file) != os.path.abspath(out_vocab_file) and os.path.isfile(self.vocab_file):
 
259
  return
260
  out_vocab_file = os.path.join(
261
  save_directory,
262
+ (filename_prefix + "-" if filename_prefix else "") + self.vocab_files_names["vocab_file"],
263
  )
264
 
265
  if os.path.abspath(self.vocab_file) != os.path.abspath(out_vocab_file) and os.path.isfile(self.vocab_file):