Jinze commited on
Commit
06ba8b9
1 Parent(s): d23bea4
Files changed (1) hide show
  1. tokenization_qwen.py +1 -1
tokenization_qwen.py CHANGED
@@ -394,7 +394,7 @@ class QWenTokenizer(PreTrainedTokenizer):
394
  for ele in list_format:
395
  if 'image' in ele:
396
  num_images += 1
397
- text += f'Picture {num_images}:'
398
  text += self.image_start_tag + ele['image'] + self.image_end_tag
399
  text += '\n'
400
  elif 'text' in ele:
 
394
  for ele in list_format:
395
  if 'image' in ele:
396
  num_images += 1
397
+ text += f'Picture {num_images}: '
398
  text += self.image_start_tag + ele['image'] + self.image_end_tag
399
  text += '\n'
400
  elif 'text' in ele: