初始化项目,由ModelHub XC社区提供模型
Model: lanawwas/ALLaM-7B-Instruct-preview Source: Original Platform
This commit is contained in:
125
evaluations/ar/Meta-Llama-3.1-8B-Instruct/acva_5_shot.json
Normal file
125
evaluations/ar/Meta-Llama-3.1-8B-Instruct/acva_5_shot.json
Normal file
@@ -0,0 +1,125 @@
|
||||
{
|
||||
"results": {
|
||||
"acva": {
|
||||
"alias": "acva",
|
||||
"acc,none": 0.7252583237657865,
|
||||
"acc_stderr,none": 0.004783265499715521,
|
||||
"acc_norm,none": 0.6993111366245695,
|
||||
"acc_norm_stderr,none": 0.004913712570670582
|
||||
}
|
||||
},
|
||||
"group_subtasks": {
|
||||
"acva": []
|
||||
},
|
||||
"configs": {
|
||||
"acva": {
|
||||
"task": "acva",
|
||||
"tag": [
|
||||
"multiple_choice"
|
||||
],
|
||||
"dataset_path": "FreedomIntelligence/ACVA-Arabic-Cultural-Value-Alignment",
|
||||
"dataset_kwargs": {
|
||||
"trust_remote_code": true
|
||||
},
|
||||
"validation_split": "validation",
|
||||
"test_split": "test",
|
||||
"fewshot_split": "validation",
|
||||
"process_docs": "def process_docs(dataset: datasets.Dataset) -> datasets.Dataset:\n def _format_subject(subject):\n \n arabic_words = subtasks_ar[subtasks.index(subject)]\n return arabic_words\n \n def _generate_subject(doc):\n subject = _format_subject(doc[\"id\"].split(\"-\")[0])\n\n return subject\n \n def _process_docs(doc):\n keys = [\"\u0635\u062d\",\n \"\u062e\u0637\u0623\"]\n subject = _generate_subject(doc)\n gold = keys.index(doc['answer'])\n out_doc = {\n \"id\": doc[\"id\"],\n \"query\": \"\\n\\n\\n\u0627\u0644\u0633\u0624\u0627\u0644:\" + doc[\"question\"]+\"\\n\u0625\u062c\u0627\u0628\u0629:'\",\n \"choices\": keys,\n \"gold\": gold,\n \"subject\": subject,\n }\n \n return out_doc\n\n return dataset.map(_process_docs)\n",
|
||||
"doc_to_text": "query",
|
||||
"doc_to_target": "gold",
|
||||
"doc_to_choice": "choices",
|
||||
"description": "\u0641\u064a\u0645\u0627 \u064a\u0644\u064a \u0639\u0628\u0627\u0631\u0627\u062a \u0625\u0645\u0627 \u0635\u062d\u064a\u062d\u0629 \u0623\u0648 \u062e\u0627\u0637\u0626\u0629 \u062d\u0648\u0644 {{subject}}\n \u0627\u0644\u0631\u062c\u0627\u0621 \u062a\u0635\u0646\u064a\u0641 \u0627\u0644\u0639\u0628\u0627\u0631\u0629 \u0625\u0644\u0649 '\u0635\u062d' \u0623\u0648 '\u062e\u0637\u0623' \u062f\u0648\u0646 \u0634\u0631\u062d",
|
||||
"target_delimiter": " ",
|
||||
"fewshot_delimiter": "\n\n",
|
||||
"num_fewshot": 5,
|
||||
"metric_list": [
|
||||
{
|
||||
"metric": "acc",
|
||||
"aggregation": "mean",
|
||||
"higher_is_better": true
|
||||
},
|
||||
{
|
||||
"metric": "acc_norm",
|
||||
"aggregation": "mean",
|
||||
"higher_is_better": true
|
||||
}
|
||||
],
|
||||
"output_type": "multiple_choice",
|
||||
"repeats": 1,
|
||||
"should_decontaminate": false,
|
||||
"metadata": {
|
||||
"version": 1.0
|
||||
}
|
||||
}
|
||||
},
|
||||
"versions": {
|
||||
"acva": 1.0
|
||||
},
|
||||
"n-shot": {
|
||||
"acva": 5
|
||||
},
|
||||
"higher_is_better": {
|
||||
"acva": {
|
||||
"acc": true,
|
||||
"acc_norm": true
|
||||
}
|
||||
},
|
||||
"n-samples": {
|
||||
"acva": {
|
||||
"original": 8710,
|
||||
"effective": 8710
|
||||
}
|
||||
},
|
||||
"config": {
|
||||
"model": "hf",
|
||||
"model_args": "pretrained=meta-llama/Meta-Llama-3.1-8B-Instruct,trust_remote_code=True,cache_dir=/tmp,parallelize=False",
|
||||
"model_num_parameters": 8030261248,
|
||||
"model_dtype": "torch.bfloat16",
|
||||
"model_revision": "main",
|
||||
"model_sha": "0e9e39f249a16976918f6564b8830bc894c89659",
|
||||
"batch_size": "auto",
|
||||
"batch_sizes": [
|
||||
64
|
||||
],
|
||||
"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": 1737779312.1802437,
|
||||
"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 80GB PCIe\nGPU 1: NVIDIA A100 80GB PCIe\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): 48\nOn-line CPU(s) list: 0-47\nVendor ID: AuthenticAMD\nModel name: AMD EPYC 7V13 64-Core Processor\nCPU family: 25\nModel: 1\nThread(s) per core: 1\nCore(s) per socket: 48\nSocket(s): 1\nStepping: 1\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 pcid 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 invpcid_single vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr rdpru arat umip vaes vpclmulqdq rdpid fsrm\nHypervisor vendor: Microsoft\nVirtualization type: full\nL1d cache: 1.5 MiB (48 instances)\nL1i cache: 1.5 MiB (48 instances)\nL2 cache: 24 MiB (48 instances)\nL3 cache: 192 MiB (6 instances)\nNUMA node(s): 2\nNUMA node0 CPU(s): 0-23\nNUMA node1 CPU(s): 24-47\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: Not affected\nVulnerability Spec rstack overflow: Mitigation; safe RET, no microcode\nVulnerability Spec store bypass: Vulnerable\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: Not affected\n\nVersions of relevant libraries:\n[pip3] numpy==1.26.4\n[pip3] onnx==1.14.0\n[pip3] pytorch-lightning==2.0.7\n[pip3] pytorch-quantization==2.1.2\n[pip3] torch==2.4.0\n[pip3] torch-tensorrt==2.0.0.dev0\n[pip3] torchaudio==2.1.0\n[pip3] torchdata==0.7.0a0\n[pip3] torchmetrics==1.2.0\n[pip3] torchvision==0.19.0\n[pip3] triton==3.0.0\n[conda] Could not collect",
|
||||
"transformers_version": "4.48.1",
|
||||
"upper_git_hash": "086919bd66f4e15fdcd4b792a7b27a698c1ba091",
|
||||
"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": {},
|
||||
"model_source": "hf",
|
||||
"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": null,
|
||||
"chat_template_sha": null,
|
||||
"start_time": 26393.300114519,
|
||||
"end_time": 26592.595877222,
|
||||
"total_evaluation_time_seconds": "199.29576270300095"
|
||||
}
|
||||
138
evaluations/ar/Meta-Llama-3.1-8B-Instruct/ar_ifeval_0_shot.json
Normal file
138
evaluations/ar/Meta-Llama-3.1-8B-Instruct/ar_ifeval_0_shot.json
Normal file
@@ -0,0 +1,138 @@
|
||||
{
|
||||
"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: Not affected\n\nVersions of relevant libraries:\n[pip3] numpy==1.26.4\n[pip3] onnx==1.14.0\n[pip3] pytorch-lightning==2.0.7\n[pip3] pytorch-quantization==2.1.2\n[pip3] torch==2.4.0\n[pip3] torch-tensorrt==2.0.0.dev0\n[pip3] torchaudio==2.1.0\n[pip3] torchdata==0.7.0a0\n[pip3] torchmetrics==1.2.0\n[pip3] torchvision==0.19.0\n[pip3] triton==3.0.0\n[conda] Could not collect",
|
||||
"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 {{- \"}\" }}\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",
|
||||
"chat_template_sha": "e10ca381b1ccc5cf9db52e371f3b6651576caee0a630b452e2816b2d404d4b65",
|
||||
"start_time": 437265.909736722,
|
||||
"end_time": 437523.975434726,
|
||||
"total_evaluation_time_seconds": "258.06569800397847"
|
||||
}
|
||||
122
evaluations/ar/Meta-Llama-3.1-8B-Instruct/araMath_v3_5_shot.json
Normal file
122
evaluations/ar/Meta-Llama-3.1-8B-Instruct/araMath_v3_5_shot.json
Normal file
@@ -0,0 +1,122 @@
|
||||
{
|
||||
"results": {
|
||||
"araMath_v3": {
|
||||
"alias": "araMath_v3",
|
||||
"acc,none": 0.35702479338842974,
|
||||
"acc_stderr,none": 0.019495206164626543,
|
||||
"acc_norm,none": 0.35702479338842974,
|
||||
"acc_norm_stderr,none": 0.019495206164626543
|
||||
}
|
||||
},
|
||||
"group_subtasks": {
|
||||
"araMath_v3": []
|
||||
},
|
||||
"configs": {
|
||||
"araMath_v3": {
|
||||
"task": "araMath_v3",
|
||||
"tag": [
|
||||
"multiple_choice"
|
||||
],
|
||||
"dataset_path": "lm_eval/tasks/araMath_v3/araMath_v3.py",
|
||||
"dataset_name": "araMath_v3",
|
||||
"dataset_kwargs": {
|
||||
"trust_remote_code": true
|
||||
},
|
||||
"validation_split": "validation",
|
||||
"test_split": "test",
|
||||
"process_docs": "def process_docs(dataset: datasets.Dataset) -> datasets.Dataset:\n def _process_docs(doc):\n def remove_prefix(choice):\n prefixes = [\"(A)\", \"(B)\", \"(C)\", \"(D)\"]\n for prefix in prefixes:\n if choice.startswith(prefix + \" \"):\n return choice[len(prefix) + 1:] \n return choice \n\n def format_example(doc, keys):\n question = doc[\"question\"].strip()\n choices = \"\".join(\n [f\"{key}. {remove_prefix(choice)}\\n\" for key, choice in zip(keys, doc[\"options\"])]\n )\n\n prompt = f\"\\n\\nالسؤال: {question}\\n{choices}\\nالاجابة:\"\n return prompt\n\n keys_en = [\"A\", \"B\", \"C\", \"D\"]\n out_doc = {\n \"query\": format_example(doc, keys_en),\n \"choices\": keys_en,\n \"gold\": keys_en.index(doc[\"label\"]),\n }\n return out_doc\n \n return dataset.map(_process_docs)\n",
|
||||
"doc_to_text": "query",
|
||||
"doc_to_target": "gold",
|
||||
"doc_to_choice": "{{choices}}",
|
||||
"description": "من فضلك اختر إجابة واحدة من بين 'A، B، C، D' دون شرح",
|
||||
"target_delimiter": " ",
|
||||
"fewshot_delimiter": "\n\n",
|
||||
"num_fewshot": 5,
|
||||
"metric_list": [
|
||||
{
|
||||
"metric": "acc",
|
||||
"aggregation": "mean",
|
||||
"higher_is_better": true
|
||||
},
|
||||
{
|
||||
"metric": "acc_norm",
|
||||
"aggregation": "mean",
|
||||
"higher_is_better": true
|
||||
}
|
||||
],
|
||||
"output_type": "multiple_choice",
|
||||
"repeats": 1,
|
||||
"should_decontaminate": true,
|
||||
"doc_to_decontamination_query": "query",
|
||||
"metadata": {
|
||||
"version": 0.0
|
||||
}
|
||||
}
|
||||
},
|
||||
"versions": {
|
||||
"araMath_v3": 0.0
|
||||
},
|
||||
"n-shot": {
|
||||
"araMath_v3": 5
|
||||
},
|
||||
"higher_is_better": {
|
||||
"araMath_v3": {
|
||||
"acc": true,
|
||||
"acc_norm": true
|
||||
}
|
||||
},
|
||||
"n-samples": {
|
||||
"araMath_v3": {
|
||||
"original": 605,
|
||||
"effective": 605
|
||||
}
|
||||
},
|
||||
"config": {
|
||||
"model": "vllm",
|
||||
"model_args": "pretrained=meta-llama/Meta-Llama-3.1-8B-Instruct,tensor_parallel_size=1,data_parallel_size=8,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": 1738675025.3226728,
|
||||
"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.90\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: Not affected\n\nVersions of relevant libraries:\n[pip3] numpy==1.26.4\n[pip3] onnx==1.14.0\n[pip3] pytorch-lightning==2.0.7\n[pip3] pytorch-quantization==2.1.2\n[pip3] torch==2.4.0\n[pip3] torch-tensorrt==2.0.0.dev0\n[pip3] torchaudio==2.1.0\n[pip3] torchdata==0.7.0a0\n[pip3] torchmetrics==1.2.0\n[pip3] torchvision==0.19.0\n[pip3] triton==3.0.0\n[conda] Could not collect",
|
||||
"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": {
|
||||
"araMath_v3": "544990bff2e8bb7c1408ff006ba780ea68d8d7f78c633fb7035e71e43345d5a4"
|
||||
},
|
||||
"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 {{- \"}\" }}\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",
|
||||
"chat_template_sha": "e10ca381b1ccc5cf9db52e371f3b6651576caee0a630b452e2816b2d404d4b65",
|
||||
"start_time": 1038640.023630069,
|
||||
"end_time": 1038724.32179284,
|
||||
"total_evaluation_time_seconds": "84.29816277103964"
|
||||
}
|
||||
130
evaluations/ar/Meta-Llama-3.1-8B-Instruct/araPro_0_shot.json
Normal file
130
evaluations/ar/Meta-Llama-3.1-8B-Instruct/araPro_0_shot.json
Normal file
@@ -0,0 +1,130 @@
|
||||
{
|
||||
"results": {
|
||||
"araPro": {
|
||||
"alias": "araPro",
|
||||
"acc,none": 0.5250949810037993,
|
||||
"acc_stderr,none": 0.007062156072028268,
|
||||
"acc_norm,none": 0.5250949810037993,
|
||||
"acc_norm_stderr,none": 0.007062156072028268
|
||||
}
|
||||
},
|
||||
"group_subtasks": {
|
||||
"araPro": []
|
||||
},
|
||||
"configs": {
|
||||
"araPro": {
|
||||
"task": "araPro",
|
||||
"tag": [
|
||||
"multiple_choice"
|
||||
],
|
||||
"dataset_path": "lm_eval/tasks/araPro/araPro.py",
|
||||
"dataset_name": "araPro",
|
||||
"dataset_kwargs": {
|
||||
"trust_remote_code": true
|
||||
},
|
||||
"validation_split": "validation",
|
||||
"test_split": "test",
|
||||
"fewshot_split": "validation",
|
||||
"process_docs": "def process_docs(dataset: datasets.Dataset) -> datasets.Dataset:\n def _process_docs(doc): \n def remove_prefix(choice):\n return choice.replace('.', '') if '.' in choice[:2] else choice\n \n def format_example(doc, keys):\n question = doc[\"question\"].strip()\n \n choice_num = ['choice1', 'choice2', 'choice3', 'choice4']\n choices = \"\".join(\n [f\"{key}. {remove_prefix(doc[choice_num[index]])}\\n\" for index, key in enumerate(keys)]\n )\n\n prompt = f\"\\n\\n\\n\u0627\u0644\u0633\u0624\u0627\u0644: {question}\\n{choices} \\n\u0627\u0644\u0627\u062c\u0627\u0628\u0629:\"\n return prompt\n\n #keys = [\"1\", \"2\", \"3\", \"4\"]\n keys = [\"A\", \"B\", \"C\", \"D\"]\n out_doc = {\n \"query\": format_example(doc, keys), \n \"choices\": keys,\n \"gold\": doc[\"answer\"]-1,\n } \n\n return out_doc\n \n return dataset.map(_process_docs)\n",
|
||||
"doc_to_text": "query",
|
||||
"doc_to_target": "gold",
|
||||
"doc_to_choice": "{{choices}}",
|
||||
"description": "\u0641\u064a\u0645\u0627 \u064a\u0644\u064a \u0623\u0633\u0626\u0644\u0629 \u0627\u0644\u0627\u062e\u062a\u064a\u0627\u0631 \u0645\u0646 \u0645\u062a\u0639\u062f\u062f (\u0645\u0639 \u0627\u0644\u0625\u062c\u0627\u0628\u0627\u062a) \u0645\u0646 \u0641\u0636\u0644\u0643 \u0627\u062e\u062a\u0631 \u0625\u062c\u0627\u0628\u0629 \u0648\u0627\u062d\u062f\u0629 \u062f\u0648\u0646 \u0634\u0631\u062d",
|
||||
"target_delimiter": " ",
|
||||
"fewshot_delimiter": "\n\n",
|
||||
"fewshot_config": {
|
||||
"sampler": "balanced_cat"
|
||||
},
|
||||
"num_fewshot": 0,
|
||||
"metric_list": [
|
||||
{
|
||||
"metric": "acc",
|
||||
"aggregation": "mean",
|
||||
"higher_is_better": true
|
||||
},
|
||||
{
|
||||
"metric": "acc_norm",
|
||||
"aggregation": "mean",
|
||||
"higher_is_better": true
|
||||
}
|
||||
],
|
||||
"output_type": "multiple_choice",
|
||||
"repeats": 1,
|
||||
"should_decontaminate": true,
|
||||
"doc_to_decontamination_query": "Question",
|
||||
"metadata": {
|
||||
"version": 2.0
|
||||
}
|
||||
}
|
||||
},
|
||||
"versions": {
|
||||
"araPro": 2.0
|
||||
},
|
||||
"n-shot": {
|
||||
"araPro": 0
|
||||
},
|
||||
"higher_is_better": {
|
||||
"araPro": {
|
||||
"acc": true,
|
||||
"acc_norm": true
|
||||
}
|
||||
},
|
||||
"n-samples": {
|
||||
"araPro": {
|
||||
"original": 5001,
|
||||
"effective": 5001
|
||||
}
|
||||
},
|
||||
"config": {
|
||||
"model": "hf",
|
||||
"model_args": "pretrained=meta-llama/Meta-Llama-3.1-8B-Instruct,trust_remote_code=True,cache_dir=/tmp,parallelize=True",
|
||||
"model_num_parameters": 8030261248,
|
||||
"model_dtype": "torch.bfloat16",
|
||||
"model_revision": "main",
|
||||
"model_sha": "0e9e39f249a16976918f6564b8830bc894c89659",
|
||||
"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": "b955b2950",
|
||||
"date": 1739617047.873544,
|
||||
"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.90\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: Not affected\n\nVersions of relevant libraries:\n[pip3] numpy==1.26.4\n[pip3] onnx==1.14.0\n[pip3] pytorch-lightning==2.0.7\n[pip3] pytorch-quantization==2.1.2\n[pip3] torch==2.4.0\n[pip3] torch-tensorrt==2.0.0.dev0\n[pip3] torchaudio==2.1.0\n[pip3] torchdata==0.7.0a0\n[pip3] torchmetrics==1.2.0\n[pip3] torchvision==0.19.0\n[pip3] triton==3.0.0\n[conda] Could not collect",
|
||||
"transformers_version": "4.48.3",
|
||||
"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": {
|
||||
"araPro": "ab4849e5668de72a27844a2a354787cbce92af5027f46a32300417b41913c5db"
|
||||
},
|
||||
"model_source": "hf",
|
||||
"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 {{- \"}\" }}\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",
|
||||
"chat_template_sha": "e10ca381b1ccc5cf9db52e371f3b6651576caee0a630b452e2816b2d404d4b65",
|
||||
"start_time": 1609822.907637183,
|
||||
"end_time": 1610372.150443636,
|
||||
"total_evaluation_time_seconds": "549.242806453025"
|
||||
}
|
||||
2051
evaluations/ar/Meta-Llama-3.1-8B-Instruct/arabicmmlu_0_shot.json
Normal file
2051
evaluations/ar/Meta-Llama-3.1-8B-Instruct/arabicmmlu_0_shot.json
Normal file
File diff suppressed because it is too large
Load Diff
126
evaluations/ar/Meta-Llama-3.1-8B-Instruct/etec_v2_0_shot.json
Normal file
126
evaluations/ar/Meta-Llama-3.1-8B-Instruct/etec_v2_0_shot.json
Normal file
@@ -0,0 +1,126 @@
|
||||
{
|
||||
"results": {
|
||||
"etec_v2": {
|
||||
"alias": "etec_v2",
|
||||
"acc,none": 0.456809750927398,
|
||||
"acc_stderr,none": 0.01147024835105639,
|
||||
"acc_norm,none": 0.456809750927398,
|
||||
"acc_norm_stderr,none": 0.01147024835105639
|
||||
}
|
||||
},
|
||||
"group_subtasks": {
|
||||
"etec_v2": []
|
||||
},
|
||||
"configs": {
|
||||
"etec_v2": {
|
||||
"task": "etec_v2",
|
||||
"tag": [
|
||||
"multiple_choice"
|
||||
],
|
||||
"dataset_path": "lm_eval/tasks/etec_v2/etec.py",
|
||||
"dataset_name": "etec_v2",
|
||||
"dataset_kwargs": {
|
||||
"trust_remote_code": true
|
||||
},
|
||||
"validation_split": "validation",
|
||||
"test_split": "test",
|
||||
"process_docs": "def process_docs(dataset: datasets.Dataset) -> datasets.Dataset:\n def _process_docs(doc):\n def format_example(doc, keys):\n question = doc[\"question\"].strip()\n \n choices = \"\".join(\n [f\"{key}. {choice}\\n\" for key, choice in zip(keys, doc[\"choices\"])]\n )\n prompt = f\"\u0627\u0644\u0633\u0624\u0627\u0644: {question}\\n{choices}\\n\u0627\u0644\u0627\u062c\u0627\u0628\u0629:\"\n return prompt\n print(doc[\"label\"])\n keys_ar = [\"\u0623\", \"\u0628\", \"\u062c\", \"\u062f\"]\n keys_en = [\"A\", \"B\", \"C\", \"D\"]\n out_doc = {\n \"query\": format_example(doc, keys_en),\n \"choices\": keys_en,\n \"gold\": int(doc[\"label\"])-1,\n }\n return out_doc\n \n return dataset.map(_process_docs)\n",
|
||||
"doc_to_text": "query",
|
||||
"doc_to_target": "gold",
|
||||
"doc_to_choice": "choices",
|
||||
"description": "\u0641\u064a\u0645\u0627 \u064a\u0644\u064a \u0623\u0633\u0626\u0644\u0629 \u0627\u0644\u0627\u062e\u062a\u064a\u0627\u0631 \u0645\u0646 \u0645\u062a\u0639\u062f\u062f (\u0645\u0639 \u0627\u0644\u0625\u062c\u0627\u0628\u0627\u062a) \u0645\u0646 \u0641\u0636\u0644\u0643 \u0627\u062e\u062a\u0631 \u0625\u062c\u0627\u0628\u0629 \u0648\u0627\u062d\u062f\u0629 \u062f\u0648\u0646 \u0634\u0631\u062d\n ",
|
||||
"target_delimiter": " ",
|
||||
"fewshot_delimiter": "\n\n",
|
||||
"num_fewshot": 0,
|
||||
"metric_list": [
|
||||
{
|
||||
"metric": "acc",
|
||||
"aggregation": "mean",
|
||||
"higher_is_better": true
|
||||
},
|
||||
{
|
||||
"metric": "acc_norm",
|
||||
"aggregation": "mean",
|
||||
"higher_is_better": true
|
||||
}
|
||||
],
|
||||
"output_type": "multiple_choice",
|
||||
"repeats": 1,
|
||||
"should_decontaminate": true,
|
||||
"doc_to_decontamination_query": "query",
|
||||
"metadata": {
|
||||
"version": 0.0
|
||||
}
|
||||
}
|
||||
},
|
||||
"versions": {
|
||||
"etec_v2": 0.0
|
||||
},
|
||||
"n-shot": {
|
||||
"etec_v2": 0
|
||||
},
|
||||
"higher_is_better": {
|
||||
"etec_v2": {
|
||||
"acc": true,
|
||||
"acc_norm": true
|
||||
}
|
||||
},
|
||||
"n-samples": {
|
||||
"etec_v2": {
|
||||
"original": 1887,
|
||||
"effective": 1887
|
||||
}
|
||||
},
|
||||
"config": {
|
||||
"model": "hf",
|
||||
"model_args": "pretrained=meta-llama/Meta-Llama-3.1-8B-Instruct,trust_remote_code=True,cache_dir=/tmp,parallelize=True",
|
||||
"model_num_parameters": 8030261248,
|
||||
"model_dtype": "torch.bfloat16",
|
||||
"model_revision": "main",
|
||||
"model_sha": "0e9e39f249a16976918f6564b8830bc894c89659",
|
||||
"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": "b955b2950",
|
||||
"date": 1739617646.5966089,
|
||||
"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.90\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: Not affected\n\nVersions of relevant libraries:\n[pip3] numpy==1.26.4\n[pip3] onnx==1.14.0\n[pip3] pytorch-lightning==2.0.7\n[pip3] pytorch-quantization==2.1.2\n[pip3] torch==2.4.0\n[pip3] torch-tensorrt==2.0.0.dev0\n[pip3] torchaudio==2.1.0\n[pip3] torchdata==0.7.0a0\n[pip3] torchmetrics==1.2.0\n[pip3] torchvision==0.19.0\n[pip3] triton==3.0.0\n[conda] Could not collect",
|
||||
"transformers_version": "4.48.3",
|
||||
"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": {
|
||||
"etec_v2": "f9810ea40ab4721486631d02578e3b62811871d66f80ee350dc574ca63d72e12"
|
||||
},
|
||||
"model_source": "hf",
|
||||
"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 {{- \"}\" }}\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",
|
||||
"chat_template_sha": "e10ca381b1ccc5cf9db52e371f3b6651576caee0a630b452e2816b2d404d4b65",
|
||||
"start_time": 1610421.453807966,
|
||||
"end_time": 1610498.158299866,
|
||||
"total_evaluation_time_seconds": "76.70449189981446"
|
||||
}
|
||||
127
evaluations/ar/Meta-Llama-3.1-8B-Instruct/exams_ar_5_shot.json
Normal file
127
evaluations/ar/Meta-Llama-3.1-8B-Instruct/exams_ar_5_shot.json
Normal file
@@ -0,0 +1,127 @@
|
||||
{
|
||||
"results": {
|
||||
"exams_ar": {
|
||||
"alias": "exams_ar",
|
||||
"acc,none": 0.5251396648044693,
|
||||
"acc_stderr,none": 0.02156939500417479,
|
||||
"acc_norm,none": 0.5251396648044693,
|
||||
"acc_norm_stderr,none": 0.02156939500417479
|
||||
}
|
||||
},
|
||||
"group_subtasks": {
|
||||
"exams_ar": []
|
||||
},
|
||||
"configs": {
|
||||
"exams_ar": {
|
||||
"task": "exams_ar",
|
||||
"tag": [
|
||||
"multiple_choice"
|
||||
],
|
||||
"dataset_path": "lm_eval/tasks/exams_ar",
|
||||
"dataset_name": "exams_ar",
|
||||
"dataset_kwargs": {
|
||||
"trust_remote_code": true
|
||||
},
|
||||
"validation_split": "validation",
|
||||
"test_split": "test",
|
||||
"fewshot_split": "validation",
|
||||
"process_docs": "def process_docs(dataset: datasets.Dataset) -> datasets.Dataset:\n\n def _process_docs(doc):\n def format_example(doc, keys):\n \"\"\"\n <prompt>\n \u0633\u0624\u0627\u0644:\n A. <choice1>\n B. <choice2>\n C. <choice3>\n D. <choice4>\n \u0627\u062c\u0627\u0628\u0629:\n \"\"\"\n \n question = doc[\"question\"].strip()\n \n choices = \"\".join(\n [f\"{key}. {choice}\\n\" for key, choice in zip(keys, doc[\"choices\"])]\n )\n prompt = f\"\u0627\u0644\u0633\u0624\u0627\u0644: {question}\\n{choices} \\n\u0627\u0644\u0627\u062c\u0627\u0628\u0629:\"\n return prompt\n\n def _format_subject(subject):\n arabic_words = subtasks_ar[subtasks.index(subject)]\n return arabic_words\n\n keys = [\"A\", \"B\", \"C\", \"D\"]\n \n subject = doc['id'].split(\"-\")[0]\n description = f\"\ufed2\ufef4\ufee3\ufe8d \ufef2\ufee0\ufef3 \ufe84\ufeb4\ufe8c\ufedf\ufe93 \ufe8d\ufefc\ufea8\ufe98\ufef3\ufe8d\ufead \ufee2\ufee7 \ufee2\ufe98\ufecb\ufea9\ufea9 (\ufee2\ufecb \ufe8d\ufefa\ufe9f\ufe8e\ufe91\ufe8e\ufe97) \ufea1\ufeee\ufedf {_format_subject(subject)} \\n\" #\ufee2\ufee7 \ufed2\ufec0\ufee0\ufedb \ufe8e\ufea8\ufe97\ufead \ufe88\ufe9f\ufe8e\ufe91\ufe93 \ufeed\ufe8e\ufea3\ufea9\ufe93 \ufee2\ufee7 \ufe90\ufef4\ufee7 'A\u060c B\u060c C\u060c D' \ufea9\ufeee\ufee7 \ufeb5\ufeae\ufea3\\n\"\n\n out_doc = {\n \"idx\": doc[\"idx\"],\n \"id\": doc[\"id\"],\n 'dsecription': description,\n \"query\": format_example(doc, keys), # \"Question: \" + doc[\"question\"]['stem'] + \"\\nAnswer:\",\n \"choices\": keys,\n \"gold\": [\"A\", \"B\", \"C\", \"D\"].index(doc[\"label\"]),\n }\n return out_doc\n\n return dataset.map(_process_docs)\n",
|
||||
"doc_to_text": "query",
|
||||
"doc_to_target": "gold",
|
||||
"doc_to_choice": "choices",
|
||||
"description": "description",
|
||||
"target_delimiter": " ",
|
||||
"fewshot_delimiter": "\n\n",
|
||||
"num_fewshot": 5,
|
||||
"metric_list": [
|
||||
{
|
||||
"metric": "acc",
|
||||
"aggregation": "mean",
|
||||
"higher_is_better": true
|
||||
},
|
||||
{
|
||||
"metric": "acc_norm",
|
||||
"aggregation": "mean",
|
||||
"higher_is_better": true
|
||||
}
|
||||
],
|
||||
"output_type": "multiple_choice",
|
||||
"repeats": 1,
|
||||
"should_decontaminate": true,
|
||||
"doc_to_decontamination_query": "query",
|
||||
"metadata": {
|
||||
"version": 1.0
|
||||
}
|
||||
}
|
||||
},
|
||||
"versions": {
|
||||
"exams_ar": 1.0
|
||||
},
|
||||
"n-shot": {
|
||||
"exams_ar": 5
|
||||
},
|
||||
"higher_is_better": {
|
||||
"exams_ar": {
|
||||
"acc": true,
|
||||
"acc_norm": true
|
||||
}
|
||||
},
|
||||
"n-samples": {
|
||||
"exams_ar": {
|
||||
"original": 537,
|
||||
"effective": 537
|
||||
}
|
||||
},
|
||||
"config": {
|
||||
"model": "hf",
|
||||
"model_args": "pretrained=meta-llama/Meta-Llama-3.1-8B-Instruct,trust_remote_code=True,cache_dir=/tmp,parallelize=False",
|
||||
"model_num_parameters": 8030261248,
|
||||
"model_dtype": "torch.bfloat16",
|
||||
"model_revision": "main",
|
||||
"model_sha": "0e9e39f249a16976918f6564b8830bc894c89659",
|
||||
"batch_size": "auto",
|
||||
"batch_sizes": [
|
||||
64
|
||||
],
|
||||
"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": 1737779550.003421,
|
||||
"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 80GB PCIe\nGPU 1: NVIDIA A100 80GB PCIe\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): 48\nOn-line CPU(s) list: 0-47\nVendor ID: AuthenticAMD\nModel name: AMD EPYC 7V13 64-Core Processor\nCPU family: 25\nModel: 1\nThread(s) per core: 1\nCore(s) per socket: 48\nSocket(s): 1\nStepping: 1\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 pcid 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 invpcid_single vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr rdpru arat umip vaes vpclmulqdq rdpid fsrm\nHypervisor vendor: Microsoft\nVirtualization type: full\nL1d cache: 1.5 MiB (48 instances)\nL1i cache: 1.5 MiB (48 instances)\nL2 cache: 24 MiB (48 instances)\nL3 cache: 192 MiB (6 instances)\nNUMA node(s): 2\nNUMA node0 CPU(s): 0-23\nNUMA node1 CPU(s): 24-47\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: Not affected\nVulnerability Spec rstack overflow: Mitigation; safe RET, no microcode\nVulnerability Spec store bypass: Vulnerable\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: Not affected\n\nVersions of relevant libraries:\n[pip3] numpy==1.26.4\n[pip3] onnx==1.14.0\n[pip3] pytorch-lightning==2.0.7\n[pip3] pytorch-quantization==2.1.2\n[pip3] torch==2.4.0\n[pip3] torch-tensorrt==2.0.0.dev0\n[pip3] torchaudio==2.1.0\n[pip3] torchdata==0.7.0a0\n[pip3] torchmetrics==1.2.0\n[pip3] torchvision==0.19.0\n[pip3] triton==3.0.0\n[conda] Could not collect",
|
||||
"transformers_version": "4.48.1",
|
||||
"upper_git_hash": "086919bd66f4e15fdcd4b792a7b27a698c1ba091",
|
||||
"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": {},
|
||||
"model_source": "hf",
|
||||
"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": null,
|
||||
"chat_template_sha": null,
|
||||
"start_time": 26630.902640257,
|
||||
"end_time": 26676.356655983,
|
||||
"total_evaluation_time_seconds": "45.45401572599803"
|
||||
}
|
||||
545
evaluations/ar/Meta-Llama-3.1-8B-Instruct/gat_0_shot.json
Normal file
545
evaluations/ar/Meta-Llama-3.1-8B-Instruct/gat_0_shot.json
Normal file
@@ -0,0 +1,545 @@
|
||||
{
|
||||
"results": {
|
||||
"gat": {
|
||||
"acc,none": 0.3090430201931519,
|
||||
"acc_stderr,none": 0.003623669512802982,
|
||||
"alias": "gat"
|
||||
},
|
||||
"gat_algebra": {
|
||||
"alias": " - gat_algebra",
|
||||
"acc,none": 0.25120593692022264,
|
||||
"acc_stderr,none": 0.008355979196698268
|
||||
},
|
||||
"gat_analogy": {
|
||||
"alias": " - gat_analogy",
|
||||
"acc,none": 0.2754098360655738,
|
||||
"acc_stderr,none": 0.008527935108212162
|
||||
},
|
||||
"gat_arithmetic": {
|
||||
"alias": " - gat_arithmetic",
|
||||
"acc,none": 0.2929701877070298,
|
||||
"acc_stderr,none": 0.00873304494093164
|
||||
},
|
||||
"gat_association": {
|
||||
"alias": " - gat_association",
|
||||
"acc,none": 0.26889952153110047,
|
||||
"acc_stderr,none": 0.013722501896040254
|
||||
},
|
||||
"gat_comparisons": {
|
||||
"alias": " - gat_comparisons",
|
||||
"acc,none": 0.26721311475409837,
|
||||
"acc_stderr,none": 0.01267406341937153
|
||||
},
|
||||
"gat_completion": {
|
||||
"alias": " - gat_completion",
|
||||
"acc,none": 0.37355371900826445,
|
||||
"acc_stderr,none": 0.013912503912467983
|
||||
},
|
||||
"gat_contextual": {
|
||||
"alias": " - gat_contextual",
|
||||
"acc,none": 0.28450920245398775,
|
||||
"acc_stderr,none": 0.012499077975909817
|
||||
},
|
||||
"gat_geometry": {
|
||||
"alias": " - gat_geometry",
|
||||
"acc,none": 0.2876712328767123,
|
||||
"acc_stderr,none": 0.023726723391354478
|
||||
},
|
||||
"gat_reading": {
|
||||
"alias": " - gat_reading",
|
||||
"acc,none": 0.4400756143667297,
|
||||
"acc_stderr,none": 0.009653784894336059
|
||||
}
|
||||
},
|
||||
"groups": {
|
||||
"gat": {
|
||||
"acc,none": 0.3090430201931519,
|
||||
"acc_stderr,none": 0.003623669512802982,
|
||||
"alias": "gat"
|
||||
}
|
||||
},
|
||||
"group_subtasks": {
|
||||
"gat": [
|
||||
"gat_analogy",
|
||||
"gat_association",
|
||||
"gat_completion",
|
||||
"gat_reading",
|
||||
"gat_algebra",
|
||||
"gat_arithmetic",
|
||||
"gat_comparisons",
|
||||
"gat_contextual",
|
||||
"gat_geometry"
|
||||
]
|
||||
},
|
||||
"configs": {
|
||||
"gat_algebra": {
|
||||
"task": "gat_algebra",
|
||||
"dataset_path": "lm_eval/tasks/gat/gat_data/gat.py",
|
||||
"dataset_name": "algebra",
|
||||
"dataset_kwargs": {
|
||||
"trust_remote_code": true
|
||||
},
|
||||
"test_split": "test",
|
||||
"fewshot_split": "validation",
|
||||
"process_docs": "def process_docs(dataset: datasets.Dataset) -> datasets.Dataset:\n # def _process_doc(doc):\n \n # subject = doc['id'].split(\"-\")[0]\n # subject_ar = subtasks_ar[subtasks.index(subject)]\n # out_doc = {**doc, 'subject_ar': subject_ar}\n # print(subject_ar)\n # print(out_doc)\n # return out_doc\n\n return dataset\n",
|
||||
"doc_to_text": "{{question}}\n\u0623. {{choices[0]}}\n\u0628. {{choices[1]}}\n\u062c. {{choices[2]}}\n\u062f. {{choices[3]}}\n\u0627\u0644\u0627\u062c\u0627\u0628\u0629:",
|
||||
"doc_to_target": "{{label}}",
|
||||
"doc_to_choice": [
|
||||
"\u0623",
|
||||
"\u0628",
|
||||
"\u062c",
|
||||
"\u062f"
|
||||
],
|
||||
"description": "",
|
||||
"target_delimiter": " ",
|
||||
"fewshot_delimiter": "\n\n",
|
||||
"num_fewshot": 0,
|
||||
"metric_list": [
|
||||
{
|
||||
"metric": "acc",
|
||||
"aggregation": "mean",
|
||||
"higher_is_better": true
|
||||
}
|
||||
],
|
||||
"output_type": "multiple_choice",
|
||||
"repeats": 1,
|
||||
"should_decontaminate": false,
|
||||
"metadata": {
|
||||
"version": 0.0
|
||||
}
|
||||
},
|
||||
"gat_analogy": {
|
||||
"task": "gat_analogy",
|
||||
"dataset_path": "lm_eval/tasks/gat/gat_data/gat.py",
|
||||
"dataset_name": "analogy",
|
||||
"dataset_kwargs": {
|
||||
"trust_remote_code": true
|
||||
},
|
||||
"test_split": "test",
|
||||
"fewshot_split": "validation",
|
||||
"process_docs": "def process_docs(dataset: datasets.Dataset) -> datasets.Dataset:\n # def _process_doc(doc):\n \n # subject = doc['id'].split(\"-\")[0]\n # subject_ar = subtasks_ar[subtasks.index(subject)]\n # out_doc = {**doc, 'subject_ar': subject_ar}\n # print(subject_ar)\n # print(out_doc)\n # return out_doc\n\n return dataset\n",
|
||||
"doc_to_text": "{{question}}\n\u0623. {{choices[0]}}\n\u0628. {{choices[1]}}\n\u062c. {{choices[2]}}\n\u062f. {{choices[3]}}\n\u0627\u0644\u0627\u062c\u0627\u0628\u0629:",
|
||||
"doc_to_target": "{{label}}",
|
||||
"doc_to_choice": [
|
||||
"\u0623",
|
||||
"\u0628",
|
||||
"\u062c",
|
||||
"\u062f"
|
||||
],
|
||||
"description": "",
|
||||
"target_delimiter": " ",
|
||||
"fewshot_delimiter": "\n\n",
|
||||
"num_fewshot": 0,
|
||||
"metric_list": [
|
||||
{
|
||||
"metric": "acc",
|
||||
"aggregation": "mean",
|
||||
"higher_is_better": true
|
||||
}
|
||||
],
|
||||
"output_type": "multiple_choice",
|
||||
"repeats": 1,
|
||||
"should_decontaminate": false,
|
||||
"metadata": {
|
||||
"version": 0.0
|
||||
}
|
||||
},
|
||||
"gat_arithmetic": {
|
||||
"task": "gat_arithmetic",
|
||||
"dataset_path": "lm_eval/tasks/gat/gat_data/gat.py",
|
||||
"dataset_name": "arithmetic",
|
||||
"dataset_kwargs": {
|
||||
"trust_remote_code": true
|
||||
},
|
||||
"test_split": "test",
|
||||
"fewshot_split": "validation",
|
||||
"process_docs": "def process_docs(dataset: datasets.Dataset) -> datasets.Dataset:\n # def _process_doc(doc):\n \n # subject = doc['id'].split(\"-\")[0]\n # subject_ar = subtasks_ar[subtasks.index(subject)]\n # out_doc = {**doc, 'subject_ar': subject_ar}\n # print(subject_ar)\n # print(out_doc)\n # return out_doc\n\n return dataset\n",
|
||||
"doc_to_text": "{{question}}\n\u0623. {{choices[0]}}\n\u0628. {{choices[1]}}\n\u062c. {{choices[2]}}\n\u062f. {{choices[3]}}\n\u0627\u0644\u0627\u062c\u0627\u0628\u0629:",
|
||||
"doc_to_target": "{{label}}",
|
||||
"doc_to_choice": [
|
||||
"\u0623",
|
||||
"\u0628",
|
||||
"\u062c",
|
||||
"\u062f"
|
||||
],
|
||||
"description": "",
|
||||
"target_delimiter": " ",
|
||||
"fewshot_delimiter": "\n\n",
|
||||
"num_fewshot": 0,
|
||||
"metric_list": [
|
||||
{
|
||||
"metric": "acc",
|
||||
"aggregation": "mean",
|
||||
"higher_is_better": true
|
||||
}
|
||||
],
|
||||
"output_type": "multiple_choice",
|
||||
"repeats": 1,
|
||||
"should_decontaminate": false,
|
||||
"metadata": {
|
||||
"version": 0.0
|
||||
}
|
||||
},
|
||||
"gat_association": {
|
||||
"task": "gat_association",
|
||||
"dataset_path": "lm_eval/tasks/gat/gat_data/gat.py",
|
||||
"dataset_name": "association",
|
||||
"dataset_kwargs": {
|
||||
"trust_remote_code": true
|
||||
},
|
||||
"test_split": "test",
|
||||
"fewshot_split": "validation",
|
||||
"process_docs": "def process_docs(dataset: datasets.Dataset) -> datasets.Dataset:\n # def _process_doc(doc):\n \n # subject = doc['id'].split(\"-\")[0]\n # subject_ar = subtasks_ar[subtasks.index(subject)]\n # out_doc = {**doc, 'subject_ar': subject_ar}\n # print(subject_ar)\n # print(out_doc)\n # return out_doc\n\n return dataset\n",
|
||||
"doc_to_text": "{{question}}\n\u0623. {{choices[0]}}\n\u0628. {{choices[1]}}\n\u062c. {{choices[2]}}\n\u062f. {{choices[3]}}\n\u0627\u0644\u0627\u062c\u0627\u0628\u0629:",
|
||||
"doc_to_target": "{{label}}",
|
||||
"doc_to_choice": [
|
||||
"\u0623",
|
||||
"\u0628",
|
||||
"\u062c",
|
||||
"\u062f"
|
||||
],
|
||||
"description": "",
|
||||
"target_delimiter": " ",
|
||||
"fewshot_delimiter": "\n\n",
|
||||
"num_fewshot": 0,
|
||||
"metric_list": [
|
||||
{
|
||||
"metric": "acc",
|
||||
"aggregation": "mean",
|
||||
"higher_is_better": true
|
||||
}
|
||||
],
|
||||
"output_type": "multiple_choice",
|
||||
"repeats": 1,
|
||||
"should_decontaminate": false,
|
||||
"metadata": {
|
||||
"version": 0.0
|
||||
}
|
||||
},
|
||||
"gat_comparisons": {
|
||||
"task": "gat_comparisons",
|
||||
"dataset_path": "lm_eval/tasks/gat/gat_data/gat.py",
|
||||
"dataset_name": "comparisons",
|
||||
"dataset_kwargs": {
|
||||
"trust_remote_code": true
|
||||
},
|
||||
"test_split": "test",
|
||||
"fewshot_split": "validation",
|
||||
"process_docs": "def process_docs(dataset: datasets.Dataset) -> datasets.Dataset:\n # def _process_doc(doc):\n \n # subject = doc['id'].split(\"-\")[0]\n # subject_ar = subtasks_ar[subtasks.index(subject)]\n # out_doc = {**doc, 'subject_ar': subject_ar}\n # print(subject_ar)\n # print(out_doc)\n # return out_doc\n\n return dataset\n",
|
||||
"doc_to_text": "{{question}}\n\u0623. {{choices[0]}}\n\u0628. {{choices[1]}}\n\u062c. {{choices[2]}}\n\u062f. {{choices[3]}}\n\u0627\u0644\u0627\u062c\u0627\u0628\u0629:",
|
||||
"doc_to_target": "{{label}}",
|
||||
"doc_to_choice": [
|
||||
"\u0623",
|
||||
"\u0628",
|
||||
"\u062c",
|
||||
"\u062f"
|
||||
],
|
||||
"description": "",
|
||||
"target_delimiter": " ",
|
||||
"fewshot_delimiter": "\n\n",
|
||||
"num_fewshot": 0,
|
||||
"metric_list": [
|
||||
{
|
||||
"metric": "acc",
|
||||
"aggregation": "mean",
|
||||
"higher_is_better": true
|
||||
}
|
||||
],
|
||||
"output_type": "multiple_choice",
|
||||
"repeats": 1,
|
||||
"should_decontaminate": false,
|
||||
"metadata": {
|
||||
"version": 0.0
|
||||
}
|
||||
},
|
||||
"gat_completion": {
|
||||
"task": "gat_completion",
|
||||
"dataset_path": "lm_eval/tasks/gat/gat_data/gat.py",
|
||||
"dataset_name": "completion",
|
||||
"dataset_kwargs": {
|
||||
"trust_remote_code": true
|
||||
},
|
||||
"test_split": "test",
|
||||
"fewshot_split": "validation",
|
||||
"process_docs": "def process_docs(dataset: datasets.Dataset) -> datasets.Dataset:\n # def _process_doc(doc):\n \n # subject = doc['id'].split(\"-\")[0]\n # subject_ar = subtasks_ar[subtasks.index(subject)]\n # out_doc = {**doc, 'subject_ar': subject_ar}\n # print(subject_ar)\n # print(out_doc)\n # return out_doc\n\n return dataset\n",
|
||||
"doc_to_text": "{{question}}\n\u0623. {{choices[0]}}\n\u0628. {{choices[1]}}\n\u062c. {{choices[2]}}\n\u062f. {{choices[3]}}\n\u0627\u0644\u0627\u062c\u0627\u0628\u0629:",
|
||||
"doc_to_target": "{{label}}",
|
||||
"doc_to_choice": [
|
||||
"\u0623",
|
||||
"\u0628",
|
||||
"\u062c",
|
||||
"\u062f"
|
||||
],
|
||||
"description": "",
|
||||
"target_delimiter": " ",
|
||||
"fewshot_delimiter": "\n\n",
|
||||
"num_fewshot": 0,
|
||||
"metric_list": [
|
||||
{
|
||||
"metric": "acc",
|
||||
"aggregation": "mean",
|
||||
"higher_is_better": true
|
||||
}
|
||||
],
|
||||
"output_type": "multiple_choice",
|
||||
"repeats": 1,
|
||||
"should_decontaminate": false,
|
||||
"metadata": {
|
||||
"version": 0.0
|
||||
}
|
||||
},
|
||||
"gat_contextual": {
|
||||
"task": "gat_contextual",
|
||||
"dataset_path": "lm_eval/tasks/gat/gat_data/gat.py",
|
||||
"dataset_name": "contextual",
|
||||
"dataset_kwargs": {
|
||||
"trust_remote_code": true
|
||||
},
|
||||
"test_split": "test",
|
||||
"fewshot_split": "validation",
|
||||
"process_docs": "def process_docs(dataset: datasets.Dataset) -> datasets.Dataset:\n # def _process_doc(doc):\n \n # subject = doc['id'].split(\"-\")[0]\n # subject_ar = subtasks_ar[subtasks.index(subject)]\n # out_doc = {**doc, 'subject_ar': subject_ar}\n # print(subject_ar)\n # print(out_doc)\n # return out_doc\n\n return dataset\n",
|
||||
"doc_to_text": "{{question}}\n\u0623. {{choices[0]}}\n\u0628. {{choices[1]}}\n\u062c. {{choices[2]}}\n\u062f. {{choices[3]}}\n\u0627\u0644\u0627\u062c\u0627\u0628\u0629:",
|
||||
"doc_to_target": "{{label}}",
|
||||
"doc_to_choice": [
|
||||
"\u0623",
|
||||
"\u0628",
|
||||
"\u062c",
|
||||
"\u062f"
|
||||
],
|
||||
"description": "\u0627\u0648\u062c\u062f \u0627\u0644\u062e\u0637\u0623 \u0627\u0644\u0633\u064a\u0627\u0642\u064a \u0641\u064a \u0627\u0644\u0639\u0628\u0627\u0631\u0629 \u0627\u0644\u062a\u0627\u0644\u064a\u0629 \u0645\u0646 \u0628\u064a\u0646 \u0627\u0644\u062e\u064a\u0627\u0631\u0627\u062a:",
|
||||
"target_delimiter": " ",
|
||||
"fewshot_delimiter": "\n\n",
|
||||
"num_fewshot": 0,
|
||||
"metric_list": [
|
||||
{
|
||||
"metric": "acc",
|
||||
"aggregation": "mean",
|
||||
"higher_is_better": true
|
||||
}
|
||||
],
|
||||
"output_type": "multiple_choice",
|
||||
"repeats": 1,
|
||||
"should_decontaminate": false,
|
||||
"metadata": {
|
||||
"version": 0.0
|
||||
}
|
||||
},
|
||||
"gat_geometry": {
|
||||
"task": "gat_geometry",
|
||||
"dataset_path": "lm_eval/tasks/gat/gat_data/gat.py",
|
||||
"dataset_name": "geometry",
|
||||
"dataset_kwargs": {
|
||||
"trust_remote_code": true
|
||||
},
|
||||
"test_split": "test",
|
||||
"fewshot_split": "validation",
|
||||
"process_docs": "def process_docs(dataset: datasets.Dataset) -> datasets.Dataset:\n # def _process_doc(doc):\n \n # subject = doc['id'].split(\"-\")[0]\n # subject_ar = subtasks_ar[subtasks.index(subject)]\n # out_doc = {**doc, 'subject_ar': subject_ar}\n # print(subject_ar)\n # print(out_doc)\n # return out_doc\n\n return dataset\n",
|
||||
"doc_to_text": "{{question}}\n\u0623. {{choices[0]}}\n\u0628. {{choices[1]}}\n\u062c. {{choices[2]}}\n\u062f. {{choices[3]}}\n\u0627\u0644\u0627\u062c\u0627\u0628\u0629:",
|
||||
"doc_to_target": "{{label}}",
|
||||
"doc_to_choice": [
|
||||
"\u0623",
|
||||
"\u0628",
|
||||
"\u062c",
|
||||
"\u062f"
|
||||
],
|
||||
"description": "",
|
||||
"target_delimiter": " ",
|
||||
"fewshot_delimiter": "\n\n",
|
||||
"num_fewshot": 0,
|
||||
"metric_list": [
|
||||
{
|
||||
"metric": "acc",
|
||||
"aggregation": "mean",
|
||||
"higher_is_better": true
|
||||
}
|
||||
],
|
||||
"output_type": "multiple_choice",
|
||||
"repeats": 1,
|
||||
"should_decontaminate": false,
|
||||
"metadata": {
|
||||
"version": 0.0
|
||||
}
|
||||
},
|
||||
"gat_reading": {
|
||||
"task": "gat_reading",
|
||||
"dataset_path": "lm_eval/tasks/gat/gat_data/gat.py",
|
||||
"dataset_name": "reading",
|
||||
"dataset_kwargs": {
|
||||
"trust_remote_code": true
|
||||
},
|
||||
"test_split": "test",
|
||||
"fewshot_split": "validation",
|
||||
"process_docs": "def process_docs(dataset: datasets.Dataset) -> datasets.Dataset:\n # def _process_doc(doc):\n \n # subject = doc['id'].split(\"-\")[0]\n # subject_ar = subtasks_ar[subtasks.index(subject)]\n # out_doc = {**doc, 'subject_ar': subject_ar}\n # print(subject_ar)\n # print(out_doc)\n # return out_doc\n\n return dataset\n",
|
||||
"doc_to_text": "{{question}}\n\u0623. {{choices[0]}}\n\u0628. {{choices[1]}}\n\u062c. {{choices[2]}}\n\u062f. {{choices[3]}}\n\u0627\u0644\u0627\u062c\u0627\u0628\u0629:",
|
||||
"doc_to_target": "{{label}}",
|
||||
"doc_to_choice": [
|
||||
"\u0623",
|
||||
"\u0628",
|
||||
"\u062c",
|
||||
"\u062f"
|
||||
],
|
||||
"description": "",
|
||||
"target_delimiter": " ",
|
||||
"fewshot_delimiter": "\n\n",
|
||||
"num_fewshot": 0,
|
||||
"metric_list": [
|
||||
{
|
||||
"metric": "acc",
|
||||
"aggregation": "mean",
|
||||
"higher_is_better": true
|
||||
}
|
||||
],
|
||||
"output_type": "multiple_choice",
|
||||
"repeats": 1,
|
||||
"should_decontaminate": false,
|
||||
"metadata": {
|
||||
"version": 0.0
|
||||
}
|
||||
}
|
||||
},
|
||||
"versions": {
|
||||
"gat": 0,
|
||||
"gat_algebra": 0.0,
|
||||
"gat_analogy": 0.0,
|
||||
"gat_arithmetic": 0.0,
|
||||
"gat_association": 0.0,
|
||||
"gat_comparisons": 0.0,
|
||||
"gat_completion": 0.0,
|
||||
"gat_contextual": 0.0,
|
||||
"gat_geometry": 0.0,
|
||||
"gat_reading": 0.0
|
||||
},
|
||||
"n-shot": {
|
||||
"gat_algebra": 0,
|
||||
"gat_analogy": 0,
|
||||
"gat_arithmetic": 0,
|
||||
"gat_association": 0,
|
||||
"gat_comparisons": 0,
|
||||
"gat_completion": 0,
|
||||
"gat_contextual": 0,
|
||||
"gat_geometry": 0,
|
||||
"gat_reading": 0
|
||||
},
|
||||
"higher_is_better": {
|
||||
"gat": {
|
||||
"acc": true
|
||||
},
|
||||
"gat_algebra": {
|
||||
"acc": true
|
||||
},
|
||||
"gat_analogy": {
|
||||
"acc": true
|
||||
},
|
||||
"gat_arithmetic": {
|
||||
"acc": true
|
||||
},
|
||||
"gat_association": {
|
||||
"acc": true
|
||||
},
|
||||
"gat_comparisons": {
|
||||
"acc": true
|
||||
},
|
||||
"gat_completion": {
|
||||
"acc": true
|
||||
},
|
||||
"gat_contextual": {
|
||||
"acc": true
|
||||
},
|
||||
"gat_geometry": {
|
||||
"acc": true
|
||||
},
|
||||
"gat_reading": {
|
||||
"acc": true
|
||||
}
|
||||
},
|
||||
"n-samples": {
|
||||
"gat_analogy": {
|
||||
"original": 2745,
|
||||
"effective": 2745
|
||||
},
|
||||
"gat_association": {
|
||||
"original": 1045,
|
||||
"effective": 1045
|
||||
},
|
||||
"gat_completion": {
|
||||
"original": 1210,
|
||||
"effective": 1210
|
||||
},
|
||||
"gat_reading": {
|
||||
"original": 2645,
|
||||
"effective": 2645
|
||||
},
|
||||
"gat_algebra": {
|
||||
"original": 2695,
|
||||
"effective": 2695
|
||||
},
|
||||
"gat_arithmetic": {
|
||||
"original": 2717,
|
||||
"effective": 2717
|
||||
},
|
||||
"gat_comparisons": {
|
||||
"original": 1220,
|
||||
"effective": 1220
|
||||
},
|
||||
"gat_contextual": {
|
||||
"original": 1304,
|
||||
"effective": 1304
|
||||
},
|
||||
"gat_geometry": {
|
||||
"original": 365,
|
||||
"effective": 365
|
||||
}
|
||||
},
|
||||
"config": {
|
||||
"model": "hf",
|
||||
"model_args": "pretrained=meta-llama/Meta-Llama-3.1-8B-Instruct,trust_remote_code=True,cache_dir=/tmp,parallelize=False",
|
||||
"model_num_parameters": 8030261248,
|
||||
"model_dtype": "torch.bfloat16",
|
||||
"model_revision": "main",
|
||||
"model_sha": "0e9e39f249a16976918f6564b8830bc894c89659",
|
||||
"batch_size": "auto",
|
||||
"batch_sizes": [
|
||||
16
|
||||
],
|
||||
"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": 1737768859.2760568,
|
||||
"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 80GB PCIe\nGPU 1: NVIDIA A100 80GB PCIe\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): 48\nOn-line CPU(s) list: 0-47\nVendor ID: AuthenticAMD\nModel name: AMD EPYC 7V13 64-Core Processor\nCPU family: 25\nModel: 1\nThread(s) per core: 1\nCore(s) per socket: 48\nSocket(s): 1\nStepping: 1\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 pcid 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 invpcid_single vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr rdpru arat umip vaes vpclmulqdq rdpid fsrm\nHypervisor vendor: Microsoft\nVirtualization type: full\nL1d cache: 1.5 MiB (48 instances)\nL1i cache: 1.5 MiB (48 instances)\nL2 cache: 24 MiB (48 instances)\nL3 cache: 192 MiB (6 instances)\nNUMA node(s): 2\nNUMA node0 CPU(s): 0-23\nNUMA node1 CPU(s): 24-47\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: Not affected\nVulnerability Spec rstack overflow: Mitigation; safe RET, no microcode\nVulnerability Spec store bypass: Vulnerable\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: Not affected\n\nVersions of relevant libraries:\n[pip3] numpy==1.26.4\n[pip3] onnx==1.14.0\n[pip3] pytorch-lightning==2.0.7\n[pip3] pytorch-quantization==2.1.2\n[pip3] torch==2.4.0\n[pip3] torch-tensorrt==2.0.0.dev0\n[pip3] torchaudio==2.1.0\n[pip3] torchdata==0.7.0a0\n[pip3] torchmetrics==1.2.0\n[pip3] torchvision==0.19.0\n[pip3] triton==3.0.0\n[conda] Could not collect",
|
||||
"transformers_version": "4.48.1",
|
||||
"upper_git_hash": "086919bd66f4e15fdcd4b792a7b27a698c1ba091",
|
||||
"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": {},
|
||||
"model_source": "hf",
|
||||
"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": null,
|
||||
"chat_template_sha": null,
|
||||
"start_time": 15940.236927019,
|
||||
"end_time": 16130.776899079,
|
||||
"total_evaluation_time_seconds": "190.53997205999985"
|
||||
}
|
||||
@@ -0,0 +1,127 @@
|
||||
{
|
||||
"results": {
|
||||
"moe_ien_mcq": {
|
||||
"alias": "moe_ien_mcq",
|
||||
"acc,none": 0.5922922922922923,
|
||||
"acc_stderr,none": 0.004916788134998954,
|
||||
"acc_norm,none": 0.5922922922922923,
|
||||
"acc_norm_stderr,none": 0.004916788134998954
|
||||
}
|
||||
},
|
||||
"group_subtasks": {
|
||||
"moe_ien_mcq": []
|
||||
},
|
||||
"configs": {
|
||||
"moe_ien_mcq": {
|
||||
"task": "moe_ien_mcq",
|
||||
"dataset_path": "lm_eval/tasks/moe_ien_mcq/ien_moe_mcq.py",
|
||||
"dataset_name": "moe_ien_mcq",
|
||||
"dataset_kwargs": {
|
||||
"trust_remote_code": true
|
||||
},
|
||||
"validation_split": "validation",
|
||||
"test_split": "test",
|
||||
"fewshot_split": "validation",
|
||||
"process_docs": "def process_docs(dataset: datasets.Dataset) -> datasets.Dataset:\n def _process_docs(doc): \n def remove_prefix(choice):\n return choice.split(\". \", 1)[1] if \". \" in choice else choice\n\n def format_example(doc, keys):\n question = doc[\"Question\"].strip()\n \n choices = \"\".join(\n [f\"{key}. {remove_prefix(choice)}\\n\" for key, choice in zip(keys, doc[\"Choices\"])]\n \n )\n prompt = f\"\\n\\n\u0633\u0624\u0627\u0644: {question}\\n{choices} \\n\u0627\u062c\u0627\u0628\u0629:\"\n return prompt\n\n keys = [\"A\", \"B\", \"C\", \"D\", \"E\", \"F\"][0:len(doc[\"Choices\"])]\n out_doc = {\n \"Query\": format_example(doc, keys), \n \"Choices\": keys,\n \"gold\": int(doc[\"Answer\"])-1, ## \n } \n return out_doc\n \n return dataset.map(_process_docs)\n",
|
||||
"doc_to_text": "Query",
|
||||
"doc_to_target": "gold",
|
||||
"doc_to_choice": "{{Choices}}",
|
||||
"description": "\u0641\u064a\u0645\u0627\u202f\u064a\u0644\u064a\u202f\u0623\u0633\u0626\u0644\u0629\u202f\u0627\u0644\u0627\u062e\u062a\u064a\u0627\u0631\u202f\u0645\u0646\u202f\u0645\u062a\u0639\u062f\u062f\u202f(\u0645\u0639\u202f\u0627\u0644\u0625\u062c\u0627\u0628\u0627\u062a)\u202f\u0641\u064a\u202f{{Subject}}",
|
||||
"target_delimiter": " ",
|
||||
"fewshot_delimiter": "\n\n",
|
||||
"fewshot_config": {
|
||||
"sampler": "balanced_cat"
|
||||
},
|
||||
"num_fewshot": 0,
|
||||
"metric_list": [
|
||||
{
|
||||
"metric": "acc",
|
||||
"aggregation": "mean",
|
||||
"higher_is_better": true
|
||||
},
|
||||
{
|
||||
"metric": "acc_norm",
|
||||
"aggregation": "mean",
|
||||
"higher_is_better": true
|
||||
}
|
||||
],
|
||||
"output_type": "multiple_choice",
|
||||
"repeats": 1,
|
||||
"should_decontaminate": true,
|
||||
"doc_to_decontamination_query": "Query",
|
||||
"metadata": {
|
||||
"version": 0.0
|
||||
}
|
||||
}
|
||||
},
|
||||
"versions": {
|
||||
"moe_ien_mcq": 0.0
|
||||
},
|
||||
"n-shot": {
|
||||
"moe_ien_mcq": 0
|
||||
},
|
||||
"higher_is_better": {
|
||||
"moe_ien_mcq": {
|
||||
"acc": true,
|
||||
"acc_norm": true
|
||||
}
|
||||
},
|
||||
"n-samples": {
|
||||
"moe_ien_mcq": {
|
||||
"original": 9990,
|
||||
"effective": 9990
|
||||
}
|
||||
},
|
||||
"config": {
|
||||
"model": "hf",
|
||||
"model_args": "pretrained=meta-llama/Meta-Llama-3.1-8B-Instruct,trust_remote_code=True,cache_dir=/tmp,parallelize=True",
|
||||
"model_num_parameters": 8030261248,
|
||||
"model_dtype": "torch.bfloat16",
|
||||
"model_revision": "main",
|
||||
"model_sha": "0e9e39f249a16976918f6564b8830bc894c89659",
|
||||
"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": "b955b2950",
|
||||
"date": 1739617794.6685781,
|
||||
"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.90\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: Not affected\n\nVersions of relevant libraries:\n[pip3] numpy==1.26.4\n[pip3] onnx==1.14.0\n[pip3] pytorch-lightning==2.0.7\n[pip3] pytorch-quantization==2.1.2\n[pip3] torch==2.4.0\n[pip3] torch-tensorrt==2.0.0.dev0\n[pip3] torchaudio==2.1.0\n[pip3] torchdata==0.7.0a0\n[pip3] torchmetrics==1.2.0\n[pip3] torchvision==0.19.0\n[pip3] triton==3.0.0\n[conda] Could not collect",
|
||||
"transformers_version": "4.48.3",
|
||||
"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": {
|
||||
"moe_ien_mcq": "2f293909f445c6fdbe42ca2044dd07ac3eb752a7c1ea459602a8757356016dd9"
|
||||
},
|
||||
"model_source": "hf",
|
||||
"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 {{- \"}\" }}\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",
|
||||
"chat_template_sha": "e10ca381b1ccc5cf9db52e371f3b6651576caee0a630b452e2816b2d404d4b65",
|
||||
"start_time": 1610569.610297447,
|
||||
"end_time": 1610870.6725387,
|
||||
"total_evaluation_time_seconds": "301.0622412529774"
|
||||
}
|
||||
125
evaluations/ar/Meta-Llama-3.1-8B-Instruct/moe_ien_tf_0_shot.json
Normal file
125
evaluations/ar/Meta-Llama-3.1-8B-Instruct/moe_ien_tf_0_shot.json
Normal file
@@ -0,0 +1,125 @@
|
||||
{
|
||||
"results": {
|
||||
"moe_ien_tf": {
|
||||
"alias": "moe_ien_tf",
|
||||
"acc,none": 0.7173278378842521,
|
||||
"acc_stderr,none": 0.005901525152083598,
|
||||
"acc_norm,none": 0.7173278378842521,
|
||||
"acc_norm_stderr,none": 0.005901525152083598
|
||||
}
|
||||
},
|
||||
"group_subtasks": {
|
||||
"moe_ien_tf": []
|
||||
},
|
||||
"configs": {
|
||||
"moe_ien_tf": {
|
||||
"task": "moe_ien_tf",
|
||||
"tag": [
|
||||
"multiple_choice"
|
||||
],
|
||||
"dataset_path": "lm_eval/tasks/moe_ien_tf/moe_ien_tf.py",
|
||||
"dataset_name": "moe_ien_tf",
|
||||
"dataset_kwargs": {
|
||||
"trust_remote_code": true
|
||||
},
|
||||
"validation_split": "validation",
|
||||
"test_split": "test",
|
||||
"fewshot_split": "validation",
|
||||
"process_docs": "def process_docs(dataset: datasets.Dataset) -> datasets.Dataset:\n def _process_docs(doc):\n keys=[\"صحيحة\",\n \"خاطئة\"\n ]\n #keys =[\"صواب\",\n # \"خطأ\"]\n target_key = int(doc[\"Answer\"])-1\n\n out_doc = {\n \"query\": \"\\n\\nالسؤال:\" +doc[\"Question\"]+\"\\nإجابة:'\", \n \"choices\": keys,\n \"gold\": target_key,\n }\n return out_doc\n return dataset.map(_process_docs)\n",
|
||||
"doc_to_text": "query",
|
||||
"doc_to_target": "gold",
|
||||
"doc_to_choice": "choices",
|
||||
"description": "فيما يلي عبارات إما صحيحة أو خاطئة حول {{Subject}}\n الرجاء تصنيف العبارة إلى 'صحيحة' أو 'خاطئة' دون شرح ",
|
||||
"target_delimiter": " ",
|
||||
"fewshot_delimiter": "\n\n",
|
||||
"fewshot_config": {
|
||||
"sampler": "balanced_cat"
|
||||
},
|
||||
"num_fewshot": 0,
|
||||
"metric_list": [
|
||||
{
|
||||
"metric": "acc",
|
||||
"aggregation": "mean",
|
||||
"higher_is_better": true
|
||||
},
|
||||
{
|
||||
"metric": "acc_norm",
|
||||
"aggregation": "mean",
|
||||
"higher_is_better": true
|
||||
}
|
||||
],
|
||||
"output_type": "multiple_choice",
|
||||
"repeats": 1,
|
||||
"should_decontaminate": false,
|
||||
"metadata": {
|
||||
"version": 2.0
|
||||
}
|
||||
}
|
||||
},
|
||||
"versions": {
|
||||
"moe_ien_tf": 2.0
|
||||
},
|
||||
"n-shot": {
|
||||
"moe_ien_tf": 0
|
||||
},
|
||||
"higher_is_better": {
|
||||
"moe_ien_tf": {
|
||||
"acc": true,
|
||||
"acc_norm": true
|
||||
}
|
||||
},
|
||||
"n-samples": {
|
||||
"moe_ien_tf": {
|
||||
"original": 5823,
|
||||
"effective": 5823
|
||||
}
|
||||
},
|
||||
"config": {
|
||||
"model": "vllm",
|
||||
"model_args": "pretrained=meta-llama/Meta-Llama-3.1-8B-Instruct,tensor_parallel_size=1,data_parallel_size=8,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": 1738682459.4089465,
|
||||
"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.88\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: Not affected\n\nVersions of relevant libraries:\n[pip3] numpy==1.26.4\n[pip3] onnx==1.14.0\n[pip3] pytorch-lightning==2.0.7\n[pip3] pytorch-quantization==2.1.2\n[pip3] torch==2.4.0\n[pip3] torch-tensorrt==2.0.0.dev0\n[pip3] torchaudio==2.1.0\n[pip3] torchdata==0.7.0a0\n[pip3] torchmetrics==1.2.0\n[pip3] torchvision==0.19.0\n[pip3] triton==3.0.0\n[conda] Could not collect",
|
||||
"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": {
|
||||
"moe_ien_tf": "8233395e832e9bd87361282558343c4a080c3ea607d00e045339d417c84f4e85"
|
||||
},
|
||||
"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 {{- \"}\" }}\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",
|
||||
"chat_template_sha": "e10ca381b1ccc5cf9db52e371f3b6651576caee0a630b452e2816b2d404d4b65",
|
||||
"start_time": 1222389.067343241,
|
||||
"end_time": 1222491.234081002,
|
||||
"total_evaluation_time_seconds": "102.16673776088282"
|
||||
}
|
||||
2662
evaluations/ar/Meta-Llama-3.1-8B-Instruct/openaimmlu_0_shot.json
Normal file
2662
evaluations/ar/Meta-Llama-3.1-8B-Instruct/openaimmlu_0_shot.json
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user