decoding results
Browse files- .gitattributes +1 -0
- beam_timing.png +0 -0
- decoding_metrics.png +3 -0
- decoding_results.json +242 -239
- decoding_table.csv +13 -0
- generations.json +0 -0
- quality_vs_diversity.png +0 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
decoding_metrics.png filter=lfs diff=lfs merge=lfs -text
|
beam_timing.png
ADDED
|
decoding_metrics.png
ADDED
|
Git LFS Details
|
decoding_results.json
CHANGED
|
@@ -1,53 +1,53 @@
|
|
| 1 |
{
|
| 2 |
"summary": {
|
| 3 |
-
"reference_ppl_mean": 27.
|
| 4 |
-
"reference_ppl_median": 24.
|
| 5 |
"n_samples": 1000,
|
| 6 |
"model": "EleutherAI/pythia-160m",
|
| 7 |
"max_new_tokens": 70,
|
| 8 |
"beam_w1_equals_greedy_frac": 0.998,
|
| 9 |
-
"reference_judge_ppl_median": 16.
|
| 10 |
},
|
| 11 |
"results": [
|
| 12 |
-
{
|
| 13 |
-
"precision": 0.15703556591808848,
|
| 14 |
-
"recall": 0.10770206338672424,
|
| 15 |
-
"f1": 0.11695427749203965,
|
| 16 |
-
"accuracy": 0.013886833130142854,
|
| 17 |
-
"bleu": 0.4602816499134766,
|
| 18 |
-
"self_ppl_mean": 2.129318780740721,
|
| 19 |
-
"self_ppl_median": 1.9777636367502676,
|
| 20 |
-
"distinct_1": 0.037839837248011834,
|
| 21 |
-
"distinct_2": 0.11822546571922413,
|
| 22 |
-
"rep_4gram": 0.3293539897022365,
|
| 23 |
-
"avg_words": 27.035,
|
| 24 |
-
"name": "greedy",
|
| 25 |
-
"strategy": "greedy",
|
| 26 |
-
"params": {
|
| 27 |
-
"name": "greedy",
|
| 28 |
-
"strategy": "greedy"
|
| 29 |
-
},
|
| 30 |
-
"time_s": 24.308775424957275,
|
| 31 |
-
"ms_per_prompt": 24.308775424957275,
|
| 32 |
-
"gen_tokens_mean": 69.995,
|
| 33 |
-
"judge_ppl_median": 3.7137224674224854,
|
| 34 |
-
"judge_ppl_mean": 3.8401719745397567,
|
| 35 |
-
"bertscore_p": 0.8487334251403809,
|
| 36 |
-
"bertscore_r": 0.846333384513855,
|
| 37 |
-
"bertscore_f1": 0.8474068641662598
|
| 38 |
-
},
|
| 39 |
{
|
| 40 |
"precision": 0.15680400502615022,
|
| 41 |
"recall": 0.10761634910100995,
|
| 42 |
"f1": 0.11683061986311886,
|
| 43 |
"accuracy": 0.013858261701571426,
|
| 44 |
"bleu": 0.45979362180213906,
|
| 45 |
-
"self_ppl_mean": 2.
|
| 46 |
-
"self_ppl_median": 1.
|
| 47 |
"distinct_1": 0.03781326236416057,
|
| 48 |
"distinct_2": 0.11821601289629231,
|
| 49 |
"rep_4gram": 0.3296551592928797,
|
| 50 |
"avg_words": 27.054,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 51 |
"name": "beam_w1",
|
| 52 |
"strategy": "beam",
|
| 53 |
"params": {
|
|
@@ -55,27 +55,27 @@
|
|
| 55 |
"strategy": "beam",
|
| 56 |
"width": 1
|
| 57 |
},
|
| 58 |
-
"time_s":
|
| 59 |
-
"ms_per_prompt":
|
| 60 |
"gen_tokens_mean": 69.995,
|
| 61 |
-
"judge_ppl_median": 3.
|
| 62 |
-
"judge_ppl_mean": 3.
|
| 63 |
-
"bertscore_p": 0.
|
| 64 |
-
"bertscore_r": 0.
|
| 65 |
-
"bertscore_f1": 0.
|
| 66 |
},
|
| 67 |
{
|
| 68 |
-
"precision": 0.
|
| 69 |
-
"recall": 0.
|
| 70 |
-
"f1": 0.
|
| 71 |
"accuracy": 0.010045733414015445,
|
| 72 |
-
"bleu": 0.
|
| 73 |
-
"self_ppl_mean": 1.
|
| 74 |
-
"self_ppl_median": 1.
|
| 75 |
-
"distinct_1": 0.
|
| 76 |
-
"distinct_2": 0.
|
| 77 |
-
"rep_4gram": 0.
|
| 78 |
-
"avg_words": 18.
|
| 79 |
"name": "beam_w2",
|
| 80 |
"strategy": "beam",
|
| 81 |
"params": {
|
|
@@ -83,27 +83,27 @@
|
|
| 83 |
"strategy": "beam",
|
| 84 |
"width": 2
|
| 85 |
},
|
| 86 |
-
"time_s":
|
| 87 |
-
"ms_per_prompt":
|
| 88 |
"gen_tokens_mean": 69.827,
|
| 89 |
-
"judge_ppl_median": 4.
|
| 90 |
-
"judge_ppl_mean": 5.
|
| 91 |
-
"bertscore_p": 0.
|
| 92 |
-
"bertscore_r": 0.
|
| 93 |
-
"bertscore_f1": 0.
|
| 94 |
},
|
| 95 |
{
|
| 96 |
-
"precision": 0.
|
| 97 |
-
"recall": 0.
|
| 98 |
-
"f1": 0.
|
| 99 |
-
"accuracy": 0.
|
| 100 |
-
"bleu": 0.
|
| 101 |
-
"self_ppl_mean": 1.
|
| 102 |
-
"self_ppl_median": 1.
|
| 103 |
-
"distinct_1": 0.
|
| 104 |
-
"distinct_2": 0.
|
| 105 |
-
"rep_4gram": 0.
|
| 106 |
-
"avg_words": 18.
|
| 107 |
"name": "beam_w4",
|
| 108 |
"strategy": "beam",
|
| 109 |
"params": {
|
|
@@ -111,27 +111,27 @@
|
|
| 111 |
"strategy": "beam",
|
| 112 |
"width": 4
|
| 113 |
},
|
| 114 |
-
"time_s":
|
| 115 |
-
"ms_per_prompt":
|
| 116 |
-
"gen_tokens_mean": 69.
|
| 117 |
-
"judge_ppl_median": 3.
|
| 118 |
-
"judge_ppl_mean": 549.
|
| 119 |
-
"bertscore_p": 0.
|
| 120 |
-
"bertscore_r": 0.
|
| 121 |
-
"bertscore_f1": 0.
|
| 122 |
},
|
| 123 |
{
|
| 124 |
-
"precision": 0.
|
| 125 |
-
"recall": 0.
|
| 126 |
-
"f1": 0.
|
| 127 |
-
"accuracy": 0.
|
| 128 |
-
"bleu": 0.
|
| 129 |
-
"self_ppl_mean": 5.
|
| 130 |
-
"self_ppl_median": 5.
|
| 131 |
-
"distinct_1": 0.
|
| 132 |
-
"distinct_2": 0.
|
| 133 |
-
"rep_4gram": 0.
|
| 134 |
-
"avg_words": 31.
|
| 135 |
"name": "topk_k5",
|
| 136 |
"strategy": "top_k",
|
| 137 |
"params": {
|
|
@@ -139,27 +139,27 @@
|
|
| 139 |
"strategy": "top_k",
|
| 140 |
"k": 5
|
| 141 |
},
|
| 142 |
-
"time_s":
|
| 143 |
-
"ms_per_prompt":
|
| 144 |
-
"gen_tokens_mean": 69.
|
| 145 |
-
"judge_ppl_median": 8.
|
| 146 |
-
"judge_ppl_mean": 10.
|
| 147 |
-
"bertscore_p": 0.
|
| 148 |
-
"bertscore_r": 0.
|
| 149 |
-
"bertscore_f1": 0.
|
| 150 |
},
|
| 151 |
{
|
| 152 |
-
"precision": 0.
|
| 153 |
-
"recall": 0.
|
| 154 |
-
"f1": 0.
|
| 155 |
-
"accuracy": 0.
|
| 156 |
-
"bleu": 0.
|
| 157 |
-
"self_ppl_mean": 10.
|
| 158 |
-
"self_ppl_median":
|
| 159 |
-
"distinct_1": 0.
|
| 160 |
-
"distinct_2": 0.
|
| 161 |
-
"rep_4gram": 0.
|
| 162 |
-
"avg_words":
|
| 163 |
"name": "topk_k20",
|
| 164 |
"strategy": "top_k",
|
| 165 |
"params": {
|
|
@@ -167,24 +167,24 @@
|
|
| 167 |
"strategy": "top_k",
|
| 168 |
"k": 20
|
| 169 |
},
|
| 170 |
-
"time_s":
|
| 171 |
-
"ms_per_prompt":
|
| 172 |
-
"gen_tokens_mean": 69.
|
| 173 |
-
"judge_ppl_median": 14.
|
| 174 |
-
"judge_ppl_mean":
|
| 175 |
},
|
| 176 |
{
|
| 177 |
-
"precision": 0.
|
| 178 |
-
"recall": 0.
|
| 179 |
-
"f1": 0.
|
| 180 |
-
"accuracy": 0.
|
| 181 |
-
"bleu": 0.
|
| 182 |
-
"self_ppl_mean": 14.
|
| 183 |
-
"self_ppl_median": 13.
|
| 184 |
-
"distinct_1": 0.
|
| 185 |
-
"distinct_2": 0.
|
| 186 |
-
"rep_4gram": 0.
|
| 187 |
-
"avg_words": 35.
|
| 188 |
"name": "topk_k50",
|
| 189 |
"strategy": "top_k",
|
| 190 |
"params": {
|
|
@@ -192,24 +192,24 @@
|
|
| 192 |
"strategy": "top_k",
|
| 193 |
"k": 50
|
| 194 |
},
|
| 195 |
-
"time_s":
|
| 196 |
-
"ms_per_prompt":
|
| 197 |
-
"gen_tokens_mean":
|
| 198 |
-
"judge_ppl_median":
|
| 199 |
-
"judge_ppl_mean":
|
| 200 |
},
|
| 201 |
{
|
| 202 |
-
"precision": 0.
|
| 203 |
-
"recall": 0.
|
| 204 |
-
"f1": 0.
|
| 205 |
-
"accuracy": 0.
|
| 206 |
-
"bleu": 0.
|
| 207 |
-
"self_ppl_mean": 7.
|
| 208 |
-
"self_ppl_median": 6.
|
| 209 |
-
"distinct_1": 0.
|
| 210 |
-
"distinct_2": 0.
|
| 211 |
-
"rep_4gram": 0.
|
| 212 |
-
"avg_words": 29.
|
| 213 |
"name": "topk_k50_t0.7",
|
| 214 |
"strategy": "top_k",
|
| 215 |
"params": {
|
|
@@ -218,24 +218,24 @@
|
|
| 218 |
"k": 50,
|
| 219 |
"temperature": 0.7
|
| 220 |
},
|
| 221 |
-
"time_s":
|
| 222 |
-
"ms_per_prompt":
|
| 223 |
-
"gen_tokens_mean": 69.
|
| 224 |
-
"judge_ppl_median": 10.
|
| 225 |
-
"judge_ppl_mean":
|
| 226 |
},
|
| 227 |
{
|
| 228 |
-
"precision": 0.
|
| 229 |
-
"recall": 0.
|
| 230 |
-
"f1": 0.
|
| 231 |
-
"accuracy": 0.
|
| 232 |
-
"bleu": 0.
|
| 233 |
-
"self_ppl_mean": 6.
|
| 234 |
-
"self_ppl_median": 5.
|
| 235 |
-
"distinct_1": 0.
|
| 236 |
-
"distinct_2": 0.
|
| 237 |
-
"rep_4gram": 0.
|
| 238 |
-
"avg_words": 28.
|
| 239 |
"name": "topp_p0.5",
|
| 240 |
"strategy": "top_p",
|
| 241 |
"params": {
|
|
@@ -243,24 +243,24 @@
|
|
| 243 |
"strategy": "top_p",
|
| 244 |
"p": 0.5
|
| 245 |
},
|
| 246 |
-
"time_s":
|
| 247 |
-
"ms_per_prompt":
|
| 248 |
-
"gen_tokens_mean": 69.
|
| 249 |
-
"judge_ppl_median": 9.
|
| 250 |
-
"judge_ppl_mean":
|
| 251 |
},
|
| 252 |
{
|
| 253 |
-
"precision": 0.
|
| 254 |
-
"recall": 0.
|
| 255 |
-
"f1": 0.
|
| 256 |
-
"accuracy": 0.
|
| 257 |
-
"bleu": 0.
|
| 258 |
-
"self_ppl_mean": 16.
|
| 259 |
-
"self_ppl_median": 14.
|
| 260 |
-
"distinct_1": 0.
|
| 261 |
-
"distinct_2": 0.
|
| 262 |
-
"rep_4gram": 0.
|
| 263 |
-
"avg_words":
|
| 264 |
"name": "topp_p0.8",
|
| 265 |
"strategy": "top_p",
|
| 266 |
"params": {
|
|
@@ -268,24 +268,24 @@
|
|
| 268 |
"strategy": "top_p",
|
| 269 |
"p": 0.8
|
| 270 |
},
|
| 271 |
-
"time_s":
|
| 272 |
-
"ms_per_prompt":
|
| 273 |
-
"gen_tokens_mean": 69.
|
| 274 |
-
"judge_ppl_median": 23.
|
| 275 |
-
"judge_ppl_mean":
|
| 276 |
},
|
| 277 |
{
|
| 278 |
-
"precision": 0.
|
| 279 |
-
"recall": 0.
|
| 280 |
-
"f1": 0.
|
| 281 |
-
"accuracy": 0.
|
| 282 |
-
"bleu": 0.
|
| 283 |
-
"self_ppl_mean":
|
| 284 |
-
"self_ppl_median":
|
| 285 |
-
"distinct_1": 0.
|
| 286 |
-
"distinct_2": 0.
|
| 287 |
-
"rep_4gram": 0.
|
| 288 |
-
"avg_words":
|
| 289 |
"name": "topp_p0.95",
|
| 290 |
"strategy": "top_p",
|
| 291 |
"params": {
|
|
@@ -293,24 +293,24 @@
|
|
| 293 |
"strategy": "top_p",
|
| 294 |
"p": 0.95
|
| 295 |
},
|
| 296 |
-
"time_s":
|
| 297 |
-
"ms_per_prompt":
|
| 298 |
-
"gen_tokens_mean": 68.
|
| 299 |
-
"judge_ppl_median":
|
| 300 |
-
"judge_ppl_mean":
|
| 301 |
},
|
| 302 |
{
|
| 303 |
-
"precision": 0.
|
| 304 |
-
"recall": 0.
|
| 305 |
-
"f1": 0.
|
| 306 |
-
"accuracy": 0.
|
| 307 |
-
"bleu": 0.
|
| 308 |
-
"self_ppl_mean": 5.
|
| 309 |
-
"self_ppl_median": 5.
|
| 310 |
-
"distinct_1": 0.
|
| 311 |
-
"distinct_2": 0.
|
| 312 |
-
"rep_4gram": 0.
|
| 313 |
-
"avg_words":
|
| 314 |
"name": "topp_p0.9_t0.7",
|
| 315 |
"strategy": "top_p",
|
| 316 |
"params": {
|
|
@@ -319,92 +319,92 @@
|
|
| 319 |
"p": 0.9,
|
| 320 |
"temperature": 0.7
|
| 321 |
},
|
| 322 |
-
"time_s":
|
| 323 |
-
"ms_per_prompt":
|
| 324 |
-
"gen_tokens_mean": 69.
|
| 325 |
-
"judge_ppl_median": 9.
|
| 326 |
-
"judge_ppl_mean":
|
| 327 |
}
|
| 328 |
],
|
| 329 |
"beam_timing": [
|
| 330 |
{
|
| 331 |
"mode": "natural",
|
| 332 |
"width": 1,
|
| 333 |
-
"mean_s_per_prompt": 0.
|
| 334 |
-
"std_s": 0.
|
| 335 |
-
"mean_ms_per_token":
|
| 336 |
"mean_output_tokens": 70.0,
|
| 337 |
-
"total_s":
|
| 338 |
"n_prompts": 100
|
| 339 |
},
|
| 340 |
{
|
| 341 |
"mode": "natural",
|
| 342 |
"width": 2,
|
| 343 |
-
"mean_s_per_prompt": 0.
|
| 344 |
-
"std_s": 0.
|
| 345 |
-
"mean_ms_per_token":
|
| 346 |
"mean_output_tokens": 69.86,
|
| 347 |
-
"total_s":
|
| 348 |
"n_prompts": 100
|
| 349 |
},
|
| 350 |
{
|
| 351 |
"mode": "natural",
|
| 352 |
"width": 4,
|
| 353 |
-
"mean_s_per_prompt": 0.
|
| 354 |
-
"std_s": 0.
|
| 355 |
-
"mean_ms_per_token":
|
| 356 |
"mean_output_tokens": 69.59,
|
| 357 |
-
"total_s":
|
| 358 |
"n_prompts": 100
|
| 359 |
},
|
| 360 |
{
|
| 361 |
"mode": "natural",
|
| 362 |
"width": 8,
|
| 363 |
-
"mean_s_per_prompt": 0.
|
| 364 |
-
"std_s": 0.
|
| 365 |
-
"mean_ms_per_token": 10.
|
| 366 |
"mean_output_tokens": 69.34,
|
| 367 |
-
"total_s":
|
| 368 |
"n_prompts": 100
|
| 369 |
},
|
| 370 |
{
|
| 371 |
"mode": "fixed",
|
| 372 |
"width": 1,
|
| 373 |
-
"mean_s_per_prompt": 0.
|
| 374 |
-
"std_s": 0.
|
| 375 |
-
"mean_ms_per_token": 9.
|
| 376 |
"mean_output_tokens": 70.0,
|
| 377 |
-
"total_s":
|
| 378 |
"n_prompts": 100
|
| 379 |
},
|
| 380 |
{
|
| 381 |
"mode": "fixed",
|
| 382 |
"width": 2,
|
| 383 |
-
"mean_s_per_prompt": 0.
|
| 384 |
-
"std_s": 0.
|
| 385 |
-
"mean_ms_per_token":
|
| 386 |
"mean_output_tokens": 70.0,
|
| 387 |
-
"total_s":
|
| 388 |
"n_prompts": 100
|
| 389 |
},
|
| 390 |
{
|
| 391 |
"mode": "fixed",
|
| 392 |
"width": 4,
|
| 393 |
-
"mean_s_per_prompt": 0.
|
| 394 |
-
"std_s": 0.
|
| 395 |
-
"mean_ms_per_token":
|
| 396 |
"mean_output_tokens": 70.0,
|
| 397 |
-
"total_s":
|
| 398 |
"n_prompts": 100
|
| 399 |
},
|
| 400 |
{
|
| 401 |
"mode": "fixed",
|
| 402 |
"width": 8,
|
| 403 |
-
"mean_s_per_prompt": 0.
|
| 404 |
-
"std_s": 0.
|
| 405 |
-
"mean_ms_per_token": 10.
|
| 406 |
"mean_output_tokens": 70.0,
|
| 407 |
-
"total_s":
|
| 408 |
"n_prompts": 100
|
| 409 |
}
|
| 410 |
],
|
|
@@ -495,6 +495,9 @@
|
|
| 495 |
"hf_user": null,
|
| 496 |
"repo_name": "anlp-a2-decoding",
|
| 497 |
"push_to_hub": true,
|
| 498 |
-
"private": false
|
|
|
|
|
|
|
|
|
|
| 499 |
}
|
| 500 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"summary": {
|
| 3 |
+
"reference_ppl_mean": 27.426975273132324,
|
| 4 |
+
"reference_ppl_median": 24.039149284362793,
|
| 5 |
"n_samples": 1000,
|
| 6 |
"model": "EleutherAI/pythia-160m",
|
| 7 |
"max_new_tokens": 70,
|
| 8 |
"beam_w1_equals_greedy_frac": 0.998,
|
| 9 |
+
"reference_judge_ppl_median": 16.60109519958496
|
| 10 |
},
|
| 11 |
"results": [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
{
|
| 13 |
"precision": 0.15680400502615022,
|
| 14 |
"recall": 0.10761634910100995,
|
| 15 |
"f1": 0.11683061986311886,
|
| 16 |
"accuracy": 0.013858261701571426,
|
| 17 |
"bleu": 0.45979362180213906,
|
| 18 |
+
"self_ppl_mean": 2.129511192101869,
|
| 19 |
+
"self_ppl_median": 1.977763465028044,
|
| 20 |
"distinct_1": 0.03781326236416057,
|
| 21 |
"distinct_2": 0.11821601289629231,
|
| 22 |
"rep_4gram": 0.3296551592928797,
|
| 23 |
"avg_words": 27.054,
|
| 24 |
+
"name": "greedy",
|
| 25 |
+
"strategy": "greedy",
|
| 26 |
+
"params": {
|
| 27 |
+
"name": "greedy",
|
| 28 |
+
"strategy": "greedy"
|
| 29 |
+
},
|
| 30 |
+
"time_s": 24.53210139274597,
|
| 31 |
+
"ms_per_prompt": 24.53210139274597,
|
| 32 |
+
"gen_tokens_mean": 69.995,
|
| 33 |
+
"judge_ppl_median": 3.7136964797973633,
|
| 34 |
+
"judge_ppl_mean": 3.8388092192411425,
|
| 35 |
+
"bertscore_p": 0.8487208485603333,
|
| 36 |
+
"bertscore_r": 0.8463250994682312,
|
| 37 |
+
"bertscore_f1": 0.8473963141441345
|
| 38 |
+
},
|
| 39 |
+
{
|
| 40 |
+
"precision": 0.1568385962211188,
|
| 41 |
+
"recall": 0.10770206338672424,
|
| 42 |
+
"f1": 0.11688205526981743,
|
| 43 |
+
"accuracy": 0.013886833130142854,
|
| 44 |
+
"bleu": 0.4603869452185167,
|
| 45 |
+
"self_ppl_mean": 2.1297556273252223,
|
| 46 |
+
"self_ppl_median": 1.9777561918932842,
|
| 47 |
+
"distinct_1": 0.03780348102435239,
|
| 48 |
+
"distinct_2": 0.11810751697939449,
|
| 49 |
+
"rep_4gram": 0.3296463873630552,
|
| 50 |
+
"avg_words": 27.061,
|
| 51 |
"name": "beam_w1",
|
| 52 |
"strategy": "beam",
|
| 53 |
"params": {
|
|
|
|
| 55 |
"strategy": "beam",
|
| 56 |
"width": 1
|
| 57 |
},
|
| 58 |
+
"time_s": 89.72963857650757,
|
| 59 |
+
"ms_per_prompt": 89.72963857650757,
|
| 60 |
"gen_tokens_mean": 69.995,
|
| 61 |
+
"judge_ppl_median": 3.7136964797973633,
|
| 62 |
+
"judge_ppl_mean": 3.839159709095955,
|
| 63 |
+
"bertscore_p": 0.8486897945404053,
|
| 64 |
+
"bertscore_r": 0.8463218808174133,
|
| 65 |
+
"bertscore_f1": 0.8473787903785706
|
| 66 |
},
|
| 67 |
{
|
| 68 |
+
"precision": 0.20124718334613445,
|
| 69 |
+
"recall": 0.08660508798842184,
|
| 70 |
+
"f1": 0.11012341441029258,
|
| 71 |
"accuracy": 0.010045733414015445,
|
| 72 |
+
"bleu": 0.29556628142570907,
|
| 73 |
+
"self_ppl_mean": 1.8974248541153338,
|
| 74 |
+
"self_ppl_median": 1.8301979892743205,
|
| 75 |
+
"distinct_1": 0.045782342657342656,
|
| 76 |
+
"distinct_2": 0.13661581137309292,
|
| 77 |
+
"rep_4gram": 0.20882754144393487,
|
| 78 |
+
"avg_words": 18.304,
|
| 79 |
"name": "beam_w2",
|
| 80 |
"strategy": "beam",
|
| 81 |
"params": {
|
|
|
|
| 83 |
"strategy": "beam",
|
| 84 |
"width": 2
|
| 85 |
},
|
| 86 |
+
"time_s": 93.67243909835815,
|
| 87 |
+
"ms_per_prompt": 93.67243909835815,
|
| 88 |
"gen_tokens_mean": 69.827,
|
| 89 |
+
"judge_ppl_median": 4.0844643115997314,
|
| 90 |
+
"judge_ppl_mean": 5.812758823871612,
|
| 91 |
+
"bertscore_p": 0.8609820604324341,
|
| 92 |
+
"bertscore_r": 0.846573531627655,
|
| 93 |
+
"bertscore_f1": 0.8535703420639038
|
| 94 |
},
|
| 95 |
{
|
| 96 |
+
"precision": 0.197717653773812,
|
| 97 |
+
"recall": 0.07404912467040367,
|
| 98 |
+
"f1": 0.09570392741330655,
|
| 99 |
+
"accuracy": 0.008065531697039307,
|
| 100 |
+
"bleu": 0.3401904436011399,
|
| 101 |
+
"self_ppl_mean": 1.7576851325086995,
|
| 102 |
+
"self_ppl_median": 1.739890192921894,
|
| 103 |
+
"distinct_1": 0.04027860266724259,
|
| 104 |
+
"distinct_2": 0.11694537982991839,
|
| 105 |
+
"rep_4gram": 0.23772850694366054,
|
| 106 |
+
"avg_words": 18.521,
|
| 107 |
"name": "beam_w4",
|
| 108 |
"strategy": "beam",
|
| 109 |
"params": {
|
|
|
|
| 111 |
"strategy": "beam",
|
| 112 |
"width": 4
|
| 113 |
},
|
| 114 |
+
"time_s": 106.44298911094666,
|
| 115 |
+
"ms_per_prompt": 106.44298911094666,
|
| 116 |
+
"gen_tokens_mean": 69.253,
|
| 117 |
+
"judge_ppl_median": 3.722070574760437,
|
| 118 |
+
"judge_ppl_mean": 549.2117587163449,
|
| 119 |
+
"bertscore_p": 0.8594975471496582,
|
| 120 |
+
"bertscore_r": 0.8445566892623901,
|
| 121 |
+
"bertscore_f1": 0.8517829775810242
|
| 122 |
},
|
| 123 |
{
|
| 124 |
+
"precision": 0.20247790936126098,
|
| 125 |
+
"recall": 0.16240848409656986,
|
| 126 |
+
"f1": 0.16326782514510493,
|
| 127 |
+
"accuracy": 0.015387661973703906,
|
| 128 |
+
"bleu": 0.6321177804113657,
|
| 129 |
+
"self_ppl_mean": 5.788990184998834,
|
| 130 |
+
"self_ppl_median": 5.7832007131546685,
|
| 131 |
+
"distinct_1": 0.07138813761871816,
|
| 132 |
+
"distinct_2": 0.35044483408013505,
|
| 133 |
+
"rep_4gram": 0.03276803420190723,
|
| 134 |
+
"avg_words": 31.798,
|
| 135 |
"name": "topk_k5",
|
| 136 |
"strategy": "top_k",
|
| 137 |
"params": {
|
|
|
|
| 139 |
"strategy": "top_k",
|
| 140 |
"k": 5
|
| 141 |
},
|
| 142 |
+
"time_s": 24.93057608604431,
|
| 143 |
+
"ms_per_prompt": 24.93057608604431,
|
| 144 |
+
"gen_tokens_mean": 69.711,
|
| 145 |
+
"judge_ppl_median": 8.327152252197266,
|
| 146 |
+
"judge_ppl_mean": 10.00695155286789,
|
| 147 |
+
"bertscore_p": 0.8572027683258057,
|
| 148 |
+
"bertscore_r": 0.8528223037719727,
|
| 149 |
+
"bertscore_f1": 0.8548986911773682
|
| 150 |
},
|
| 151 |
{
|
| 152 |
+
"precision": 0.18981835217131812,
|
| 153 |
+
"recall": 0.17505740033246367,
|
| 154 |
+
"f1": 0.16608450826242258,
|
| 155 |
+
"accuracy": 0.013520378544886719,
|
| 156 |
+
"bleu": 0.5262730257755575,
|
| 157 |
+
"self_ppl_mean": 10.425129562862075,
|
| 158 |
+
"self_ppl_median": 10.068886870395898,
|
| 159 |
+
"distinct_1": 0.08757376684110901,
|
| 160 |
+
"distinct_2": 0.4628797205600252,
|
| 161 |
+
"rep_4gram": 0.005379857536448407,
|
| 162 |
+
"avg_words": 35.924,
|
| 163 |
"name": "topk_k20",
|
| 164 |
"strategy": "top_k",
|
| 165 |
"params": {
|
|
|
|
| 167 |
"strategy": "top_k",
|
| 168 |
"k": 20
|
| 169 |
},
|
| 170 |
+
"time_s": 24.941646337509155,
|
| 171 |
+
"ms_per_prompt": 24.941646337509155,
|
| 172 |
+
"gen_tokens_mean": 69.067,
|
| 173 |
+
"judge_ppl_median": 14.630431175231934,
|
| 174 |
+
"judge_ppl_mean": 24.414003211975096
|
| 175 |
},
|
| 176 |
{
|
| 177 |
+
"precision": 0.18100045337501575,
|
| 178 |
+
"recall": 0.16393725762403472,
|
| 179 |
+
"f1": 0.15556260822373996,
|
| 180 |
+
"accuracy": 0.010887085233937758,
|
| 181 |
+
"bleu": 0.40375922428576166,
|
| 182 |
+
"self_ppl_mean": 14.773549448869355,
|
| 183 |
+
"self_ppl_median": 13.841562918287725,
|
| 184 |
+
"distinct_1": 0.10454026270702456,
|
| 185 |
+
"distinct_2": 0.5344305657604702,
|
| 186 |
+
"rep_4gram": 0.0027486902217292155,
|
| 187 |
+
"avg_words": 35.02,
|
| 188 |
"name": "topk_k50",
|
| 189 |
"strategy": "top_k",
|
| 190 |
"params": {
|
|
|
|
| 192 |
"strategy": "top_k",
|
| 193 |
"k": 50
|
| 194 |
},
|
| 195 |
+
"time_s": 24.886651039123535,
|
| 196 |
+
"ms_per_prompt": 24.886651039123535,
|
| 197 |
+
"gen_tokens_mean": 68.922,
|
| 198 |
+
"judge_ppl_median": 21.331963539123535,
|
| 199 |
+
"judge_ppl_mean": 501.72633791828156
|
| 200 |
},
|
| 201 |
{
|
| 202 |
+
"precision": 0.20526678420165223,
|
| 203 |
+
"recall": 0.15309069901051064,
|
| 204 |
+
"f1": 0.15840480805376173,
|
| 205 |
+
"accuracy": 0.014216155649643127,
|
| 206 |
+
"bleu": 0.50328331736766,
|
| 207 |
+
"self_ppl_mean": 7.068113830843848,
|
| 208 |
+
"self_ppl_median": 6.912323629738417,
|
| 209 |
+
"distinct_1": 0.09306409130816505,
|
| 210 |
+
"distinct_2": 0.43222086318364494,
|
| 211 |
+
"rep_4gram": 0.02030865920372129,
|
| 212 |
+
"avg_words": 29.614,
|
| 213 |
"name": "topk_k50_t0.7",
|
| 214 |
"strategy": "top_k",
|
| 215 |
"params": {
|
|
|
|
| 218 |
"k": 50,
|
| 219 |
"temperature": 0.7
|
| 220 |
},
|
| 221 |
+
"time_s": 24.90457844734192,
|
| 222 |
+
"ms_per_prompt": 24.90457844734192,
|
| 223 |
+
"gen_tokens_mean": 69.718,
|
| 224 |
+
"judge_ppl_median": 10.698809146881104,
|
| 225 |
+
"judge_ppl_mean": 15.45937124478817
|
| 226 |
},
|
| 227 |
{
|
| 228 |
+
"precision": 0.20739706440864433,
|
| 229 |
+
"recall": 0.1499013118788447,
|
| 230 |
+
"f1": 0.15918566183599664,
|
| 231 |
+
"accuracy": 0.014822320849886555,
|
| 232 |
+
"bleu": 0.4478536424658865,
|
| 233 |
+
"self_ppl_mean": 6.073593265666012,
|
| 234 |
+
"self_ppl_median": 5.982498789525279,
|
| 235 |
+
"distinct_1": 0.09500420993544766,
|
| 236 |
+
"distinct_2": 0.41255817335660266,
|
| 237 |
+
"rep_4gram": 0.03136431125812165,
|
| 238 |
+
"avg_words": 28.504,
|
| 239 |
"name": "topp_p0.5",
|
| 240 |
"strategy": "top_p",
|
| 241 |
"params": {
|
|
|
|
| 243 |
"strategy": "top_p",
|
| 244 |
"p": 0.5
|
| 245 |
},
|
| 246 |
+
"time_s": 27.650500059127808,
|
| 247 |
+
"ms_per_prompt": 27.650500059127808,
|
| 248 |
+
"gen_tokens_mean": 69.866,
|
| 249 |
+
"judge_ppl_median": 9.648499011993408,
|
| 250 |
+
"judge_ppl_mean": 13.219340204000472
|
| 251 |
},
|
| 252 |
{
|
| 253 |
+
"precision": 0.1786455293948896,
|
| 254 |
+
"recall": 0.15898556161207772,
|
| 255 |
+
"f1": 0.15182183169853083,
|
| 256 |
+
"accuracy": 0.01125190065874159,
|
| 257 |
+
"bleu": 0.22743045693599412,
|
| 258 |
+
"self_ppl_mean": 16.296575027955598,
|
| 259 |
+
"self_ppl_median": 14.50375505361637,
|
| 260 |
+
"distinct_1": 0.13724910579680155,
|
| 261 |
+
"distinct_2": 0.5839322694603484,
|
| 262 |
+
"rep_4gram": 0.003038437207161451,
|
| 263 |
+
"avg_words": 33.829,
|
| 264 |
"name": "topp_p0.8",
|
| 265 |
"strategy": "top_p",
|
| 266 |
"params": {
|
|
|
|
| 268 |
"strategy": "top_p",
|
| 269 |
"p": 0.8
|
| 270 |
},
|
| 271 |
+
"time_s": 27.59784722328186,
|
| 272 |
+
"ms_per_prompt": 27.59784722328186,
|
| 273 |
+
"gen_tokens_mean": 69.023,
|
| 274 |
+
"judge_ppl_median": 23.389395713806152,
|
| 275 |
+
"judge_ppl_mean": 4002.7205463142395
|
| 276 |
},
|
| 277 |
{
|
| 278 |
+
"precision": 0.15578726318266997,
|
| 279 |
+
"recall": 0.14156256433661007,
|
| 280 |
+
"f1": 0.13438127406575798,
|
| 281 |
+
"accuracy": 0.008718096877912114,
|
| 282 |
+
"bleu": 0.16851247100645653,
|
| 283 |
+
"self_ppl_mean": 40.52525353706895,
|
| 284 |
+
"self_ppl_median": 34.312852488083806,
|
| 285 |
+
"distinct_1": 0.18865485737786786,
|
| 286 |
+
"distinct_2": 0.7045688350983359,
|
| 287 |
+
"rep_4gram": 0.0005719175842843666,
|
| 288 |
+
"avg_words": 34.041,
|
| 289 |
"name": "topp_p0.95",
|
| 290 |
"strategy": "top_p",
|
| 291 |
"params": {
|
|
|
|
| 293 |
"strategy": "top_p",
|
| 294 |
"p": 0.95
|
| 295 |
},
|
| 296 |
+
"time_s": 27.591065883636475,
|
| 297 |
+
"ms_per_prompt": 27.591065883636475,
|
| 298 |
+
"gen_tokens_mean": 68.753,
|
| 299 |
+
"judge_ppl_median": 58.844425201416016,
|
| 300 |
+
"judge_ppl_mean": 4085.3288768868447
|
| 301 |
},
|
| 302 |
{
|
| 303 |
+
"precision": 0.20651589086843022,
|
| 304 |
+
"recall": 0.1484358064877369,
|
| 305 |
+
"f1": 0.15685438845860386,
|
| 306 |
+
"accuracy": 0.014285365431144705,
|
| 307 |
+
"bleu": 0.6053996783877227,
|
| 308 |
+
"self_ppl_mean": 5.729693244652217,
|
| 309 |
+
"self_ppl_median": 5.577883722137798,
|
| 310 |
+
"distinct_1": 0.09334971047552203,
|
| 311 |
+
"distinct_2": 0.4059283506092017,
|
| 312 |
+
"rep_4gram": 0.03475423802329605,
|
| 313 |
+
"avg_words": 28.495,
|
| 314 |
"name": "topp_p0.9_t0.7",
|
| 315 |
"strategy": "top_p",
|
| 316 |
"params": {
|
|
|
|
| 319 |
"p": 0.9,
|
| 320 |
"temperature": 0.7
|
| 321 |
},
|
| 322 |
+
"time_s": 27.645728826522827,
|
| 323 |
+
"ms_per_prompt": 27.645728826522827,
|
| 324 |
+
"gen_tokens_mean": 69.939,
|
| 325 |
+
"judge_ppl_median": 9.250245571136475,
|
| 326 |
+
"judge_ppl_mean": 11.254222588062287
|
| 327 |
}
|
| 328 |
],
|
| 329 |
"beam_timing": [
|
| 330 |
{
|
| 331 |
"mode": "natural",
|
| 332 |
"width": 1,
|
| 333 |
+
"mean_s_per_prompt": 0.6848450946807861,
|
| 334 |
+
"std_s": 0.03387934526472246,
|
| 335 |
+
"mean_ms_per_token": 9.78350135258266,
|
| 336 |
"mean_output_tokens": 70.0,
|
| 337 |
+
"total_s": 68.48450946807861,
|
| 338 |
"n_prompts": 100
|
| 339 |
},
|
| 340 |
{
|
| 341 |
"mode": "natural",
|
| 342 |
"width": 2,
|
| 343 |
+
"mean_s_per_prompt": 0.6798255443572998,
|
| 344 |
+
"std_s": 0.009905260321141293,
|
| 345 |
+
"mean_ms_per_token": 9.7313968216702,
|
| 346 |
"mean_output_tokens": 69.86,
|
| 347 |
+
"total_s": 67.98255443572998,
|
| 348 |
"n_prompts": 100
|
| 349 |
},
|
| 350 |
{
|
| 351 |
"mode": "natural",
|
| 352 |
"width": 4,
|
| 353 |
+
"mean_s_per_prompt": 0.6822133040428162,
|
| 354 |
+
"std_s": 0.027737611702376378,
|
| 355 |
+
"mean_ms_per_token": 9.803958435890708,
|
| 356 |
"mean_output_tokens": 69.59,
|
| 357 |
+
"total_s": 68.22133040428162,
|
| 358 |
"n_prompts": 100
|
| 359 |
},
|
| 360 |
{
|
| 361 |
"mode": "natural",
|
| 362 |
"width": 8,
|
| 363 |
+
"mean_s_per_prompt": 0.7037396359443665,
|
| 364 |
+
"std_s": 0.03137733007915173,
|
| 365 |
+
"mean_ms_per_token": 10.1683868747084,
|
| 366 |
"mean_output_tokens": 69.34,
|
| 367 |
+
"total_s": 70.37396359443665,
|
| 368 |
"n_prompts": 100
|
| 369 |
},
|
| 370 |
{
|
| 371 |
"mode": "fixed",
|
| 372 |
"width": 1,
|
| 373 |
+
"mean_s_per_prompt": 0.6784237551689148,
|
| 374 |
+
"std_s": 0.0016587773214447714,
|
| 375 |
+
"mean_ms_per_token": 9.691767930984499,
|
| 376 |
"mean_output_tokens": 70.0,
|
| 377 |
+
"total_s": 67.84237551689148,
|
| 378 |
"n_prompts": 100
|
| 379 |
},
|
| 380 |
{
|
| 381 |
"mode": "fixed",
|
| 382 |
"width": 2,
|
| 383 |
+
"mean_s_per_prompt": 0.6811458969116211,
|
| 384 |
+
"std_s": 0.001066027939126381,
|
| 385 |
+
"mean_ms_per_token": 9.730655670166016,
|
| 386 |
"mean_output_tokens": 70.0,
|
| 387 |
+
"total_s": 68.11458969116211,
|
| 388 |
"n_prompts": 100
|
| 389 |
},
|
| 390 |
{
|
| 391 |
"mode": "fixed",
|
| 392 |
"width": 4,
|
| 393 |
+
"mean_s_per_prompt": 0.6865559673309326,
|
| 394 |
+
"std_s": 0.0012468601240148754,
|
| 395 |
+
"mean_ms_per_token": 9.807942390441896,
|
| 396 |
"mean_output_tokens": 70.0,
|
| 397 |
+
"total_s": 68.65559673309326,
|
| 398 |
"n_prompts": 100
|
| 399 |
},
|
| 400 |
{
|
| 401 |
"mode": "fixed",
|
| 402 |
"width": 8,
|
| 403 |
+
"mean_s_per_prompt": 0.7092588877677918,
|
| 404 |
+
"std_s": 0.0009664558877848735,
|
| 405 |
+
"mean_ms_per_token": 10.132269825254168,
|
| 406 |
"mean_output_tokens": 70.0,
|
| 407 |
+
"total_s": 70.92588877677917,
|
| 408 |
"n_prompts": 100
|
| 409 |
}
|
| 410 |
],
|
|
|
|
| 495 |
"hf_user": null,
|
| 496 |
"repo_name": "anlp-a2-decoding",
|
| 497 |
"push_to_hub": true,
|
| 498 |
+
"private": false,
|
| 499 |
+
"wandb": true,
|
| 500 |
+
"wandb_project": "anlp-a2",
|
| 501 |
+
"wandb_entity": null
|
| 502 |
}
|
| 503 |
}
|
decoding_table.csv
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name,accuracy,precision,recall,f1,bleu,self_ppl_median,judge_ppl_median,bertscore_f1,distinct_2,rep_4gram,avg_words,ms_per_prompt
|
| 2 |
+
greedy,0.013886833130142854,0.15703556591808848,0.10770206338672424,0.11695427749203965,0.4602816499134766,1.9777636367502676,3.7137224674224854,0.8474068641662598,0.11822546571922413,0.3293539897022365,27.035,24.308775424957275
|
| 3 |
+
beam_w1,0.013858261701571426,0.15680400502615022,0.10761634910100995,0.11683061986311886,0.45979362180213906,1.9777288774584214,3.7137224674224854,0.8473963141441345,0.11821601289629231,0.3296551592928797,27.054,98.08044266700745
|
| 4 |
+
beam_w2,0.010045733414015445,0.2013900404889916,0.08663449975312773,0.11019996943421603,0.2953586002637482,1.8302027765214615,4.084466457366943,0.8535789847373962,0.13660822773823988,0.2084343790507725,18.283,96.86480498313904
|
| 5 |
+
beam_w4,0.008091172722680333,0.19775710589874798,0.07414467122910813,0.09580850458664733,0.34056160814471953,1.739891141883354,3.7111488580703735,0.8517965078353882,0.11672463933397959,0.23828927173442535,18.537,105.15537786483765
|
| 6 |
+
topk_k5,0.015531595531122681,0.20413235594968865,0.16095103861563514,0.16238850568174357,0.6557075980512005,5.7298509005910425,8.357365608215332,0.8554333448410034,0.35367849194920803,0.031188779258196065,31.556,23.9933123588562
|
| 7 |
+
topk_k20,0.013720664726026286,0.1943437061801331,0.17018026211031476,0.16424816130281425,0.4768122146961613,9.978154937877655,14.711297035217285,,0.47079078959187953,0.005152041399905391,34.396,23.697141885757446
|
| 8 |
+
topk_k50,0.011155156675690158,0.18013398164473904,0.16448516354938555,0.15464004612237248,0.22976691112866304,13.803862584945907,20.432851791381836,,0.5331651149975347,0.0014281404078550252,35.476,23.64177703857422
|
| 9 |
+
topk_k50_t0.7,0.013403332883272369,0.20203389091922755,0.15151844096638248,0.15594146830403016,0.5574700588317076,6.7217895292101915,10.626161575317383,,0.43317498581962566,0.019412488951243617,29.205,23.68122911453247
|
| 10 |
+
topp_p0.5,0.015255414154035243,0.20909230371572832,0.14641056202688646,0.15683576868798077,0.29849302912542913,5.979495040329027,9.52494764328003,,0.4221270626453542,0.027907301032833808,28.089,25.245723962783813
|
| 11 |
+
topp_p0.8,0.01169844779025957,0.1790151623639173,0.15383583830048134,0.14916733197352083,0.21170796316754,14.61157853686635,23.586853981018066,,0.5826313804375157,0.002888150162719001,32.81,25.11012601852417
|
| 12 |
+
topp_p0.95,0.00975848890740479,0.15996633836782667,0.1436485453422705,0.1358491321482202,0.15980548317421198,32.174860783175475,54.63137245178223,,0.6953437891711761,0.0004418966228079527,33.705,25.150532722473145
|
| 13 |
+
topp_p0.9_t0.7,0.013776023575061398,0.2018115838286414,0.1429945363511889,0.15115617299132603,0.557218536514725,5.569257784916102,9.09609079360962,,0.4019261517867103,0.038554351907382906,27.891,25.12675452232361
|
generations.json
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
quality_vs_diversity.png
ADDED
|