decoding results
Browse filesFiles changed (2)
- decoding_results.jsonAdded+500
- generations.jsonAdded
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500{ "summary": { "reference_ppl_mean": 27.4270831861496, "reference_ppl_median": 24.03861141204834, "n_samples": 1000, "model": "EleutherAI/pythia-160m", "max_new_tokens": 70, "beam_w1_equals_greedy_frac": 0.998, "reference_judge_ppl_median": 16.601261138916016 }, "results": [ { "precision": 0.15703556591808848, "recall": 0.10770206338672424, "f1": 0.11695427749203965, "accuracy": 0.013886833130142854, "bleu": 0.4602816499134766, "self_ppl_mean": 2.129318780740721, "self_ppl_median": 1.9777636367502676, "distinct_1": 0.037839837248011834, "distinct_2": 0.11822546571922413, "rep_4gram": 0.3293539897022365, "avg_words": 27.035, "name": "greedy", "strategy": "greedy", "params": { "name": "greedy", "strategy": "greedy" }, "time_s": 24.308775424957275, "ms_per_prompt": 24.308775424957275, "gen_tokens_mean": 69.995, "judge_ppl_median": 3.7137224674224854, "judge_ppl_mean": 3.8401719745397567, "bertscore_p": 0.8487334251403809, "bertscore_r": 0.846333384513855, "bertscore_f1": 0.8474068641662598 }, { "precision": 0.15680400502615022, "recall": 0.10761634910100995, "f1": 0.11683061986311886, "accuracy": 0.013858261701571426, "bleu": 0.45979362180213906, "self_ppl_mean": 2.129485707215857, "self_ppl_median": 1.9777288774584214, "distinct_1": 0.03781326236416057, "distinct_2": 0.11821601289629231, "rep_4gram": 0.3296551592928797, "avg_words": 27.054, "name": "beam_w1", "strategy": "beam", "params": { "name": "beam_w1", "strategy": "beam", "width": 1 }, "time_s": 98.08044266700745, "ms_per_prompt": 98.08044266700745, "gen_tokens_mean": 69.995, "judge_ppl_median": 3.7137224674224854, "judge_ppl_mean": 3.838806267619133, "bertscore_p": 0.8487208485603333, "bertscore_r": 0.8463250994682312, "bertscore_f1": 0.8473963141441345 }, { "precision": 0.2013900404889916, "recall": 0.08663449975312773, "f1": 0.11019996943421603, "accuracy": 0.010045733414015445, "bleu": 0.2953586002637482, "self_ppl_mean": 1.8974450017258762, "self_ppl_median": 1.8302027765214615, "distinct_1": 0.04578023300333643, "distinct_2": 0.13660822773823988, "rep_4gram": 0.2084343790507725, "avg_words": 18.283, "name": "beam_w2", "strategy": "beam", "params": { "name": "beam_w2", "strategy": "beam", "width": 2 }, "time_s": 96.86480498313904, "ms_per_prompt": 96.86480498313904, "gen_tokens_mean": 69.827, "judge_ppl_median": 4.084466457366943, "judge_ppl_mean": 5.8135339479446415, "bertscore_p": 0.8610000014305115, "bertscore_r": 0.846572756767273, "bertscore_f1": 0.8535789847373962 }, { "precision": 0.19775710589874798, "recall": 0.07414467122910813, "f1": 0.09580850458664733, "accuracy": 0.008091172722680333, "bleu": 0.34056160814471953, "self_ppl_mean": 1.7568848200945872, "self_ppl_median": 1.739891141883354, "distinct_1": 0.04018989048929169, "distinct_2": 0.11672463933397959, "rep_4gram": 0.23828927173442535, "avg_words": 18.537, "name": "beam_w4", "strategy": "beam", "params": { "name": "beam_w4", "strategy": "beam", "width": 4 }, "time_s": 105.15537786483765, "ms_per_prompt": 105.15537786483765, "gen_tokens_mean": 69.264, "judge_ppl_median": 3.7111488580703735, "judge_ppl_mean": 549.2648122023344, "bertscore_p": 0.8595147728919983, "bertscore_r": 0.844566285610199, "bertscore_f1": 0.8517965078353882 }, { "precision": 0.20413235594968865, "recall": 0.16095103861563514, "f1": 0.16238850568174357, "accuracy": 0.015531595531122681, "bleu": 0.6557075980512005, "self_ppl_mean": 5.760568807491463, "self_ppl_median": 5.7298509005910425, "distinct_1": 0.07298136645962733, "distinct_2": 0.35367849194920803, "rep_4gram": 0.031188779258196065, "avg_words": 31.556, "name": "topk_k5", "strategy": "top_k", "params": { "name": "topk_k5", "strategy": "top_k", "k": 5 }, "time_s": 23.9933123588562, "ms_per_prompt": 23.9933123588562, "gen_tokens_mean": 69.674, "judge_ppl_median": 8.357365608215332, "judge_ppl_mean": 10.3706097561121, "bertscore_p": 0.8579887747764587, "bertscore_r": 0.8531241416931152, "bertscore_f1": 0.8554333448410034 }, { "precision": 0.1943437061801331, "recall": 0.17018026211031476, "f1": 0.16424816130281425, "accuracy": 0.013720664726026286, "bleu": 0.4768122146961613, "self_ppl_mean": 10.232085836050464, "self_ppl_median": 9.978154937877655, "distinct_1": 0.08890568670775671, "distinct_2": 0.47079078959187953, "rep_4gram": 0.005152041399905391, "avg_words": 34.396, "name": "topk_k20", "strategy": "top_k", "params": { "name": "topk_k20", "strategy": "top_k", "k": 20 }, "time_s": 23.697141885757446, "ms_per_prompt": 23.697141885757446, "gen_tokens_mean": 69.426, "judge_ppl_median": 14.711297035217285, "judge_ppl_mean": 18.454828331232072 }, { "precision": 0.18013398164473904, "recall": 0.16448516354938555, "f1": 0.15464004612237248, "accuracy": 0.011155156675690158, "bleu": 0.22976691112866304, "self_ppl_mean": 14.747323534754505, "self_ppl_median": 13.803862584945907, "distinct_1": 0.10471868305333183, "distinct_2": 0.5331651149975347, "rep_4gram": 0.0014281404078550252, "avg_words": 35.476, "name": "topk_k50", "strategy": "top_k", "params": { "name": "topk_k50", "strategy": "top_k", "k": 50 }, "time_s": 23.64177703857422, "ms_per_prompt": 23.64177703857422, "gen_tokens_mean": 69.404, "judge_ppl_median": 20.432851791381836, "judge_ppl_mean": 34.98311813139915 }, { "precision": 0.20203389091922755, "recall": 0.15151844096638248, "f1": 0.15594146830403016, "accuracy": 0.013403332883272369, "bleu": 0.5574700588317076, "self_ppl_mean": 7.165241852811464, "self_ppl_median": 6.7217895292101915, "distinct_1": 0.09238144153398391, "distinct_2": 0.43317498581962566, "rep_4gram": 0.019412488951243617, "avg_words": 29.205, "name": "topk_k50_t0.7", "strategy": "top_k", "params": { "name": "topk_k50_t0.7", "strategy": "top_k", "k": 50, "temperature": 0.7 }, "time_s": 23.68122911453247, "ms_per_prompt": 23.68122911453247, "gen_tokens_mean": 69.607, "judge_ppl_median": 10.626161575317383, "judge_ppl_mean": 17.331569744825362 }, { "precision": 0.20909230371572832, "recall": 0.14641056202688646, "f1": 0.15683576868798077, "accuracy": 0.015255414154035243, "bleu": 0.29849302912542913, "self_ppl_mean": 6.067967456491997, "self_ppl_median": 5.979495040329027, "distinct_1": 0.09776068923777992, "distinct_2": 0.4221270626453542, "rep_4gram": 0.027907301032833808, "avg_words": 28.089, "name": "topp_p0.5", "strategy": "top_p", "params": { "name": "topp_p0.5", "strategy": "top_p", "p": 0.5 }, "time_s": 25.245723962783813, "ms_per_prompt": 25.245723962783813, "gen_tokens_mean": 69.876, "judge_ppl_median": 9.52494764328003, "judge_ppl_mean": 12.933369012594223 }, { "precision": 0.1790151623639173, "recall": 0.15383583830048134, "f1": 0.14916733197352083, "accuracy": 0.01169844779025957, "bleu": 0.21170796316754, "self_ppl_mean": 16.263590068968764, "self_ppl_median": 14.61157853686635, "distinct_1": 0.1348369399573301, "distinct_2": 0.5826313804375157, "rep_4gram": 0.002888150162719001, "avg_words": 32.81, "name": "topp_p0.8", "strategy": "top_p", "params": { "name": "topp_p0.8", "strategy": "top_p", "p": 0.8 }, "time_s": 25.11012601852417, "ms_per_prompt": 25.11012601852417, "gen_tokens_mean": 69.23, "judge_ppl_median": 23.586853981018066, "judge_ppl_mean": 8093.695829333544 }, { "precision": 0.15996633836782667, "recall": 0.1436485453422705, "f1": 0.1358491321482202, "accuracy": 0.00975848890740479, "bleu": 0.15980548317421198, "self_ppl_mean": 38.624090383453975, "self_ppl_median": 32.174860783175475, "distinct_1": 0.1859961430054888, "distinct_2": 0.6953437891711761, "rep_4gram": 0.0004418966228079527, "avg_words": 33.705, "name": "topp_p0.95", "strategy": "top_p", "params": { "name": "topp_p0.95", "strategy": "top_p", "p": 0.95 }, "time_s": 25.150532722473145, "ms_per_prompt": 25.150532722473145, "gen_tokens_mean": 68.846, "judge_ppl_median": 54.63137245178223, "judge_ppl_mean": 3939.534708950758 }, { "precision": 0.2018115838286414, "recall": 0.1429945363511889, "f1": 0.15115617299132603, "accuracy": 0.013776023575061398, "bleu": 0.557218536514725, "self_ppl_mean": 5.709627802185269, "self_ppl_median": 5.569257784916102, "distinct_1": 0.09286149654010255, "distinct_2": 0.4019261517867103, "rep_4gram": 0.038554351907382906, "avg_words": 27.891, "name": "topp_p0.9_t0.7", "strategy": "top_p", "params": { "name": "topp_p0.9_t0.7", "strategy": "top_p", "p": 0.9, "temperature": 0.7 }, "time_s": 25.12675452232361, "ms_per_prompt": 25.12675452232361, "gen_tokens_mean": 69.744, "judge_ppl_median": 9.09609079360962, "judge_ppl_mean": 12.747726317882538 } ], "beam_timing": [ { "mode": "natural", "width": 1, "mean_s_per_prompt": 0.7000857973098755, "std_s": 0.03165861046389621, "mean_ms_per_token": 10.001225675855366, "mean_output_tokens": 70.0, "total_s": 70.00857973098755, "n_prompts": 100 }, { "mode": "natural", "width": 2, "mean_s_per_prompt": 0.7082566213607788, "std_s": 0.010652223812277732, "mean_ms_per_token": 10.138293554772547, "mean_output_tokens": 69.86, "total_s": 70.82566213607788, "n_prompts": 100 }, { "mode": "natural", "width": 4, "mean_s_per_prompt": 0.7128961229324341, "std_s": 0.02926986205734486, "mean_ms_per_token": 10.244703469472553, "mean_output_tokens": 69.59, "total_s": 71.28961229324341, "n_prompts": 100 }, { "mode": "natural", "width": 8, "mean_s_per_prompt": 0.7481088328361511, "std_s": 0.03363774855082431, "mean_ms_per_token": 10.809140646212507, "mean_output_tokens": 69.34, "total_s": 74.81088328361511, "n_prompts": 100 }, { "mode": "fixed", "width": 1, "mean_s_per_prompt": 0.693102993965149, "std_s": 0.0013031337825710797, "mean_ms_per_token": 9.90147134235927, "mean_output_tokens": 70.0, "total_s": 69.31029939651489, "n_prompts": 100 }, { "mode": "fixed", "width": 2, "mean_s_per_prompt": 0.7096165156364441, "std_s": 0.0011025559183209961, "mean_ms_per_token": 10.137378794806345, "mean_output_tokens": 70.0, "total_s": 70.96165156364441, "n_prompts": 100 }, { "mode": "fixed", "width": 4, "mean_s_per_prompt": 0.7169742965698243, "std_s": 0.0014611031573721494, "mean_ms_per_token": 10.24248995099749, "mean_output_tokens": 70.0, "total_s": 71.69742965698242, "n_prompts": 100 }, { "mode": "fixed", "width": 8, "mean_s_per_prompt": 0.754322988986969, "std_s": 0.0015383658998336079, "mean_ms_per_token": 10.776042699813841, "mean_output_tokens": 70.0, "total_s": 75.4322988986969, "n_prompts": 100 } ], "config": { "model_name": "EleutherAI/pythia-160m", "dataset": "hamishivi/ROCStories", "split": "test", "n_samples": 1000, "seed": 0, "max_new_tokens": 70, "batch_size": 32, "beam_batch_size": 8, "dtype": "float32", "length_penalty": 1.0, "configs": [ { "name": "greedy", "strategy": "greedy" }, { "name": "beam_w1", "strategy": "beam", "width": 1 }, { "name": "beam_w2", "strategy": "beam", "width": 2 }, { "name": "beam_w4", "strategy": "beam", "width": 4 }, { "name": "topk_k5", "strategy": "top_k", "k": 5 }, { "name": "topk_k20", "strategy": "top_k", "k": 20 }, { "name": "topk_k50", "strategy": "top_k", "k": 50 }, { "name": "topk_k50_t0.7", "strategy": "top_k", "k": 50, "temperature": 0.7 }, { "name": "topp_p0.5", "strategy": "top_p", "p": 0.5 }, { "name": "topp_p0.8", "strategy": "top_p", "p": 0.8 }, { "name": "topp_p0.95", "strategy": "top_p", "p": 0.95 }, { "name": "topp_p0.9_t0.7", "strategy": "top_p", "p": 0.9, "temperature": 0.7 } ], "timing_widths": [ 1, 2, 4, 8 ], "timing_samples": 100, "judge_model": "EleutherAI/pythia-410m", "use_bertscore": true, "out_dir": "/home2/ojas.k/a2/outputs/decoding", "hf_user": null, "repo_name": "anlp-a2-decoding", "push_to_hub": true, "private": false }}decoding_results.jsonAdded+500
generations.jsonAdded