Update
Browse files- tokenization_qwen.py +1 -1
tokenization_qwen.py
CHANGED
@@ -388,7 +388,7 @@ class QWenTokenizer(PreTrainedTokenizer):
|
|
388 |
for ele in list_format:
|
389 |
if 'image' in ele:
|
390 |
num_images += 1
|
391 |
-
text += f'Picture {num_images}:'
|
392 |
text += self.image_start_tag + ele['image'] + self.image_end_tag
|
393 |
text += '\n'
|
394 |
elif 'text' in ele:
|
|
|
388 |
for ele in list_format:
|
389 |
if 'image' in ele:
|
390 |
num_images += 1
|
391 |
+
text += f'Picture {num_images}: '
|
392 |
text += self.image_start_tag + ele['image'] + self.image_end_tag
|
393 |
text += '\n'
|
394 |
elif 'text' in ele:
|