eduagarcia's picture
fix f1_score calculation bug
9662283
raw
history blame
13.2 kB
{
"config_general": {
"start_date": "2024-08-08T06-53-40.680854",
"start_time": 1723100021.5717921,
"end_time": 1723107936.3200362,
"total_evaluation_time_seconds": 7914.748244047165,
"has_chat_template": true,
"chat_type": "system_user_assistant",
"n_gpus": 1,
"accelerate_num_process": null,
"model_sha": "7e420ddd6ff48bf213dcab2a9ddb7845b80dd1aa",
"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": "Magpie-Align/Llama-3-8B-Magpie-Align-v0.3",
"job_id": 985,
"model_id": "Magpie-Align/Llama-3-8B-Magpie-Align-v0.3_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-06T17:45:04Z",
"lm_eval_model_type": "huggingface",
"eval_version": "1.1.0"
},
"results": {
"all_grouped_average": 0.6360415012626057,
"all_grouped_npm": 0.45576028533379187,
"all_grouped": {
"enem_challenge": 0.6452064380685795,
"bluex": 0.5312934631432545,
"oab_exams": 0.45148063781321185,
"assin2_rte": 0.8735121156790977,
"assin2_sts": 0.616645726427636,
"faquad_nli": 0.6134815272203353,
"hatebr_offensive": 0.8245849679145775,
"portuguese_hate_speech": 0.5756749125997527,
"tweetsentbr": 0.5924937224970063
},
"all": {
"harness|enem_challenge|enem_challenge|None|3": 0.6452064380685795,
"harness|bluex|bluex|None|3": 0.5312934631432545,
"harness|oab_exams|oab_exams|None|3": 0.45148063781321185,
"harness|assin2_rte|assin2_rte|None|15": 0.8735121156790977,
"harness|assin2_sts|assin2_sts|None|15": 0.616645726427636,
"harness|faquad_nli|faquad_nli|None|15": 0.6134815272203353,
"harness|hatebr_offensive|hatebr_offensive|None|25": 0.8245849679145775,
"harness|portuguese_hate_speech|portuguese_hate_speech|None|25": 0.5756749125997527,
"harness|tweetsentbr|tweetsentbr|None|25": 0.5924937224970063
},
"harness|enem_challenge|enem_challenge|None|3": {
"acc,all": 0.6452064380685795,
"acc,exam_id__2013": 0.6944444444444444,
"acc,exam_id__2011": 0.6324786324786325,
"acc,exam_id__2014": 0.6330275229357798,
"acc,exam_id__2016": 0.5950413223140496,
"acc,exam_id__2016_2": 0.5853658536585366,
"acc,exam_id__2023": 0.7407407407407407,
"acc,exam_id__2022": 0.6015037593984962,
"acc,exam_id__2017": 0.6293103448275862,
"acc,exam_id__2015": 0.6386554621848739,
"acc,exam_id__2010": 0.6581196581196581,
"acc,exam_id__2012": 0.646551724137931,
"acc,exam_id__2009": 0.6869565217391305,
"main_score": 0.6452064380685795
},
"harness|bluex|bluex|None|3": {
"acc,all": 0.5312934631432545,
"acc,exam_id__UNICAMP_2018": 0.48148148148148145,
"acc,exam_id__UNICAMP_2019": 0.58,
"acc,exam_id__UNICAMP_2022": 0.5897435897435898,
"acc,exam_id__UNICAMP_2021_1": 0.5434782608695652,
"acc,exam_id__UNICAMP_2020": 0.5272727272727272,
"acc,exam_id__USP_2018": 0.46296296296296297,
"acc,exam_id__UNICAMP_2023": 0.5581395348837209,
"acc,exam_id__USP_2020": 0.5535714285714286,
"acc,exam_id__UNICAMP_2024": 0.6,
"acc,exam_id__USP_2022": 0.5102040816326531,
"acc,exam_id__USP_2019": 0.45,
"acc,exam_id__USP_2021": 0.4423076923076923,
"acc,exam_id__USP_2024": 0.5853658536585366,
"acc,exam_id__USP_2023": 0.5681818181818182,
"acc,exam_id__UNICAMP_2021_2": 0.5490196078431373,
"main_score": 0.5312934631432545
},
"harness|oab_exams|oab_exams|None|3": {
"acc,all": 0.45148063781321185,
"acc,exam_id__2012-07": 0.5125,
"acc,exam_id__2011-04": 0.425,
"acc,exam_id__2012-08": 0.4125,
"acc,exam_id__2017-24": 0.325,
"acc,exam_id__2015-16": 0.4,
"acc,exam_id__2012-06a": 0.5,
"acc,exam_id__2015-18": 0.4125,
"acc,exam_id__2016-19": 0.46153846153846156,
"acc,exam_id__2011-05": 0.4125,
"acc,exam_id__2010-02": 0.5,
"acc,exam_id__2017-23": 0.425,
"acc,exam_id__2013-11": 0.4625,
"acc,exam_id__2016-20a": 0.375,
"acc,exam_id__2016-20": 0.475,
"acc,exam_id__2011-03": 0.40404040404040403,
"acc,exam_id__2015-17": 0.5769230769230769,
"acc,exam_id__2014-14": 0.5125,
"acc,exam_id__2013-10": 0.4625,
"acc,exam_id__2017-22": 0.5125,
"acc,exam_id__2014-15": 0.6153846153846154,
"acc,exam_id__2013-12": 0.5625,
"acc,exam_id__2014-13": 0.4,
"acc,exam_id__2012-09": 0.36363636363636365,
"acc,exam_id__2018-25": 0.4375,
"acc,exam_id__2012-06": 0.475,
"acc,exam_id__2016-21": 0.375,
"acc,exam_id__2010-01": 0.4,
"main_score": 0.45148063781321185
},
"harness|assin2_rte|assin2_rte|None|15": {
"f1_macro,all": 0.8735121156790977,
"acc,all": 0.860702614379085,
"main_score": 0.8735121156790977
},
"harness|assin2_sts|assin2_sts|None|15": {
"pearson,all": 0.616645726427636,
"mse,all": 0.9795420724968137,
"main_score": 0.616645726427636
},
"harness|faquad_nli|faquad_nli|None|15": {
"f1_macro,all": 0.6134815272203353,
"acc,all": 0.6369230769230769,
"main_score": 0.6134815272203353
},
"harness|hatebr_offensive|hatebr_offensive|None|25": {
"f1_macro,all": 0.8245849679145775,
"acc,all": 0.8221428571428572,
"main_score": 0.8245849679145775
},
"harness|portuguese_hate_speech|portuguese_hate_speech|None|25": {
"f1_macro,all": 0.5756749125997527,
"acc,all": 0.5757931844888367,
"main_score": 0.5756749125997527
},
"harness|tweetsentbr|tweetsentbr|None|25": {
"f1_macro,all": 0.5924937224970063,
"acc,all": 0.6830845771144278,
"main_score": 0.5924937224970063
}
},
"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.769123783032,
"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
}
}