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
system_prompt="You are an answer extractor. When given someone's answer to some question, you will only extract their final number answer and will respond with just the number. If there is no exact number answer, respond with -1"
1962
-
1961
+
system_prompt= (
1962
+
"You are an answer extractor. When given someone's answer to "
1963
+
"some question, you will only extract their final number answer "
1964
+
"and will respond with just the number. If there is no exact "
question=f"Count the exact number of {entry[object_key]} in the image. Assume the pattern of {entry[object_key]} continues behind any black box. Provide the total number of {entry[object_key]} as if the black box were not there. Only count {entry[object_key]} that are visible within the frame (or would be visible without the occluding box). If {entry[object_key]} are partially in the frame (i.e. if any part of {entry[object_key]} are visible), count it. If the {entry[object_key]} would be partially in the frame without the occluding box, count it."
18
+
object_name=entry[object_key]
19
+
question= (
20
+
f"Count the exact number of {object_name} in the image. "
21
+
f"Assume the pattern of {object_name} continues behind any "
22
+
f"black box. Provide the total number of {object_name} as if "
23
+
f"the black box were not there. Only count {object_name} that "
24
+
f"are visible within the frame (or would be visible without "
25
+
f"the occluding box). If {object_name} are partially in the "
26
+
f"frame (i.e. if any part of {object_name} are visible), "
27
+
f"count it. If the {object_name} would be partially in the "
0 commit comments