yczhang commited on
Commit
7b33977
·
1 Parent(s): 7260346

Update: fix bug

Browse files
Files changed (1) hide show
  1. tokenization_interns1.py +1 -0
tokenization_interns1.py CHANGED
@@ -509,6 +509,7 @@ class InternS1Tokenizer(PreTrainedTokenizer):
509
  pad_token="<|endoftext|>",
510
  clean_up_tokenization_spaces=False,
511
  split_special_tokens=False,
 
512
  **kwargs,
513
  ):
514
  bos_token = (
 
509
  pad_token="<|endoftext|>",
510
  clean_up_tokenization_spaces=False,
511
  split_special_tokens=False,
512
+ special_tokens_pattern="none",
513
  **kwargs,
514
  ):
515
  bos_token = (