138 lines
14 KiB
JSON
138 lines
14 KiB
JSON
|
|
{
|
||
|
|
"results": {
|
||
|
|
"ar_ifeval": {
|
||
|
|
"alias": "ar_ifeval",
|
||
|
|
"prompt_level_strict_acc,none": 0.5335820895522388,
|
||
|
|
"prompt_level_strict_acc_stderr,none": 0.021568072772161277,
|
||
|
|
"inst_level_strict_acc,none": 0.7931740614334472,
|
||
|
|
"inst_level_strict_acc_stderr,none": "N/A",
|
||
|
|
"prompt_level_loose_acc,none": 0.6156716417910447,
|
||
|
|
"prompt_level_loose_acc_stderr,none": 0.021030466164007045,
|
||
|
|
"inst_level_loose_acc,none": 0.8327645051194539,
|
||
|
|
"inst_level_loose_acc_stderr,none": "N/A"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"group_subtasks": {
|
||
|
|
"ar_ifeval": []
|
||
|
|
},
|
||
|
|
"configs": {
|
||
|
|
"ar_ifeval": {
|
||
|
|
"task": "ar_ifeval",
|
||
|
|
"dataset_path": "lm_eval/tasks/ar_ifeval/ar_ifeval.py",
|
||
|
|
"dataset_name": "ar_ifeval",
|
||
|
|
"dataset_kwargs": {
|
||
|
|
"trust_remote_code": true
|
||
|
|
},
|
||
|
|
"test_split": "test",
|
||
|
|
"doc_to_text": "prompt",
|
||
|
|
"doc_to_target": 0,
|
||
|
|
"process_results": "def process_results(doc, results):\n\n response = results[0]\n out_strict = process_sample(doc, response, 'strict')\n out_loose = process_sample(doc, response, 'loose')\n\n\n return {\n \"prompt_level_strict_acc\": out_strict.follow_all_instructions,\n \"inst_level_strict_acc\": out_strict.follow_instruction_list,\n \"prompt_level_loose_acc\": out_loose.follow_all_instructions,\n \"inst_level_loose_acc\": out_loose.follow_instruction_list,\n }\n",
|
||
|
|
"description": "",
|
||
|
|
"target_delimiter": " ",
|
||
|
|
"fewshot_delimiter": "\n\n",
|
||
|
|
"num_fewshot": 0,
|
||
|
|
"metric_list": [
|
||
|
|
{
|
||
|
|
"metric": "prompt_level_strict_acc",
|
||
|
|
"aggregation": "mean",
|
||
|
|
"higher_is_better": true
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"metric": "inst_level_strict_acc",
|
||
|
|
"aggregation": "def agg_inst_level_acc(items):\n flat_items = [item for sublist in items for item in sublist]\n inst_level_acc = sum(flat_items) / len(flat_items)\n return inst_level_acc\n",
|
||
|
|
"higher_is_better": true
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"metric": "prompt_level_loose_acc",
|
||
|
|
"aggregation": "mean",
|
||
|
|
"higher_is_better": true
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"metric": "inst_level_loose_acc",
|
||
|
|
"aggregation": "def agg_inst_level_acc(items):\n flat_items = [item for sublist in items for item in sublist]\n inst_level_acc = sum(flat_items) / len(flat_items)\n return inst_level_acc\n",
|
||
|
|
"higher_is_better": true
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"output_type": "generate_until",
|
||
|
|
"generation_kwargs": {
|
||
|
|
"until": [],
|
||
|
|
"do_sample": false,
|
||
|
|
"temperature": 0.0,
|
||
|
|
"max_gen_toks": 1280
|
||
|
|
},
|
||
|
|
"repeats": 1,
|
||
|
|
"should_decontaminate": false,
|
||
|
|
"metadata": {
|
||
|
|
"version": 4.0
|
||
|
|
}
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"versions": {
|
||
|
|
"ar_ifeval": 4.0
|
||
|
|
},
|
||
|
|
"n-shot": {
|
||
|
|
"ar_ifeval": 0
|
||
|
|
},
|
||
|
|
"higher_is_better": {
|
||
|
|
"ar_ifeval": {
|
||
|
|
"prompt_level_strict_acc": true,
|
||
|
|
"inst_level_strict_acc": true,
|
||
|
|
"prompt_level_loose_acc": true,
|
||
|
|
"inst_level_loose_acc": true
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"n-samples": {
|
||
|
|
"ar_ifeval": {
|
||
|
|
"original": 536,
|
||
|
|
"effective": 536
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"config": {
|
||
|
|
"model": "vllm",
|
||
|
|
"model_args": "pretrained=meta-llama/Meta-Llama-3.1-8B-Instruct,tensor_parallel_size=4,data_parallel_size=2,download_dir=/tmp,enforce_eager=False",
|
||
|
|
"batch_size": 1,
|
||
|
|
"batch_sizes": [],
|
||
|
|
"device": null,
|
||
|
|
"use_cache": null,
|
||
|
|
"limit": null,
|
||
|
|
"bootstrap_iters": 100000,
|
||
|
|
"gen_kwargs": null,
|
||
|
|
"random_seed": 0,
|
||
|
|
"numpy_seed": 1234,
|
||
|
|
"torch_seed": 1234,
|
||
|
|
"fewshot_seed": 1234
|
||
|
|
},
|
||
|
|
"git_hash": "788a3672",
|
||
|
|
"date": 1738654504.3474658,
|
||
|
|
"pretty_env_info": "PyTorch version: 2.4.0+cu121\nIs debug build: False\nCUDA used to build PyTorch: 12.1\nROCM used to build PyTorch: N/A\n\nOS: Ubuntu 22.04.3 LTS (x86_64)\nGCC version: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0\nClang version: Could not collect\nCMake version: version 3.27.1\nLibc version: glibc-2.35\n\nPython version: 3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0] (64-bit runtime)\nPython platform: Linux-5.15.0-1064-azure-x86_64-with-glibc2.35\nIs CUDA available: True\nCUDA runtime version: 12.2.128\nCUDA_MODULE_LOADING set to: LAZY\nGPU models and configuration: \nGPU 0: NVIDIA A100-SXM4-80GB\nGPU 1: NVIDIA A100-SXM4-80GB\nGPU 2: NVIDIA A100-SXM4-80GB\nGPU 3: NVIDIA A100-SXM4-80GB\nGPU 4: NVIDIA A100-SXM4-80GB\nGPU 5: NVIDIA A100-SXM4-80GB\nGPU 6: NVIDIA A100-SXM4-80GB\nGPU 7: NVIDIA A100-SXM4-80GB\n\nNvidia driver version: 535.161.08\ncuDNN version: Probably one of the following:\n/usr/lib/x86_64-linux-gnu/libcudnn.so.8.9.4\n/usr/lib/x86_64-linux-gnu/libcudnn_adv_infer.so.8.9.4\n/usr/lib/x86_64-linux-gnu/libcudnn_adv_train.so.8.9.4\n/usr/lib/x86_64-linux-gnu/libcudnn_cnn_infer.so.8.9.4\n/usr/lib/x86_64-linux-gnu/libcudnn_cnn_train.so.8.9.4\n/usr/lib/x86_64-linux-gnu/libcudnn_ops_infer.so.8.9.4\n/usr/lib/x86_64-linux-gnu/libcudnn_ops_train.so.8.9.4\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\nAddress sizes: 48 bits physical, 48 bits virtual\nByte Order: Little Endian\nCPU(s): 96\nOn-line CPU(s) list: 0-95\nVendor ID: AuthenticAMD\nModel name: AMD EPYC 7V12 64-Core Processor\nCPU family: 23\nModel: 49\nThread(s) per core: 1\nCore(s) per socket: 48\nSocket(s): 2\nStepping: 0\nBogoMIPS: 4890.87\nFlags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl tsc_reliable nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd vmmcall fsgsbase bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr rdpru arat umip rdpid\nHypervisor vendor: Microsoft\nVirtualization type: full\nL1d cache: 3 MiB (96 instances)\nL1i cache: 3 MiB (96 instances)\nL2 cache: 48 MiB (96 instances)\nL3 cache: 384 MiB (24 instances)\nNUMA node(s): 4\nNUMA node0 CPU(s): 0-23\nNUMA node1 CPU(s): 24-47\nNUMA node2 CPU(s): 48-71\nNUMA node3 CPU(s): 72-95\nVulnerability Gather data sampling: Not affected\nVulnerability Itlb multihit: Not affected\nVulnerability L1tf: Not affected\nVulnerability Mds: Not affected\nVulnerability Meltdown: Not affected\nVulnerability Mmio stale data: Not affected\nVulnerability Retbleed: Mitigation; untrained return thunk; SMT disabled\nVulnerability Spec rstack overflow: Mitigation; safe RET, no microcode\nVulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp\nVulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization\nVulnerability Spectre v2: Mitigation; Retpolines; STIBP disabled; RSB filling; PBRSB-eIBRS Not affected; BHI Not affected\nVulnerability Srbds: Not affected\nVulnerability Tsx async abort:
|
||
|
|
"transformers_version": "4.48.2",
|
||
|
|
"upper_git_hash": null,
|
||
|
|
"tokenizer_pad_token": [
|
||
|
|
"<|eot_id|>",
|
||
|
|
"128009"
|
||
|
|
],
|
||
|
|
"tokenizer_eos_token": [
|
||
|
|
"<|eot_id|>",
|
||
|
|
"128009"
|
||
|
|
],
|
||
|
|
"tokenizer_bos_token": [
|
||
|
|
"<|begin_of_text|>",
|
||
|
|
"128000"
|
||
|
|
],
|
||
|
|
"eot_token_id": 128009,
|
||
|
|
"max_length": 131072,
|
||
|
|
"task_hashes": {
|
||
|
|
"ar_ifeval": "7e137a94e1650273c7c8431db3a799d999471d4003bbb61e67fc4369b573a251"
|
||
|
|
},
|
||
|
|
"model_source": "vllm",
|
||
|
|
"model_name": "meta-llama/Meta-Llama-3.1-8B-Instruct",
|
||
|
|
"model_name_sanitized": "meta-llama__Meta-Llama-3.1-8B-Instruct",
|
||
|
|
"system_instruction": null,
|
||
|
|
"system_instruction_sha": null,
|
||
|
|
"fewshot_as_multiturn": false,
|
||
|
|
"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 {{- \"}\"
|
||
|
|
"chat_template_sha": "e10ca381b1ccc5cf9db52e371f3b6651576caee0a630b452e2816b2d404d4b65",
|
||
|
|
"start_time": 437265.909736722,
|
||
|
|
"end_time": 437523.975434726,
|
||
|
|
"total_evaluation_time_seconds": "258.06569800397847"
|
||
|
|
}
|