You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
f"Generated texts {output_texts} do not match expected {expected_outs}"# noqa: E501
101
130
102
131
103
132
TEST_IMAGES= [
@@ -110,6 +139,14 @@ def run_test(self,
110
139
"A majestic skyscraper stands tall, partially obscured by a vibrant canopy of cherry blossoms, against a clear blue sky.", # noqa: E501
111
140
]
112
141
142
+
# NOTE - beam search .text contains the whole text
143
+
EXPECTED_BEAM_SEARCH_OUTPUTS= [
144
+
[
145
+
"<|im_start|>system\nYou are a helpful assistant.<|im_end|>\n<|im_start|>user\n<|vision_start|><|image_pad|><|vision_end|>What is in the image?<|im_end|>\n<|im_start|>assistant\nA majestic skyscraper stands", # noqa: E501
146
+
"<|im_start|>system\nYou are a helpful assistant.<|im_end|>\n<|im_start|>user\n<|vision_start|><|image_pad|><|vision_end|>What is in the image?<|im_end|>\n<|im_start|>assistant\nA majestic tower stands tall", # noqa: E501
0 commit comments