YanAdjeNole commited on
Commit
47a8d01
·
verified ·
1 Parent(s): 4b295a9

Adding aggregated results for YanAdjeNole/sdoh-llama-3.3-70b

Browse files
YanAdjeNole/sdoh-llama-3.3-70b/results_2025-11-14T08-22-34.185980.json ADDED
@@ -0,0 +1,131 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "results": {
3
+ "EppcExtraction": {
4
+ "alias": "EppcExtraction",
5
+ "evaluate_eppc,none": {
6
+ "code": {
7
+ "P": 0.6642,
8
+ "R": 0.6303,
9
+ "f1": 0.6468
10
+ },
11
+ "sub-code": {
12
+ "P": 0.4343,
13
+ "R": 0.416,
14
+ "f1": 0.425
15
+ },
16
+ "span": {
17
+ "P": 0.6909,
18
+ "R": 0.7104,
19
+ "f1": 0.7005
20
+ }
21
+ },
22
+ "evaluate_eppc_stderr,none": "N/A"
23
+ }
24
+ },
25
+ "group_subtasks": {
26
+ "EppcExtraction": []
27
+ },
28
+ "configs": {
29
+ "EppcExtraction": {
30
+ "task": "EppcExtraction",
31
+ "tag": "Eppc",
32
+ "dataset_path": "YanAdjeNole/EPPC_Miner_Recognition_new_test",
33
+ "dataset_name": "default",
34
+ "test_split": "test",
35
+ "fewshot_split": "test",
36
+ "doc_to_text": "{{query}}",
37
+ "doc_to_target": "{{answer}}",
38
+ "description": "",
39
+ "target_delimiter": " ",
40
+ "fewshot_delimiter": "\n\n",
41
+ "num_fewshot": 2,
42
+ "metric_list": [
43
+ {
44
+ "metric": "def evaluate_eppc(items):\n \"\"\" pass the parameters\"\"\"\n \n return items\n",
45
+ "aggregation": "def evaluate_eppc_agg(items):\n true_answer = [item[0] for item in items]\n pred_answer = [item[1] for item in items]\n \n\n ## code\n true_codes = []\n pred_codes = []\n\n ## sub-code\n true_sub_codes = []\n pred_sub_codes = []\n\n ## span\n true_spans = []\n pred_spans = []\n # for t_answer, p_answer in zip(true_answer, pred_answer):\n # # t_answer = ast.literal_eval(t_answer)\n # t_answer = safe_json_loads(t_answer)\n \n # if not is_valid_format(p_answer):\n # p_answer = fix_structure(p_answer)\n # p_answer = safe_json_loads(p_answer)\n \n for t_answer, p_answer in zip(true_answer, pred_answer):\n t_answer = safe_json_loads(t_answer)\n p_answer = safe_json_loads(p_answer)\n\n \n code = [anno.get(\"Code\") for anno in t_answer.get(\"results\")]\n pred_code = [pred.get(\"Code\") for pred in p_answer.get(\"results\")]\n true_codes.append(code)\n pred_codes.append(pred_code)\n\n sub_code = [anno.get(\"Sub-code\") for anno in t_answer.get(\"results\")]\n pred_sub_code = [pred.get(\"Sub-code\") for pred in p_answer.get(\"results\")]\n true_sub_codes.append(sub_code)\n pred_sub_codes.append(pred_sub_code)\n\n span = [anno.get(\"Span\") for anno in t_answer.get(\"results\")]\n extracted_span = [pred.get(\"Span\") for pred in p_answer.get(\"results\")]\n true_spans.append(span)\n pred_spans.append(extracted_span)\n\n \n precision_code, recall_code, f1_code = calculate_code(true_codes, pred_codes)\n precision_subcode, recall_subcode, f1_subcode = calculate_subcode(true_sub_codes, pred_sub_codes)\n precision_span, recall_span, f1_span = relaxed_match_evaluation_with_full_containment(true_spans, pred_spans, jaccard_threshold=0.6)\n \n return {\"code\": {\"P\": round(precision_code,4), \"R\": round(recall_code,4), \"f1\": round(f1_code,4)},\n \"sub-code\": {\"P\": round(precision_subcode,4), \"R\": round(recall_subcode,4), \"f1\": round(f1_subcode,4)},\n \"span\": {\"P\": round(precision_span,4), \"R\": round(recall_span,4), \"f1\": round(f1_span,4)}}\n",
46
+ "higher_is_better": true
47
+ }
48
+ ],
49
+ "output_type": "generate_until",
50
+ "generation_kwargs": {
51
+ "until": [
52
+ "JSON_END"
53
+ ],
54
+ "do_sample": false,
55
+ "temperature": 0.0,
56
+ "max_gen_toks": 1024
57
+ },
58
+ "repeats": 1,
59
+ "should_decontaminate": true,
60
+ "doc_to_decontamination_query": "{{query}}",
61
+ "metadata": {
62
+ "version": "1.0"
63
+ }
64
+ }
65
+ },
66
+ "versions": {
67
+ "EppcExtraction": "1.0"
68
+ },
69
+ "n-shot": {
70
+ "EppcExtraction": 2
71
+ },
72
+ "higher_is_better": {
73
+ "EppcExtraction": {
74
+ "evaluate_eppc": true
75
+ }
76
+ },
77
+ "n-samples": {
78
+ "EppcExtraction": {
79
+ "original": 1933,
80
+ "effective": 1933
81
+ }
82
+ },
83
+ "config": {
84
+ "model": "vllm",
85
+ "model_args": "pretrained=YanAdjeNole/sdoh-llama-3.3-70b,tensor_parallel_size=2,gpu_memory_utilization=0.90,max_model_len=8192",
86
+ "batch_size": "auto",
87
+ "batch_sizes": [],
88
+ "device": null,
89
+ "use_cache": null,
90
+ "limit": null,
91
+ "bootstrap_iters": 100000,
92
+ "gen_kwargs": null,
93
+ "random_seed": 0,
94
+ "numpy_seed": 1234,
95
+ "torch_seed": 1234,
96
+ "fewshot_seed": 1234
97
+ },
98
+ "git_hash": "29ffc1e",
99
+ "date": 1763124289.9147031,
100
+ "pretty_env_info": "PyTorch version: 2.5.1+cu124\nIs debug build: False\nCUDA used to build PyTorch: 12.4\nROCM used to build PyTorch: N/A\n\nOS: Red Hat Enterprise Linux release 8.10 (Ootpa) (x86_64)\nGCC version: (GCC) 8.5.0 20210514 (Red Hat 8.5.0-26)\nClang version: Could not collect\nCMake version: Could not collect\nLibc version: glibc-2.28\n\nPython version: 3.10.19 | packaged by conda-forge | (main, Oct 22 2025, 22:29:10) [GCC 14.3.0] (64-bit runtime)\nPython platform: Linux-4.18.0-553.52.1.el8_10.x86_64-x86_64-with-glibc2.28\nIs CUDA available: True\nCUDA runtime version: Could not collect\nCUDA_MODULE_LOADING set to: LAZY\nGPU models and configuration: \nGPU 0: NVIDIA H200\nGPU 1: NVIDIA H200\n\nNvidia driver version: 570.133.20\ncuDNN version: Could not collect\nHIP runtime version: N/A\nMIOpen runtime version: N/A\nIs XNNPACK available: True\n\nCPU:\nArchitecture: x86_64\nCPU op-mode(s): 32-bit, 64-bit\nByte Order: Little Endian\nCPU(s): 48\nOn-line CPU(s) list: 0-47\nThread(s) per core: 1\nCore(s) per socket: 24\nSocket(s): 2\nNUMA node(s): 2\nVendor ID: GenuineIntel\nCPU family: 6\nModel: 207\nModel name: INTEL(R) XEON(R) GOLD 6542Y\nStepping: 2\nCPU MHz: 4100.000\nCPU max MHz: 4100.0000\nCPU min MHz: 800.0000\nBogoMIPS: 5800.00\nL1d cache: 48K\nL1i cache: 32K\nL2 cache: 2048K\nL3 cache: 61440K\nNUMA node0 CPU(s): 0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46\nNUMA node1 CPU(s): 1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47\nFlags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cat_l2 cdp_l3 invpcid_single cdp_l2 ssbd mba ibrs ibpb stibp ibrs_enhanced fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb intel_pt avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local split_lock_detect avx_vnni avx512_bf16 wbnoinvd dtherm ida arat pln pts hfi avx512vbmi umip pku ospke waitpkg avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg tme avx512_vpopcntdq la57 rdpid bus_lock_detect cldemote movdiri movdir64b enqcmd fsrm md_clear serialize tsxldtrk pconfig arch_lbr amx_bf16 avx512_fp16 amx_tile amx_int8 flush_l1d arch_capabilities\n\nVersions of relevant libraries:\n[pip3] numpy==1.26.4\n[pip3] torch==2.5.1\n[pip3] torchvision==0.20.1\n[pip3] triton==3.1.0\n[conda] numpy 1.26.4 pypi_0 pypi\n[conda] torch 2.5.1 pypi_0 pypi\n[conda] torchvision 0.20.1 pypi_0 pypi\n[conda] triton 3.1.0 pypi_0 pypi",
101
+ "transformers_version": "4.51.3",
102
+ "upper_git_hash": null,
103
+ "tokenizer_pad_token": [
104
+ "<|finetune_right_pad_id|>",
105
+ "128004"
106
+ ],
107
+ "tokenizer_eos_token": [
108
+ "<|eot_id|>",
109
+ "128009"
110
+ ],
111
+ "tokenizer_bos_token": [
112
+ "<|begin_of_text|>",
113
+ "128000"
114
+ ],
115
+ "eot_token_id": 128009,
116
+ "max_length": 8192,
117
+ "task_hashes": {
118
+ "EppcExtraction": "90c3f53ff63200f69865aa007db60d0f6de00c00e7be9245b5e14a00b5b4a671"
119
+ },
120
+ "model_source": "vllm",
121
+ "model_name": "YanAdjeNole/sdoh-llama-3.3-70b",
122
+ "model_name_sanitized": "YanAdjeNole__sdoh-llama-3.3-70b",
123
+ "system_instruction": null,
124
+ "system_instruction_sha": null,
125
+ "fewshot_as_multiturn": false,
126
+ "chat_template": "{{- bos_token }}\n{%- if custom_tools is defined %}\n {%- set tools = custom_tools %}\n{%- endif %}\n{%- if not tools_in_user_message is defined %}\n {%- set tools_in_user_message = true %}\n{%- endif %}\n{%- if not date_string is defined %}\n {%- set date_string = \"26 Jul 2024\" %}\n{%- endif %}\n{%- if not tools is defined %}\n {%- set tools = none %}\n{%- endif %}\n\n{#- This block extracts the system message, so we can slot it into the right place. #}\n{%- if messages[0]['role'] == 'system' %}\n {%- set system_message = messages[0]['content']|trim %}\n {%- set messages = messages[1:] %}\n{%- else %}\n {%- set system_message = \"\" %}\n{%- endif %}\n\n{#- System message + builtin tools #}\n{{- \"<|start_header_id|>system<|end_header_id|>\\n\\n\" }}\n{%- if builtin_tools is defined or tools is not none %}\n {{- \"Environment: ipython\\n\" }}\n{%- endif %}\n{%- if builtin_tools is defined %}\n {{- \"Tools: \" + builtin_tools | reject('equalto', 'code_interpreter') | join(\", \") + \"\\n\\n\"}}\n{%- endif %}\n{{- \"Cutting Knowledge Date: December 2023\\n\" }}\n{{- \"Today Date: \" + date_string + \"\\n\\n\" }}\n{%- if tools is not none and not tools_in_user_message %}\n {{- \"You have access to the following functions. To call a function, please respond with JSON for a function call.\" }}\n {{- 'Respond in the format {\"name\": function name, \"parameters\": dictionary of argument name and its value}.' }}\n {{- \"Do not use variables.\\n\\n\" }}\n {%- for t in tools %}\n {{- t | tojson(indent=4) }}\n {{- \"\\n\\n\" }}\n {%- endfor %}\n{%- endif %}\n{{- system_message }}\n{{- \"<|eot_id|>\" }}\n\n{#- Custom tools are passed in a user message with some extra guidance #}\n{%- if tools_in_user_message and not tools is none %}\n {#- Extract the first user message so we can plug it in here #}\n {%- if messages | length != 0 %}\n {%- set first_user_message = messages[0]['content']|trim %}\n {%- set messages = messages[1:] %}\n {%- else %}\n {{- raise_exception(\"Cannot put tools in the first user message when there's no first user message!\") }}\n{%- endif %}\n {{- '<|start_header_id|>user<|end_header_id|>\\n\\n' -}}\n {{- \"Given the following functions, please respond with a JSON for a function call \" }}\n {{- \"with its proper arguments that best answers the given prompt.\\n\\n\" }}\n {{- 'Respond in the format {\"name\": function name, \"parameters\": dictionary of argument name and its value}.' }}\n {{- \"Do not use variables.\\n\\n\" }}\n {%- for t in tools %}\n {{- t | tojson(indent=4) }}\n {{- \"\\n\\n\" }}\n {%- endfor %}\n {{- first_user_message + \"<|eot_id|>\"}}\n{%- endif %}\n\n{%- for message in messages %}\n {%- if not (message.role == 'ipython' or message.role == 'tool' or 'tool_calls' in message) %}\n {{- '<|start_header_id|>' + message['role'] + '<|end_header_id|>\\n\\n'+ message['content'] | trim + '<|eot_id|>' }}\n {%- elif 'tool_calls' in message %}\n {%- if not message.tool_calls|length == 1 %}\n {{- raise_exception(\"This model only supports single tool-calls at once!\") }}\n {%- endif %}\n {%- set tool_call = message.tool_calls[0].function %}\n {%- if builtin_tools is defined and tool_call.name in builtin_tools %}\n {{- '<|start_header_id|>assistant<|end_header_id|>\\n\\n' -}}\n {{- \"<|python_tag|>\" + tool_call.name + \".call(\" }}\n {%- for arg_name, arg_val in tool_call.arguments | items %}\n {{- arg_name + '=\"' + arg_val + '\"' }}\n {%- if not loop.last %}\n {{- \", \" }}\n {%- endif %}\n {%- endfor %}\n {{- \")\" }}\n {%- else %}\n {{- '<|start_header_id|>assistant<|end_header_id|>\\n\\n' -}}\n {{- '{\"name\": \"' + tool_call.name + '\", ' }}\n {{- '\"parameters\": ' }}\n {{- tool_call.arguments | tojson }}\n {{- \"}\" }}\n {%- endif %}\n {%- if builtin_tools is defined %}\n {#- This means we're in ipython mode #}\n {{- \"<|eom_id|>\" }}\n {%- else %}\n {{- \"<|eot_id|>\" }}\n {%- endif %}\n {%- elif message.role == \"tool\" or message.role == \"ipython\" %}\n {{- \"<|start_header_id|>ipython<|end_header_id|>\\n\\n\" }}\n {%- if message.content is mapping or message.content is iterable %}\n {{- message.content | tojson }}\n {%- else %}\n {{- message.content }}\n {%- endif %}\n {{- \"<|eot_id|>\" }}\n {%- endif %}\n{%- endfor %}\n{%- if add_generation_prompt %}\n {{- '<|start_header_id|>assistant<|end_header_id|>\\n\\n' }}\n{%- endif %}\n",
127
+ "chat_template_sha": "e10ca381b1ccc5cf9db52e371f3b6651576caee0a630b452e2816b2d404d4b65",
128
+ "start_time": 11601344.854338508,
129
+ "end_time": 11603615.92309415,
130
+ "total_evaluation_time_seconds": "2271.0687556415796"
131
+ }