eduagarcia's picture
fix f1_score calculation bug
9662283
{
"config_general": {
"start_date": "2024-05-26T08-26-53.282710",
"start_time": 1716712014.122993,
"end_time": 1716715517.7414908,
"total_evaluation_time_seconds": 3503.6184978485107,
"has_chat_template": true,
"chat_type": "user_assistant",
"n_gpus": 1,
"accelerate_num_process": null,
"model_sha": "39bf6ae128500f10d432414c72f50223467b24cc",
"model_dtype": "bfloat16",
"model_memory_footprint": 15032926208,
"model_num_parameters": 7248023552,
"model_is_loaded_in_4bit": null,
"model_is_loaded_in_8bit": null,
"model_is_quantized": null,
"model_device": "cuda:0",
"batch_size": 32,
"max_length": 2560,
"max_ctx_length": 2528,
"max_gen_toks": 32,
"model_name": "MaziyarPanahi/Mistral-7B-Instruct-v0.3",
"job_id": 745,
"model_id": "MaziyarPanahi/Mistral-7B-Instruct-v0.3_eval_request_False_bfloat16_Original",
"model_base_model": "",
"model_weight_type": "Original",
"model_revision": "main",
"model_private": false,
"model_type": "🔶 : fine-tuned/fp on domain-specific datasets",
"model_architectures": "MistralForCausalLM",
"submitted_time": "2024-05-26T04:34:23Z",
"lm_eval_model_type": "huggingface",
"eval_version": "1.1.0"
},
"results": {
"all_grouped_average": 0.6805561192790262,
"all_grouped_npm": 0.5233703600849337,
"all_grouped": {
"enem_challenge": 0.6242127361791463,
"bluex": 0.5312934631432545,
"oab_exams": 0.4359908883826879,
"assin2_rte": 0.9027027027027027,
"assin2_sts": 0.7942968956652824,
"faquad_nli": 0.6866859299725274,
"hatebr_offensive": 0.8343452944711321,
"portuguese_hate_speech": 0.6824631701748856,
"tweetsentbr": 0.6330139928196159
},
"all": {
"harness|enem_challenge|enem_challenge|None|3": 0.6242127361791463,
"harness|bluex|bluex|None|3": 0.5312934631432545,
"harness|oab_exams|oab_exams|None|3": 0.4359908883826879,
"harness|assin2_rte|assin2_rte|None|15": 0.9027027027027027,
"harness|assin2_sts|assin2_sts|None|15": 0.7942968956652824,
"harness|faquad_nli|faquad_nli|None|15": 0.6866859299725274,
"harness|hatebr_offensive|hatebr_offensive|None|25": 0.8343452944711321,
"harness|portuguese_hate_speech|portuguese_hate_speech|None|25": 0.6824631701748856,
"harness|tweetsentbr|tweetsentbr|None|25": 0.6330139928196159
},
"harness|enem_challenge|enem_challenge|None|3": {
"acc,all": 0.6242127361791463,
"acc,exam_id__2015": 0.5546218487394958,
"acc,exam_id__2011": 0.7094017094017094,
"acc,exam_id__2012": 0.6293103448275862,
"acc,exam_id__2010": 0.5982905982905983,
"acc,exam_id__2016": 0.6694214876033058,
"acc,exam_id__2016_2": 0.6016260162601627,
"acc,exam_id__2017": 0.5258620689655172,
"acc,exam_id__2022": 0.6466165413533834,
"acc,exam_id__2023": 0.6444444444444445,
"acc,exam_id__2009": 0.591304347826087,
"acc,exam_id__2013": 0.6759259259259259,
"acc,exam_id__2014": 0.6422018348623854,
"main_score": 0.6242127361791463
},
"harness|bluex|bluex|None|3": {
"acc,all": 0.5312934631432545,
"acc,exam_id__USP_2023": 0.6363636363636364,
"acc,exam_id__USP_2022": 0.42857142857142855,
"acc,exam_id__UNICAMP_2019": 0.58,
"acc,exam_id__UNICAMP_2021_2": 0.5490196078431373,
"acc,exam_id__UNICAMP_2018": 0.4074074074074074,
"acc,exam_id__UNICAMP_2021_1": 0.5,
"acc,exam_id__USP_2019": 0.4,
"acc,exam_id__USP_2024": 0.7317073170731707,
"acc,exam_id__UNICAMP_2020": 0.5272727272727272,
"acc,exam_id__USP_2020": 0.5,
"acc,exam_id__UNICAMP_2022": 0.6410256410256411,
"acc,exam_id__UNICAMP_2023": 0.627906976744186,
"acc,exam_id__USP_2021": 0.5192307692307693,
"acc,exam_id__USP_2018": 0.4444444444444444,
"acc,exam_id__UNICAMP_2024": 0.5555555555555556,
"main_score": 0.5312934631432545
},
"harness|oab_exams|oab_exams|None|3": {
"acc,all": 0.4359908883826879,
"acc,exam_id__2014-14": 0.525,
"acc,exam_id__2012-07": 0.4,
"acc,exam_id__2012-06": 0.4,
"acc,exam_id__2016-21": 0.35,
"acc,exam_id__2011-04": 0.35,
"acc,exam_id__2013-10": 0.375,
"acc,exam_id__2015-16": 0.4375,
"acc,exam_id__2014-13": 0.425,
"acc,exam_id__2011-03": 0.3333333333333333,
"acc,exam_id__2016-20a": 0.375,
"acc,exam_id__2017-23": 0.425,
"acc,exam_id__2012-06a": 0.4875,
"acc,exam_id__2012-09": 0.4155844155844156,
"acc,exam_id__2012-08": 0.45,
"acc,exam_id__2015-17": 0.5128205128205128,
"acc,exam_id__2010-01": 0.3411764705882353,
"acc,exam_id__2016-20": 0.45,
"acc,exam_id__2017-24": 0.3875,
"acc,exam_id__2018-25": 0.425,
"acc,exam_id__2010-02": 0.43,
"acc,exam_id__2015-18": 0.425,
"acc,exam_id__2017-22": 0.575,
"acc,exam_id__2011-05": 0.4625,
"acc,exam_id__2016-19": 0.5,
"acc,exam_id__2013-12": 0.55,
"acc,exam_id__2013-11": 0.45,
"acc,exam_id__2014-15": 0.5512820512820513,
"main_score": 0.4359908883826879
},
"harness|assin2_rte|assin2_rte|None|15": {
"f1_macro,all": 0.9027027027027027,
"acc,all": 0.9027777777777778,
"main_score": 0.9027027027027027
},
"harness|assin2_sts|assin2_sts|None|15": {
"pearson,all": 0.7942968956652824,
"mse,all": 0.4601633986928105,
"main_score": 0.7942968956652824
},
"harness|faquad_nli|faquad_nli|None|15": {
"f1_macro,all": 0.6866859299725274,
"acc,all": 0.7184615384615385,
"main_score": 0.6866859299725274
},
"harness|hatebr_offensive|hatebr_offensive|None|25": {
"f1_macro,all": 0.8343452944711321,
"acc,all": 0.8364285714285714,
"main_score": 0.8343452944711321
},
"harness|portuguese_hate_speech|portuguese_hate_speech|None|25": {
"f1_macro,all": 0.6824631701748856,
"acc,all": 0.7121034077555817,
"main_score": 0.6824631701748856
},
"harness|tweetsentbr|tweetsentbr|None|25": {
"f1_macro,all": 0.6330139928196159,
"acc,all": 0.6860696517412935,
"main_score": 0.6330139928196159
}
},
"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": 1,
"non_truncated": 1428,
"padded": 0,
"non_padded": 1429,
"fewshots_truncated": 1,
"mean_seq_length": 1633.039188243527,
"min_seq_length": 1367,
"max_seq_length": 2631,
"max_ctx_length": 2528,
"max_gen_toks": 32,
"mean_original_fewshots_size": 3.0,
"mean_effective_fewshot_size": 2.9993002099370187
},
"harness|bluex|bluex|None|3": {
"sample_size": 719,
"truncated": 1,
"non_truncated": 718,
"padded": 0,
"non_padded": 719,
"fewshots_truncated": 1,
"mean_seq_length": 1732.9262865090404,
"min_seq_length": 1356,
"max_seq_length": 2533,
"max_ctx_length": 2528,
"max_gen_toks": 32,
"mean_original_fewshots_size": 3.0,
"mean_effective_fewshot_size": 2.998609179415855
},
"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": 1378.764464692483,
"min_seq_length": 1112,
"max_seq_length": 1881,
"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": 1403.7455065359477,
"min_seq_length": 1380,
"max_seq_length": 1470,
"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": 1642.7455065359477,
"min_seq_length": 1619,
"max_seq_length": 1709,
"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": 1643.9876923076922,
"min_seq_length": 1588,
"max_seq_length": 1764,
"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": 1384.3878571428572,
"min_seq_length": 1361,
"max_seq_length": 1635,
"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": 1885.3360752056403,
"min_seq_length": 1850,
"max_seq_length": 1924,
"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": 1631.2492537313433,
"min_seq_length": 1610,
"max_seq_length": 1726,
"max_ctx_length": 2528,
"max_gen_toks": 32,
"mean_original_fewshots_size": 25.0,
"mean_effective_fewshot_size": 25.0
}
},
"summary_general": {
"truncated": 2,
"non_truncated": 14148,
"padded": 0,
"non_padded": 14150,
"fewshots_truncated": 2
}
}