dict(role='HUMAN',prompt='Answer these questions, your answer should be as simple as possible, start your answer with the prompt \'The answer is \'.\nQ: {question}?'),
'Hamsters are prey animals. Prey are food for predators. Thus, hamsters provide food for some animals.\nSo the answer is yes'
'Hamsters are prey animals. Prey are food for predators. Thus, hamsters provide food for some animals.\nSo the answer is yes\n'
),
),
dict(
dict(
role='HUMAN',
role='HUMAN',
...
@@ -33,7 +33,7 @@ strategyqa_infer_cfg = dict(
...
@@ -33,7 +33,7 @@ strategyqa_infer_cfg = dict(
dict(
dict(
role='BOT',
role='BOT',
prompt=
prompt=
'Brooke Shields went to Princeton University. Princeton University is about as academically rigorous as the University of Pennsylvania. Thus, Brooke Shields could also succeed at the University of Pennsylvania.\nSo the answer is yes'
'Brooke Shields went to Princeton University. Princeton University is about as academically rigorous as the University of Pennsylvania. Thus, Brooke Shields could also succeed at the University of Pennsylvania.\nSo the answer is yes\n'
),
),
dict(
dict(
role='HUMAN',
role='HUMAN',
...
@@ -43,7 +43,7 @@ strategyqa_infer_cfg = dict(
...
@@ -43,7 +43,7 @@ strategyqa_infer_cfg = dict(
dict(
dict(
role='BOT',
role='BOT',
prompt=
prompt=
'Hydrogen has an atomic number of 1. 1 squared is 1. There are 5 Spice Girls. Thus, Hydrogen\'s atomic number squared is less than 5.\nSo the answer is no'
'Hydrogen has an atomic number of 1. 1 squared is 1. There are 5 Spice Girls. Thus, Hydrogen\'s atomic number squared is less than 5.\nSo the answer is no\n'
),
),
dict(
dict(
role='HUMAN',
role='HUMAN',
...
@@ -53,7 +53,7 @@ strategyqa_infer_cfg = dict(
...
@@ -53,7 +53,7 @@ strategyqa_infer_cfg = dict(
dict(
dict(
role='BOT',
role='BOT',
prompt=
prompt=
'College commencement ceremonies can happen in December, May, and June. December is in the winter, so there can be frost. Thus, there could be frost at some commencements.\nSo the answer is yes'
'College commencement ceremonies can happen in December, May, and June. December is in the winter, so there can be frost. Thus, there could be frost at some commencements.\nSo the answer is yes\n'
),
),
dict(
dict(
role='HUMAN',
role='HUMAN',
...
@@ -63,7 +63,7 @@ strategyqa_infer_cfg = dict(
...
@@ -63,7 +63,7 @@ strategyqa_infer_cfg = dict(
dict(
dict(
role='BOT',
role='BOT',
prompt=
prompt=
'The War in Vietnam was 6 months. The gestation period for a llama is 11 months, which is more than 6 months. Thus, a llama could not give birth twice during the War in Vietnam.\nSo the answer is no'
'The War in Vietnam was 6 months. The gestation period for a llama is 11 months, which is more than 6 months. Thus, a llama could not give birth twice during the War in Vietnam.\nSo the answer is no\n'
),
),
dict(
dict(
role='HUMAN',
role='HUMAN',
...
@@ -71,7 +71,7 @@ strategyqa_infer_cfg = dict(
...
@@ -71,7 +71,7 @@ strategyqa_infer_cfg = dict(
dict(
dict(
role='BOT',
role='BOT',
prompt=
prompt=
'The density of a pear is about 0.6g/cm3, which is less than water. Objects less dense than water float. Thus, a pear would float.\nSo the answer is no'
'The density of a pear is about 0.6g/cm3, which is less than water. Objects less dense than water float. Thus, a pear would float.\nSo the answer is no\n'