-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathprompt_en.py
167 lines (81 loc) · 15.2 KB
/
prompt_en.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
instruct_CST = """Given an entire context as the Context, generate a Question about the entire context that users might be interested in, which answer should be able to be derived directly from the Context. Then, divide the entire context into two sub-contexts Context 1 and Context 2 based on their semantic content, making necessary adjustments within each sub-contexts to ensure they are independently coherent.
---
Provide in the following form:
Context: The entire context
Question: Regarding the entire context
Context 1: Sub-context 1
Context 2: Sub-context 2
---
Context: Trying to rebound from their divisional home loss to the Buccaneers, the Panthers flew to the Louisiana Superdome for a Week 5 divisional duel with the winless New Orleans Saints. With QB Jake Delhomme out and done for the year with a right elbow injury, QB David Carr was given the start. In the first quarter, Carolina took the early lead with kicker John Kasay getting a 23-yard field goal. The Saints responded with kicker Olindo Mare getting a 25-yard field goal. In the second quarter, the Panthers went back into the lead with Kasay nailing a 35-yard field goal. New Orleans would respond with Mare kicking a 28-yard field goal. In the third quarter, Carolina trailed as Saints FB Mike Karney got a 2-yard TD run for the only score of the period. In the fourth quarter, the Panthers tied the game with Carr completing a 17-yard TD pass to WR Steve Smith. Afterwards, Carolina sealed the win in the final seconds with Kasay nailing a 52-yard field goal as time ran out.
Question: How did the Carolina Panthers secure their victory against the New Orleans Saints in their Week 5 divisional duel?
Context 1: Trying to rebound from their divisional home loss to the Buccaneers, the Panthers flew to the Louisiana Superdome for a Week 5 divisional duel with the winless New Orleans Saints. With QB Jake Delhomme out for the year with a right elbow injury, QB David Carr was given the start. In the first quarter, Carolina took the early lead with kicker John Kasay getting a 23-yard field goal. The Saints responded with kicker Olindo Mare getting a 25-yard field goal. In the second quarter, the Panthers went back into the lead with Kasay nailing a 35-yard field goal, followed by New Orleans’ response with Mare kicking a 28-yard field goal.
Context 2: As the game progressed into the third quarter, the Panthers found themselves trailing after Saints FB Mike Karney got a 2-yard TD run, marking the only score of the period. However, in the fourth quarter, the Panthers managed to tie the game thanks to QB David Carr completing a 17-yard TD pass to WR Steve Smith. The climax of the match came in the final seconds with John Kasay nailing a 52-yard field goal as time ran out, securing a dramatic victory for Carolina against the New Orleans Saints.
---
Context: As a cell grows, its volume increases more quickly than its surface area. If a cell was to get very large, the small surface area would not allow enough nutrients to enter the cell quickly enough for the cell’s needs. However, large cells have a way of dealing with some size challenges. Big cells, such as some white blood cells, often grow more nuclei so that they can supply enough proteins and RNA for the cell’s requirements. Large, metabolically active cells often have lots of cell protrusions, resulting in many folds throughout the membrane. These folds increase the surface area available for transport of materials into or out of the cell. Such cell types are found lining your small intestine, where they absorb nutrients from your food through protrusions called microvilli.
Question: How do large cells adapt to the challenge of having a volume that increases more quickly than their surface area to meet their metabolic needs?
Context 1: As a cell grows, its volume increases more quickly than its surface area. If a cell was to get very large, the small surface area would not allow enough nutrients to enter the cell quickly enough for the cell's needs.
Context 2: Large cells have a way of dealing with their size challenges. Big cells, such as some white blood cells, often grow more nuclei so that they can supply enough proteins and RNA for the cell's requirements. Large, metabolically active cells often have lots of cell protrusions, resulting in many folds throughout the membrane. These folds increase the surface area available for transport of materials into or out of the cell. Such cell types are found lining your small intestine, where they absorb nutrients from your food through protrusions called microvilli.
---
Context: Philip Arnold Heseltine is best known as a composer of songs and other vocal music; he also achieved notoriety in his lifetime through his unconventional and often scandalous lifestyle.
Question: Why is Philip Arnold Heseltine's reputation mixed?
Context 1: Philip Arnold Heseltine is best known as a composer of songs and other vocal music.
Context 2: Philip Arnold Heseltine also achieved notoriety in his lifetime through his unconventional and often scandalous lifestyle.
---
Context: {context}
Question: """
instruct_CST_instr = """Given a context, generate a question and split context into two sub-contexts.
---
Provide in the following form:
Context: The entire context
Question: Regarding the entire context
Context 1: Sub-context 1
Context 2: Sub-context 2
---
Context: Trying to rebound from their divisional home loss to the Buccaneers, the Panthers flew to the Louisiana Superdome for a Week 5 divisional duel with the winless New Orleans Saints. With QB Jake Delhomme out and done for the year with a right elbow injury, QB David Carr was given the start. In the first quarter, Carolina took the early lead with kicker John Kasay getting a 23-yard field goal. The Saints responded with kicker Olindo Mare getting a 25-yard field goal. In the second quarter, the Panthers went back into the lead with Kasay nailing a 35-yard field goal. New Orleans would respond with Mare kicking a 28-yard field goal. In the third quarter, Carolina trailed as Saints FB Mike Karney got a 2-yard TD run for the only score of the period. In the fourth quarter, the Panthers tied the game with Carr completing a 17-yard TD pass to WR Steve Smith. Afterwards, Carolina sealed the win in the final seconds with Kasay nailing a 52-yard field goal as time ran out.
Question: How did the Carolina Panthers secure their victory against the New Orleans Saints in their Week 5 divisional duel?
Context 1: Trying to rebound from their divisional home loss to the Buccaneers, the Panthers flew to the Louisiana Superdome for a Week 5 divisional duel with the winless New Orleans Saints. With QB Jake Delhomme out for the year with a right elbow injury, QB David Carr was given the start. In the first quarter, Carolina took the early lead with kicker John Kasay getting a 23-yard field goal. The Saints responded with kicker Olindo Mare getting a 25-yard field goal. In the second quarter, the Panthers went back into the lead with Kasay nailing a 35-yard field goal, followed by New Orleans’ response with Mare kicking a 28-yard field goal.
Context 2: As the game progressed into the third quarter, the Panthers found themselves trailing after Saints FB Mike Karney got a 2-yard TD run, marking the only score of the period. However, in the fourth quarter, the Panthers managed to tie the game thanks to QB David Carr completing a 17-yard TD pass to WR Steve Smith. The climax of the match came in the final seconds with John Kasay nailing a 52-yard field goal as time ran out, securing a dramatic victory for Carolina against the New Orleans Saints.
---
Context: As a cell grows, its volume increases more quickly than its surface area. If a cell was to get very large, the small surface area would not allow enough nutrients to enter the cell quickly enough for the cell’s needs. However, large cells have a way of dealing with some size challenges. Big cells, such as some white blood cells, often grow more nuclei so that they can supply enough proteins and RNA for the cell’s requirements. Large, metabolically active cells often have lots of cell protrusions, resulting in many folds throughout the membrane. These folds increase the surface area available for transport of materials into or out of the cell. Such cell types are found lining your small intestine, where they absorb nutrients from your food through protrusions called microvilli.
Question: How do large cells adapt to the challenge of having a volume that increases more quickly than their surface area to meet their metabolic needs?
Context 1: As a cell grows, its volume increases more quickly than its surface area. If a cell was to get very large, the small surface area would not allow enough nutrients to enter the cell quickly enough for the cell's needs.
Context 2: Large cells have a way of dealing with their size challenges. Big cells, such as some white blood cells, often grow more nuclei so that they can supply enough proteins and RNA for the cell's requirements. Large, metabolically active cells often have lots of cell protrusions, resulting in many folds throughout the membrane. These folds increase the surface area available for transport of materials into or out of the cell. Such cell types are found lining your small intestine, where they absorb nutrients from your food through protrusions called microvilli.
---
Context: Philip Arnold Heseltine is best known as a composer of songs and other vocal music; he also achieved notoriety in his lifetime through his unconventional and often scandalous lifestyle.
Question: Why is Philip Arnold Heseltine's reputation mixed?
Context 1: Philip Arnold Heseltine is best known as a composer of songs and other vocal music.
Context 2: Philip Arnold Heseltine also achieved notoriety in his lifetime through his unconventional and often scandalous lifestyle.
---
Context: {context}
Question: """
instruct_CST_fs = """Given an entire context as the Context, generate a Question about the entire context that users might be interested in, which answer should be able to be derived directly from the Context. Then, divide the entire context into two sub-contexts Context 1 and Context 2 based on their semantic content, making necessary adjustments within each sub-contexts to ensure they are independently coherent.
---
Provide in the following form:
Context: The entire context
Question: Regarding the entire context
Context 1: Sub-context 1
Context 2: Sub-context 2
---
Context: Trying to rebound from their divisional home loss to the Buccaneers, the Panthers flew to the Louisiana Superdome for a Week 5 divisional duel with the winless New Orleans Saints. With QB Jake Delhomme out and done for the year with a right elbow injury, QB David Carr was given the start. In the first quarter, Carolina took the early lead with kicker John Kasay getting a 23-yard field goal. The Saints responded with kicker Olindo Mare getting a 25-yard field goal. In the second quarter, the Panthers went back into the lead with Kasay nailing a 35-yard field goal. New Orleans would respond with Mare kicking a 28-yard field goal. In the third quarter, Carolina trailed as Saints FB Mike Karney got a 2-yard TD run for the only score of the period. In the fourth quarter, the Panthers tied the game with Carr completing a 17-yard TD pass to WR Steve Smith. Afterwards, Carolina sealed the win in the final seconds with Kasay nailing a 52-yard field goal as time ran out.
Question: How did the Carolina Panthers secure their victory against the New Orleans Saints in their Week 5 divisional duel?
Context 1: Trying to rebound from their divisional home loss to the Buccaneers, the Panthers flew to the Louisiana Superdome for a Week 5 divisional duel with the winless New Orleans Saints. With QB Jake Delhomme out for the year with a right elbow injury, QB David Carr was given the start. In the first quarter, Carolina took the early lead with kicker John Kasay getting a 23-yard field goal. The Saints responded with kicker Olindo Mare getting a 25-yard field goal. In the second quarter, the Panthers went back into the lead with Kasay nailing a 35-yard field goal, followed by New Orleans’ response with Mare kicking a 28-yard field goal.
Context 2: As the game progressed into the third quarter, the Panthers found themselves trailing after Saints FB Mike Karney got a 2-yard TD run, marking the only score of the period. However, in the fourth quarter, the Panthers managed to tie the game thanks to QB David Carr completing a 17-yard TD pass to WR Steve Smith. The climax of the match came in the final seconds with John Kasay nailing a 52-yard field goal as time ran out, securing a dramatic victory for Carolina against the New Orleans Saints.
---
Context: {context}
Question: """
instruct_CST_instr_fs = """Given a context, generate a question and split context into two sub-contexts.
---
Provide in the following form:
Context: The entire context
Question: Regarding the entire context
Context 1: Sub-context 1
Context 2: Sub-context 2
---
Context: Trying to rebound from their divisional home loss to the Buccaneers, the Panthers flew to the Louisiana Superdome for a Week 5 divisional duel with the winless New Orleans Saints. With QB Jake Delhomme out and done for the year with a right elbow injury, QB David Carr was given the start. In the first quarter, Carolina took the early lead with kicker John Kasay getting a 23-yard field goal. The Saints responded with kicker Olindo Mare getting a 25-yard field goal. In the second quarter, the Panthers went back into the lead with Kasay nailing a 35-yard field goal. New Orleans would respond with Mare kicking a 28-yard field goal. In the third quarter, Carolina trailed as Saints FB Mike Karney got a 2-yard TD run for the only score of the period. In the fourth quarter, the Panthers tied the game with Carr completing a 17-yard TD pass to WR Steve Smith. Afterwards, Carolina sealed the win in the final seconds with Kasay nailing a 52-yard field goal as time ran out.
Question: How did the Carolina Panthers secure their victory against the New Orleans Saints in their Week 5 divisional duel?
Context 1: Trying to rebound from their divisional home loss to the Buccaneers, the Panthers flew to the Louisiana Superdome for a Week 5 divisional duel with the winless New Orleans Saints. With QB Jake Delhomme out for the year with a right elbow injury, QB David Carr was given the start. In the first quarter, Carolina took the early lead with kicker John Kasay getting a 23-yard field goal. The Saints responded with kicker Olindo Mare getting a 25-yard field goal. In the second quarter, the Panthers went back into the lead with Kasay nailing a 35-yard field goal, followed by New Orleans’ response with Mare kicking a 28-yard field goal.
Context 2: As the game progressed into the third quarter, the Panthers found themselves trailing after Saints FB Mike Karney got a 2-yard TD run, marking the only score of the period. However, in the fourth quarter, the Panthers managed to tie the game thanks to QB David Carr completing a 17-yard TD pass to WR Steve Smith. The climax of the match came in the final seconds with John Kasay nailing a 52-yard field goal as time ran out, securing a dramatic victory for Carolina against the New Orleans Saints.
---
Context: {context}
Question: """
neg_instruct_CST_list = [instruct_CST_instr, instruct_CST_fs, instruct_CST_instr_fs]