Update README.md
Browse files
README.md
CHANGED
@@ -65,18 +65,9 @@ image_sizes = [[image.size[0], image.size[1]]]
|
|
65 |
prompt = "In the picture shown below, prove ΔWXY and ΔZWY are similar. Please conclude your answer as Answer: xxx at the end if possible."
|
66 |
|
67 |
# Set up conversation template
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
except KeyError:
|
72 |
-
available_templates = list(conv_templates.keys())
|
73 |
-
for template_name in available_templates:
|
74 |
-
if 'qwen' in template_name.lower():
|
75 |
-
conv_template = template_name
|
76 |
-
break
|
77 |
-
else:
|
78 |
-
conv_template = available_templates[0]
|
79 |
-
conv = copy.deepcopy(conv_templates[conv_template])
|
80 |
|
81 |
# Add question with image
|
82 |
question = DEFAULT_IMAGE_TOKEN + "\n" + prompt
|
|
|
65 |
prompt = "In the picture shown below, prove ΔWXY and ΔZWY are similar. Please conclude your answer as Answer: xxx at the end if possible."
|
66 |
|
67 |
# Set up conversation template
|
68 |
+
|
69 |
+
conv_template = "qwen_2_5"
|
70 |
+
conv = copy.deepcopy(conv_templates[conv_template])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
71 |
|
72 |
# Add question with image
|
73 |
question = DEFAULT_IMAGE_TOKEN + "\n" + prompt
|