Spaces:
Build error
Build error
File size: 7,577 Bytes
c32ee7d |
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 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 |
dataset: craigslist_bargains
templates:
145dd841-b971-4550-bc88-305ad3278d58: !Template
answer_choices: null
id: 145dd841-b971-4550-bc88-305ad3278d58
jinja: 'The following conversation is a negotiation on craigslist. The first speaker
is the buyer, and the second speaker is the seller.
{{utterance | join("\n\n")}}
From the seller''s point of view, this deal could be considered
|||
{% set nonzero_price = [] %}
{% for p in dialogue_acts["price"] %}
{% if p>-1 %}
{{nonzero_price.append(p) or ""}}
{% endif %}
{% endfor %}
{% set final_price = -1 %}
{% if nonzero_price | length != 0 %}{% set final_price = nonzero_price[-1] %}{%
endif %}
{% if final_price == -1 %}
incomplete
{% elif ((final_price - agent_info["Target"][0]) | abs) == ((final_price - agent_info["Target"][1])
| abs) %}
good
{% elif ((final_price - agent_info["Target"][0]) | abs) < ((final_price - agent_info["Target"][1])
| abs) %}
bad
{% elif ((final_price - agent_info["Target"][0]) | abs) > ((final_price - agent_info["Target"][1])
| abs) %}
good
{% endif %}'
metadata: !TemplateMetadata
choices_in_prompt: null
metrics: []
original_task: false
name: good deal for seller no list price implicit
reference: implicit version of "good deal for seller no list price"
27010b55-dd5b-4ee9-9e14-a4b809aa6cdb: !Template
answer_choices: null
id: 27010b55-dd5b-4ee9-9e14-a4b809aa6cdb
jinja: 'The following conversation is a negotiation on craigslist. The first speaker
is the buyer, and the second speaker is the seller.
{{utterance | join("\n\n")}}
Was this a good deal for the seller? answer "yes", "no", or "unknown".
|||
{% set nonzero_price = [] %}
{% for p in dialogue_acts["price"] %}
{% if p>-1 %}
{{nonzero_price.append(p) or ""}}
{% endif %}
{% endfor %}
{% set final_price = -1 %}
{% if nonzero_price | length != 0 %}{% set final_price = nonzero_price[-1] %}{%
endif %}
{% if final_price == -1 %}
unknown
{% elif ((final_price - agent_info["Target"][0]) | abs) == ((final_price - agent_info["Target"][1])
| abs) %}
yes
{% elif ((final_price - agent_info["Target"][0]) | abs) < ((final_price - agent_info["Target"][1])
| abs) %}
no
{% elif ((final_price - agent_info["Target"][0]) | abs) > ((final_price - agent_info["Target"][1])
| abs) %}
yes
{% endif %}'
metadata: !TemplateMetadata
choices_in_prompt: null
metrics: []
original_task: false
name: good deal for seller no list price
reference: same as "good deal for seller" prompt, but excludes the list price
3e1e2993-2b41-493b-8f27-9a7bb7fa4a0b: !Template
answer_choices: null
id: 3e1e2993-2b41-493b-8f27-9a7bb7fa4a0b
jinja: 'The following conversation is a negotiation on craigslist. The first speaker
is the buyer, and the second speaker is the seller. The listed price was ${{items["Price"][0]}}0.
{{utterance | join("\n\n")}}
How much was the gap between the target of the buyer and the seller?
|||
${{(agent_info[''Target''][0] - agent_info[''Target''][1]) | abs}}0'
metadata: !TemplateMetadata
choices_in_prompt: null
metrics: []
original_task: false
name: gap between parties
reference: asks model explicitly what the gap was between the buyer's target and
the seller's target
78d1b487-c535-4a0d-ae49-055d321db3fd: !Template
answer_choices: null
id: 78d1b487-c535-4a0d-ae49-055d321db3fd
jinja: 'The following conversation is a negotiation on craigslist. The first speaker
is the buyer, and the second speaker is the seller. The listed price was ${{items["Price"][0]}}.
{{utterance | join("\n\n")}}
Was this a good deal for the seller? Answer "yes" or "no", or "unknown".
|||
{% set nonzero_price = [] %}
{% for p in dialogue_acts["price"] %}
{% if p>-1 %}
{{nonzero_price.append(p) or ""}}
{% endif %}
{% endfor %}
{% set final_price = -1 %}
{% if nonzero_price | length != 0 %}{% set final_price = nonzero_price[-1] %}{%
endif %}
{% if final_price == -1 %}
unknown
{% elif ((final_price - agent_info["Target"][0]) | abs) == ((final_price - agent_info["Target"][1])
| abs) %}
yes
{% elif ((final_price - agent_info["Target"][0]) | abs) < ((final_price - agent_info["Target"][1])
| abs) %}
no
{% elif ((final_price - agent_info["Target"][0]) | abs) > ((final_price - agent_info["Target"][1])
| abs) %}
yes
{% endif %}'
metadata: !TemplateMetadata
choices_in_prompt: null
metrics: []
original_task: false
name: good deal for seller
reference: asks the model whether the deal was good for the seller or not (it's
good if the seller's target is closer to the final price than the buyer's, or
there is a tie)
a1dbb258-2e5c-4160-986b-46fc03546965: !Template
answer_choices: null
id: a1dbb258-2e5c-4160-986b-46fc03546965
jinja: 'The following conversation is a negotiation on craigslist. The first speaker
is the buyer, and the second speaker is the seller. The listed price was ${{items["Price"][0]}}.
{{utterance | join("\n\n")}}
Question: Which party got the better deal? Choose from:
a) the buyer
b) the seller
c) neither - it is a fair compromise
d) unknown
Answer:
|||
{% set nonzero_price = [] %}
{% for p in dialogue_acts["price"] %}
{% if p>-1 %}
{{nonzero_price.append(p) or ""}}
{% endif %}
{% endfor %}
{% set final_price = -1 %}
{% if nonzero_price | length != 0 %}{% set final_price = nonzero_price[-1] %}{%
endif %}
{% if final_price == -1 %}
d) unknown
{% elif ((final_price - agent_info["Target"][0]) | abs) == ((final_price - agent_info["Target"][1])
| abs) %}
c) neither - it is a fair compromise
{% elif ((final_price - agent_info["Target"][0]) | abs) < ((final_price - agent_info["Target"][1])
| abs) %}
a) the buyer
{% elif ((final_price - agent_info["Target"][0]) | abs) > ((final_price - agent_info["Target"][1])
| abs) %}
b) the seller
{% endif %}'
metadata: !TemplateMetadata
choices_in_prompt: null
metrics: []
original_task: false
name: best deal
reference: explicitly asks model which party got the best deal
b891bbe7-b3da-4118-b54f-4faa647e36f4: !Template
answer_choices: null
id: b891bbe7-b3da-4118-b54f-4faa647e36f4
jinja: 'The following conversation is a negotiation on craigslist. The first speaker
is the buyer, and the second speaker is the seller.
{% set nonempty_utterance = [] %}
{% for line in utterance %}
{% if line != "" %}{{ nonempty_utterance.append(line) or ""}}
{% endif %}
{% endfor %}
{{nonempty_utterance[:-1] | join(''\n\n'')}}
Question: What could be the next line in the negotiation?
Answer:
|||
{{nonempty_utterance[-1]}}'
metadata: !TemplateMetadata
choices_in_prompt: null
metrics: []
original_task: true
name: generate line
reference: Generates the next line of negotiation
|