eduagarcia's picture
fix f1_score calculation bug
9662283
raw
history blame
13.2 kB
{
"config_general": {
"start_date": "2024-08-13T22-35-47.080828",
"start_time": 1723588547.7193582,
"end_time": 1723592323.6173236,
"total_evaluation_time_seconds": 3775.8979654312134,
"has_chat_template": true,
"chat_type": "system_user_assistant",
"n_gpus": 1,
"accelerate_num_process": null,
"model_sha": "55a6fc03e04f1a68a5e2df16f3d0485d9ea357c8",
"model_dtype": "bfloat16",
"model_memory_footprint": 16060530944,
"model_num_parameters": 8030261248,
"model_is_loaded_in_4bit": null,
"model_is_loaded_in_8bit": null,
"model_is_quantized": null,
"model_device": "cuda:0",
"batch_size": 8,
"max_length": 2560,
"max_ctx_length": 2528,
"max_gen_toks": 32,
"model_name": "MaziyarPanahi/Llama-3-8B-Instruct-v0.10",
"job_id": 1022,
"model_id": "MaziyarPanahi/Llama-3-8B-Instruct-v0.10_eval_request_False_bfloat16_Original",
"model_base_model": "",
"model_weight_type": "Original",
"model_revision": "main",
"model_private": false,
"model_type": "💬 : chat (RLHF, DPO, IFT, ...)",
"model_architectures": "LlamaForCausalLM",
"submitted_time": "2024-08-13T05:22:18Z",
"lm_eval_model_type": "huggingface",
"eval_version": "1.1.0"
},
"results": {
"all_grouped_average": 0.7062617633330035,
"all_grouped_npm": 0.5627431164012927,
"all_grouped": {
"enem_challenge": 0.7137858642407278,
"bluex": 0.5841446453407511,
"oab_exams": 0.5029612756264237,
"assin2_rte": 0.9162158773450131,
"assin2_sts": 0.7289740656496875,
"faquad_nli": 0.7511456136837518,
"hatebr_offensive": 0.8618806417693999,
"portuguese_hate_speech": 0.6285785998647415,
"tweetsentbr": 0.6686692864765366
},
"all": {
"harness|enem_challenge|enem_challenge|None|3": 0.7137858642407278,
"harness|bluex|bluex|None|3": 0.5841446453407511,
"harness|oab_exams|oab_exams|None|3": 0.5029612756264237,
"harness|assin2_rte|assin2_rte|None|15": 0.9162158773450131,
"harness|assin2_sts|assin2_sts|None|15": 0.7289740656496875,
"harness|faquad_nli|faquad_nli|None|15": 0.7511456136837518,
"harness|hatebr_offensive|hatebr_offensive|None|25": 0.8618806417693999,
"harness|portuguese_hate_speech|portuguese_hate_speech|None|25": 0.6285785998647415,
"harness|tweetsentbr|tweetsentbr|None|25": 0.6686692864765366
},
"harness|enem_challenge|enem_challenge|None|3": {
"acc,all": 0.7137858642407278,
"acc,exam_id__2011": 0.7521367521367521,
"acc,exam_id__2016": 0.6942148760330579,
"acc,exam_id__2016_2": 0.6585365853658537,
"acc,exam_id__2023": 0.7703703703703704,
"acc,exam_id__2010": 0.717948717948718,
"acc,exam_id__2012": 0.7327586206896551,
"acc,exam_id__2022": 0.6616541353383458,
"acc,exam_id__2014": 0.6972477064220184,
"acc,exam_id__2017": 0.6982758620689655,
"acc,exam_id__2009": 0.7478260869565218,
"acc,exam_id__2015": 0.7310924369747899,
"acc,exam_id__2013": 0.7037037037037037,
"main_score": 0.7137858642407278
},
"harness|bluex|bluex|None|3": {
"acc,all": 0.5841446453407511,
"acc,exam_id__UNICAMP_2024": 0.6888888888888889,
"acc,exam_id__USP_2022": 0.5510204081632653,
"acc,exam_id__USP_2021": 0.5769230769230769,
"acc,exam_id__USP_2018": 0.42592592592592593,
"acc,exam_id__USP_2024": 0.7073170731707317,
"acc,exam_id__UNICAMP_2018": 0.42592592592592593,
"acc,exam_id__UNICAMP_2021_1": 0.6086956521739131,
"acc,exam_id__UNICAMP_2022": 0.6923076923076923,
"acc,exam_id__UNICAMP_2021_2": 0.5882352941176471,
"acc,exam_id__UNICAMP_2023": 0.627906976744186,
"acc,exam_id__USP_2023": 0.6818181818181818,
"acc,exam_id__USP_2019": 0.55,
"acc,exam_id__UNICAMP_2019": 0.62,
"acc,exam_id__USP_2020": 0.5535714285714286,
"acc,exam_id__UNICAMP_2020": 0.5636363636363636,
"main_score": 0.5841446453407511
},
"harness|oab_exams|oab_exams|None|3": {
"acc,all": 0.5029612756264237,
"acc,exam_id__2011-03": 0.45454545454545453,
"acc,exam_id__2016-19": 0.5128205128205128,
"acc,exam_id__2012-06a": 0.5375,
"acc,exam_id__2014-15": 0.5769230769230769,
"acc,exam_id__2017-22": 0.5625,
"acc,exam_id__2018-25": 0.5125,
"acc,exam_id__2016-20": 0.55,
"acc,exam_id__2012-06": 0.5375,
"acc,exam_id__2017-24": 0.4875,
"acc,exam_id__2015-18": 0.55,
"acc,exam_id__2016-20a": 0.4375,
"acc,exam_id__2012-07": 0.4875,
"acc,exam_id__2016-21": 0.3875,
"acc,exam_id__2010-01": 0.4,
"acc,exam_id__2011-05": 0.4375,
"acc,exam_id__2013-11": 0.5,
"acc,exam_id__2013-12": 0.5625,
"acc,exam_id__2014-14": 0.625,
"acc,exam_id__2012-09": 0.5064935064935064,
"acc,exam_id__2014-13": 0.425,
"acc,exam_id__2013-10": 0.45,
"acc,exam_id__2011-04": 0.475,
"acc,exam_id__2015-16": 0.4625,
"acc,exam_id__2017-23": 0.5,
"acc,exam_id__2010-02": 0.54,
"acc,exam_id__2012-08": 0.5,
"acc,exam_id__2015-17": 0.6153846153846154,
"main_score": 0.5029612756264237
},
"harness|assin2_rte|assin2_rte|None|15": {
"f1_macro,all": 0.9162158773450131,
"acc,all": 0.9162581699346405,
"main_score": 0.9162158773450131
},
"harness|assin2_sts|assin2_sts|None|15": {
"pearson,all": 0.7289740656496875,
"mse,all": 0.8603921568627452,
"main_score": 0.7289740656496875
},
"harness|faquad_nli|faquad_nli|None|15": {
"f1_macro,all": 0.7511456136837518,
"acc,all": 0.8,
"main_score": 0.7511456136837518
},
"harness|hatebr_offensive|hatebr_offensive|None|25": {
"f1_macro,all": 0.8618806417693999,
"acc,all": 0.8621428571428571,
"main_score": 0.8618806417693999
},
"harness|portuguese_hate_speech|portuguese_hate_speech|None|25": {
"f1_macro,all": 0.6285785998647415,
"acc,all": 0.6321974148061105,
"main_score": 0.6285785998647415
},
"harness|tweetsentbr|tweetsentbr|None|25": {
"f1_macro,all": 0.6686692864765366,
"acc,all": 0.7189054726368159,
"main_score": 0.6686692864765366
}
},
"config_tasks": {
"harness|enem_challenge|enem_challenge": "LM Harness task",
"harness|bluex|bluex": "LM Harness task",
"harness|oab_exams|oab_exams": "LM Harness task",
"harness|assin2_rte|assin2_rte": "LM Harness task",
"harness|assin2_sts|assin2_sts": "LM Harness task",
"harness|faquad_nli|faquad_nli": "LM Harness task",
"harness|hatebr_offensive|hatebr_offensive": "LM Harness task",
"harness|portuguese_hate_speech|portuguese_hate_speech": "LM Harness task",
"harness|tweetsentbr|tweetsentbr": "LM Harness task"
},
"versions": {
"all": 0,
"harness|enem_challenge|enem_challenge": 1.1,
"harness|bluex|bluex": 1.1,
"harness|oab_exams|oab_exams": 1.5,
"harness|assin2_rte|assin2_rte": 1.1,
"harness|assin2_sts|assin2_sts": 1.1,
"harness|faquad_nli|faquad_nli": 1.1,
"harness|hatebr_offensive|hatebr_offensive": 1.0,
"harness|portuguese_hate_speech|portuguese_hate_speech": 1.0,
"harness|tweetsentbr|tweetsentbr": 1.0
},
"summary_tasks": {
"harness|enem_challenge|enem_challenge|None|3": {
"sample_size": 1429,
"truncated": 0,
"non_truncated": 1429,
"padded": 0,
"non_padded": 1429,
"fewshots_truncated": 0,
"mean_seq_length": 1412.3547935619315,
"min_seq_length": 1187,
"max_seq_length": 2340,
"max_ctx_length": 2528,
"max_gen_toks": 32,
"mean_original_fewshots_size": 3.0,
"mean_effective_fewshot_size": 3.0
},
"harness|bluex|bluex|None|3": {
"sample_size": 719,
"truncated": 0,
"non_truncated": 719,
"padded": 0,
"non_padded": 719,
"fewshots_truncated": 0,
"mean_seq_length": 1484.7719054242002,
"min_seq_length": 1165,
"max_seq_length": 2134,
"max_ctx_length": 2528,
"max_gen_toks": 32,
"mean_original_fewshots_size": 3.0,
"mean_effective_fewshot_size": 3.0
},
"harness|oab_exams|oab_exams|None|3": {
"sample_size": 2195,
"truncated": 0,
"non_truncated": 2195,
"padded": 0,
"non_padded": 2195,
"fewshots_truncated": 0,
"mean_seq_length": 1220.3772209567198,
"min_seq_length": 988,
"max_seq_length": 1654,
"max_ctx_length": 2528,
"max_gen_toks": 32,
"mean_original_fewshots_size": 3.0,
"mean_effective_fewshot_size": 3.0
},
"harness|assin2_rte|assin2_rte|None|15": {
"sample_size": 2448,
"truncated": 0,
"non_truncated": 2448,
"padded": 0,
"non_padded": 2448,
"fewshots_truncated": 0,
"mean_seq_length": 1318.5322712418301,
"min_seq_length": 1299,
"max_seq_length": 1382,
"max_ctx_length": 2528,
"max_gen_toks": 32,
"mean_original_fewshots_size": 15.0,
"mean_effective_fewshot_size": 15.0
},
"harness|assin2_sts|assin2_sts|None|15": {
"sample_size": 2448,
"truncated": 0,
"non_truncated": 2448,
"padded": 0,
"non_padded": 2448,
"fewshots_truncated": 0,
"mean_seq_length": 1509.5322712418301,
"min_seq_length": 1490,
"max_seq_length": 1573,
"max_ctx_length": 2528,
"max_gen_toks": 32,
"mean_original_fewshots_size": 15.0,
"mean_effective_fewshot_size": 15.0
},
"harness|faquad_nli|faquad_nli|None|15": {
"sample_size": 650,
"truncated": 0,
"non_truncated": 650,
"padded": 0,
"non_padded": 650,
"fewshots_truncated": 0,
"mean_seq_length": 1447.8215384615385,
"min_seq_length": 1402,
"max_seq_length": 1544,
"max_ctx_length": 2528,
"max_gen_toks": 32,
"mean_original_fewshots_size": 15.0,
"mean_effective_fewshot_size": 15.0
},
"harness|hatebr_offensive|hatebr_offensive|None|25": {
"sample_size": 1400,
"truncated": 0,
"non_truncated": 1400,
"padded": 0,
"non_padded": 1400,
"fewshots_truncated": 0,
"mean_seq_length": 1279.3878571428572,
"min_seq_length": 1259,
"max_seq_length": 1498,
"max_ctx_length": 2528,
"max_gen_toks": 32,
"mean_original_fewshots_size": 25.0,
"mean_effective_fewshot_size": 25.0
},
"harness|portuguese_hate_speech|portuguese_hate_speech|None|25": {
"sample_size": 851,
"truncated": 0,
"non_truncated": 851,
"padded": 0,
"non_padded": 851,
"fewshots_truncated": 0,
"mean_seq_length": 1676.4195064629848,
"min_seq_length": 1646,
"max_seq_length": 1708,
"max_ctx_length": 2528,
"max_gen_toks": 32,
"mean_original_fewshots_size": 25.0,
"mean_effective_fewshot_size": 25.0
},
"harness|tweetsentbr|tweetsentbr|None|25": {
"sample_size": 2010,
"truncated": 0,
"non_truncated": 2010,
"padded": 0,
"non_padded": 2010,
"fewshots_truncated": 0,
"mean_seq_length": 1537.1537313432837,
"min_seq_length": 1520,
"max_seq_length": 1585,
"max_ctx_length": 2528,
"max_gen_toks": 32,
"mean_original_fewshots_size": 25.0,
"mean_effective_fewshot_size": 25.0
}
},
"summary_general": {
"truncated": 0,
"non_truncated": 14150,
"padded": 0,
"non_padded": 14150,
"fewshots_truncated": 0
}
}