{
  "results": {
    "mmlu_pro_biology": {
      "name": "mmlu_pro_biology",
      "alias": "biology",
      "sample_len": 717,
      "exact_match,custom-extract": 0.8716875871687587,
      "exact_match_stderr,custom-extract": 0.01249851038859806
    },
    "mmlu_pro_business": {
      "name": "mmlu_pro_business",
      "alias": "business",
      "sample_len": 789,
      "exact_match,custom-extract": 0.7984790874524715,
      "exact_match_stderr,custom-extract": 0.014289884709723165
    },
    "mmlu_pro_chemistry": {
      "name": "mmlu_pro_chemistry",
      "alias": "chemistry",
      "sample_len": 1132,
      "exact_match,custom-extract": 0.8462897526501767,
      "exact_match_stderr,custom-extract": 0.010724564101310115
    },
    "mmlu_pro_computer_science": {
      "name": "mmlu_pro_computer_science",
      "alias": "computer_science",
      "sample_len": 410,
      "exact_match,custom-extract": 0.7439024390243902,
      "exact_match_stderr,custom-extract": 0.02158236626482666
    },
    "mmlu_pro_economics": {
      "name": "mmlu_pro_economics",
      "alias": "economics",
      "sample_len": 844,
      "exact_match,custom-extract": 0.8127962085308057,
      "exact_match_stderr,custom-extract": 0.013434897809670466
    },
    "mmlu_pro_engineering": {
      "name": "mmlu_pro_engineering",
      "alias": "engineering",
      "sample_len": 969,
      "exact_match,custom-extract": 0.6191950464396285,
      "exact_match_stderr,custom-extract": 0.015607284698014888
    },
    "mmlu_pro_health": {
      "name": "mmlu_pro_health",
      "alias": "health",
      "sample_len": 818,
      "exact_match,custom-extract": 0.6723716381418093,
      "exact_match_stderr,custom-extract": 0.01642042561674024
    },
    "mmlu_pro_history": {
      "name": "mmlu_pro_history",
      "alias": "history",
      "sample_len": 381,
      "exact_match,custom-extract": 0.5826771653543307,
      "exact_match_stderr,custom-extract": 0.025296374107191363
    },
    "mmlu_pro_law": {
      "name": "mmlu_pro_law",
      "alias": "law",
      "sample_len": 1101,
      "exact_match,custom-extract": 0.4586739327883742,
      "exact_match_stderr,custom-extract": 0.015023985555492846
    },
    "mmlu_pro_math": {
      "name": "mmlu_pro_math",
      "alias": "math",
      "sample_len": 1351,
      "exact_match,custom-extract": 0.9022945965951147,
      "exact_match_stderr,custom-extract": 0.008081027508483739
    },
    "mmlu_pro_other": {
      "name": "mmlu_pro_other",
      "alias": "other",
      "sample_len": 924,
      "exact_match,custom-extract": 0.6396103896103896,
      "exact_match_stderr,custom-extract": 0.015803127188671103
    },
    "mmlu_pro_philosophy": {
      "name": "mmlu_pro_philosophy",
      "alias": "philosophy",
      "sample_len": 499,
      "exact_match,custom-extract": 0.627254509018036,
      "exact_match_stderr,custom-extract": 0.021667730431157335
    },
    "mmlu_pro_physics": {
      "name": "mmlu_pro_physics",
      "alias": "physics",
      "sample_len": 1299,
      "exact_match,custom-extract": 0.8283294842186297,
      "exact_match_stderr,custom-extract": 0.01046675527286319
    },
    "mmlu_pro_psychology": {
      "name": "mmlu_pro_psychology",
      "alias": "psychology",
      "sample_len": 798,
      "exact_match,custom-extract": 0.7368421052631579,
      "exact_match_stderr,custom-extract": 0.015597904548907618
    },
    "gsm8k": {
      "name": "gsm8k",
      "alias": "gsm8k",
      "sample_len": 1319,
      "exact_match,strict-match": 0.0,
      "exact_match_stderr,strict-match": 0.0,
      "exact_match,flexible-extract": 0.8278999241849886,
      "exact_match_stderr,flexible-extract": 0.01039732805787897
    },
    "minerva_math500": {
      "name": "minerva_math500",
      "alias": "minerva_math500",
      "sample_len": 500,
      "exact_match,none": 0.0,
      "exact_match_stderr,none": 0.0,
      "math_verify,none": 0.832,
      "math_verify_stderr,none": 0.016736553541541875
    },
    "ifeval": {
      "name": "ifeval",
      "alias": "ifeval",
      "sample_len": 541,
      "prompt_level_strict_acc,none": 0.8280961182994455,
      "prompt_level_strict_acc_stderr,none": 0.016236272672335777,
      "inst_level_strict_acc,none": 0.8741007194244604,
      "inst_level_strict_acc_stderr,none": "N/A",
      "prompt_level_loose_acc,none": 0.866913123844732,
      "prompt_level_loose_acc_stderr,none": 0.014617009342904457,
      "inst_level_loose_acc,none": 0.9040767386091128,
      "inst_level_loose_acc_stderr,none": "N/A"
    },
    "hellaswag": {
      "name": "hellaswag",
      "alias": "hellaswag",
      "sample_len": 10042,
      "acc,none": 0.5064728141804421,
      "acc_stderr,none": 0.004989363276955276,
      "acc_norm,none": 0.6475801633140809,
      "acc_norm_stderr,none": 0.004767475366689769
    },
    "arc_challenge": {
      "name": "arc_challenge",
      "alias": "arc_challenge",
      "sample_len": 1172,
      "acc,none": 0.4872013651877133,
      "acc_stderr,none": 0.014606603181012609,
      "acc_norm,none": 0.49573378839590443,
      "acc_norm_stderr,none": 0.014610858923956936
    },
    "wikitext": {
      "name": "wikitext",
      "alias": "wikitext",
      "sample_len": 62,
      "word_perplexity,none": 11.297624867346807,
      "word_perplexity_stderr,none": "N/A",
      "byte_perplexity,none": 1.5736707067150604,
      "byte_perplexity_stderr,none": "N/A",
      "bits_per_byte,none": 0.6541336860231016,
      "bits_per_byte_stderr,none": "N/A"
    },
    "mmlu_pro": {
      "alias": "mmlu_pro",
      "name": "mmlu_pro",
      "sample_len": 12032,
      "exact_match,custom-extract": 0.7370345744680851,
      "exact_match_stderr,custom-extract": 0.003832453732861812,
      "sample_count": {
        "exact_match,custom-extract": 12032
      }
    }
  },
  "groups": {
    "mmlu_pro": {
      "alias": "mmlu_pro",
      "name": "mmlu_pro",
      "sample_len": 12032,
      "exact_match,custom-extract": 0.7370345744680851,
      "exact_match_stderr,custom-extract": 0.003832453732861812,
      "sample_count": {
        "exact_match,custom-extract": 12032
      }
    }
  },
  "group_subtasks": {
    "mmlu_pro": [
      "mmlu_pro_biology",
      "mmlu_pro_business",
      "mmlu_pro_chemistry",
      "mmlu_pro_computer_science",
      "mmlu_pro_economics",
      "mmlu_pro_engineering",
      "mmlu_pro_health",
      "mmlu_pro_history",
      "mmlu_pro_law",
      "mmlu_pro_math",
      "mmlu_pro_other",
      "mmlu_pro_philosophy",
      "mmlu_pro_physics",
      "mmlu_pro_psychology"
    ]
  },
  "configs": {
    "arc_challenge": {
      "task": "arc_challenge",
      "dataset_path": "allenai/ai2_arc",
      "dataset_name": "ARC-Challenge",
      "training_split": "train",
      "validation_split": "validation",
      "test_split": "test",
      "doc_to_text": "Question: {{question}}\nAnswer:",
      "doc_to_target": "{{choices.label.index(answerKey)}}",
      "unsafe_code": false,
      "doc_to_choice": "{{choices.text}}",
      "description": "",
      "target_delimiter": " ",
      "fewshot_delimiter": "\n\n",
      "fewshot_config": {
        "sampler": "default",
        "split": null,
        "process_docs": null,
        "fewshot_indices": null,
        "samples": null,
        "doc_to_text": "Question: {{question}}\nAnswer:",
        "doc_to_choice": "{{choices.text}}",
        "doc_to_target": "{{choices.label.index(answerKey)}}",
        "gen_prefix": null,
        "fewshot_delimiter": "\n\n",
        "target_delimiter": " "
      },
      "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: {{question}}\nAnswer:",
      "metadata": {
        "version": 1.0,
        "pretrained": "outputs/feature1/glaze2_w4a16_g128",
        "dtype": "bfloat16",
        "max_model_len": 12288,
        "gpu_memory_utilization": 0.85,
        "max_num_batched_tokens": 4096,
        "seed": 42,
        "enable_thinking": false,
        "config_source": "lm_eval/tasks/arc/arc_challenge.yaml"
      }
    },
    "gsm8k": {
      "task": "gsm8k",
      "dataset_path": "openai/gsm8k",
      "dataset_name": "main",
      "training_split": "train",
      "test_split": "test",
      "fewshot_split": "train",
      "doc_to_text": "Question: {{question}}\nAnswer:",
      "doc_to_target": "{{answer}}",
      "unsafe_code": false,
      "description": "",
      "target_delimiter": " ",
      "fewshot_delimiter": "\n\n",
      "fewshot_config": {
        "sampler": "default",
        "split": "train",
        "process_docs": null,
        "fewshot_indices": null,
        "samples": null,
        "doc_to_text": "Question: {{question}}\nAnswer:",
        "doc_to_choice": null,
        "doc_to_target": "{{answer}}",
        "gen_prefix": null,
        "fewshot_delimiter": "\n\n",
        "target_delimiter": " "
      },
      "num_fewshot": 0,
      "metric_list": [
        {
          "metric": "exact_match",
          "aggregation": "mean",
          "higher_is_better": true,
          "ignore_case": true,
          "ignore_punctuation": false,
          "regexes_to_ignore": [
            ",",
            "\\$",
            "(?s).*#### ",
            "\\.$"
          ]
        }
      ],
      "output_type": "generate_until",
      "generation_kwargs": {
        "until": [
          "Question:",
          "</s>",
          "<|im_end|>"
        ],
        "do_sample": false,
        "temperature": 0.0,
        "max_gen_toks": 8192
      },
      "repeats": 1,
      "filter_list": [
        {
          "name": "strict-match",
          "filter": [
            {
              "function": "regex",
              "regex_pattern": "#### (\\-?[0-9\\.\\,]+)"
            },
            {
              "function": "take_first"
            }
          ]
        },
        {
          "name": "flexible-extract",
          "filter": [
            {
              "function": "regex",
              "group_select": -1,
              "regex_pattern": "(-?[$0-9.,]{2,})|(-?[0-9]+)"
            },
            {
              "function": "take_first"
            }
          ]
        }
      ],
      "should_decontaminate": false,
      "metadata": {
        "version": 3.0,
        "pretrained": "outputs/feature1/glaze2_w4a16_g128",
        "dtype": "bfloat16",
        "max_model_len": 12288,
        "gpu_memory_utilization": 0.85,
        "max_num_batched_tokens": 4096,
        "seed": 42,
        "enable_thinking": false,
        "config_source": "lm_eval/tasks/gsm8k/gsm8k.yaml"
      }
    },
    "hellaswag": {
      "task": "hellaswag",
      "dataset_path": "Rowan/hellaswag",
      "training_split": "train",
      "validation_split": "validation",
      "process_docs": "def process_docs(dataset: datasets.Dataset) -> datasets.Dataset:\n    def _process_doc(doc):\n        ctx = doc[\"ctx_a\"] + \" \" + doc[\"ctx_b\"].capitalize()\n        out_doc = {\n            \"query\": preprocess(doc[\"activity_label\"] + \": \" + ctx),\n            \"choices\": [preprocess(ending) for ending in doc[\"endings\"]],\n            \"gold\": int(doc[\"label\"]),\n        }\n        return out_doc\n\n    return dataset.map(_process_doc)\n",
      "doc_to_text": "{{query}}",
      "doc_to_target": "{{label}}",
      "unsafe_code": false,
      "doc_to_choice": "choices",
      "description": "",
      "target_delimiter": " ",
      "fewshot_delimiter": "\n\n",
      "fewshot_config": {
        "sampler": "default",
        "split": null,
        "process_docs": "<function process_docs at 0x7db864e7ef20>",
        "fewshot_indices": null,
        "samples": null,
        "doc_to_text": "{{query}}",
        "doc_to_choice": "choices",
        "doc_to_target": "{{label}}",
        "gen_prefix": null,
        "fewshot_delimiter": "\n\n",
        "target_delimiter": " "
      },
      "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": 1.0,
        "pretrained": "outputs/feature1/glaze2_w4a16_g128",
        "dtype": "bfloat16",
        "max_model_len": 12288,
        "gpu_memory_utilization": 0.85,
        "max_num_batched_tokens": 4096,
        "seed": 42,
        "enable_thinking": false,
        "config_source": "lm_eval/tasks/hellaswag/hellaswag.yaml"
      }
    },
    "ifeval": {
      "task": "ifeval",
      "dataset_path": "google/IFEval",
      "test_split": "train",
      "doc_to_text": "prompt",
      "doc_to_target": 0,
      "unsafe_code": false,
      "process_results": "def process_results(doc, results):\n    inp = InputExample(\n        key=doc[\"key\"],\n        instruction_id_list=doc[\"instruction_id_list\"],\n        prompt=doc[\"prompt\"],\n        kwargs=doc[\"kwargs\"],\n    )\n    response = results[0]\n\n    out_strict = test_instruction_following_strict(inp, response)\n    out_loose = test_instruction_following_loose(inp, response)\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",
      "fewshot_config": {
        "sampler": "default",
        "split": null,
        "process_docs": null,
        "fewshot_indices": null,
        "samples": null,
        "doc_to_text": "prompt",
        "doc_to_choice": null,
        "doc_to_target": 0,
        "gen_prefix": null,
        "fewshot_delimiter": "\n\n",
        "target_delimiter": " "
      },
      "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": 8192
      },
      "repeats": 1,
      "should_decontaminate": false,
      "metadata": {
        "version": 4.0,
        "pretrained": "outputs/feature1/glaze2_w4a16_g128",
        "dtype": "bfloat16",
        "max_model_len": 12288,
        "gpu_memory_utilization": 0.85,
        "max_num_batched_tokens": 4096,
        "seed": 42,
        "enable_thinking": false,
        "config_source": "lm_eval/tasks/ifeval/ifeval.yaml"
      }
    },
    "minerva_math500": {
      "task": "minerva_math500",
      "dataset_path": "HuggingFaceH4/MATH-500",
      "dataset_name": "default",
      "test_split": "test",
      "process_docs": "def process_docs(dataset: datasets.Dataset) -> datasets.Dataset:\n    def _process_doc(doc: dict) -> dict:\n        out_doc = {\n            \"problem\": doc[\"problem\"],\n            \"solution\": doc[\"solution\"],\n            \"answer\": normalize_final_answer(\n                remove_boxed(last_boxed_only_string(doc[\"solution\"]))\n            ),\n        }\n        if getattr(doc, \"few_shot\", None) is not None:\n            out_doc[\"few_shot\"] = True\n        return out_doc\n\n    return dataset.map(_process_doc)\n",
      "doc_to_text": "def doc_to_text(doc: dict) -> str:\n    return \"Problem:\" + \"\\n\" + doc[\"problem\"] + \"\\n\\n\" + \"Solution:\"\n",
      "doc_to_target": "{{answer if few_shot is undefined else solution}}",
      "unsafe_code": false,
      "process_results": "def process_results(doc: dict, results: list[str]) -> dict[str, int]:\n    candidates = results[0]\n\n    unnormalized_answer = get_unnormalized_answer(candidates)\n    answer = normalize_final_answer(unnormalized_answer)\n\n    if is_equiv(answer, doc[\"answer\"]):\n        retval = 1\n    else:\n        retval = 0\n\n    # math_verify\n    _mvres = verify(\n        gold=parse(doc[\"solution\"]),\n        target=parse(candidates),\n    )\n    mathval = 1 if _mvres else 0\n\n    res = {\n        \"exact_match\": retval,\n        \"math_verify\": mathval,\n    }\n    return res\n",
      "description": "",
      "target_delimiter": " ",
      "fewshot_delimiter": "\n\n",
      "fewshot_config": {
        "sampler": "first_n",
        "split": null,
        "process_docs": "<function process_docs at 0x7db867965080>",
        "fewshot_indices": null,
        "samples": "<function list_fewshot_samples at 0x7db867965760>",
        "doc_to_text": "<function doc_to_text at 0x7db867eb0220>",
        "doc_to_choice": null,
        "doc_to_target": "{{answer if few_shot is undefined else solution}}",
        "gen_prefix": null,
        "fewshot_delimiter": "\n\n",
        "target_delimiter": " "
      },
      "num_fewshot": 0,
      "metric_list": [
        {
          "metric": "exact_match",
          "aggregation": "mean",
          "higher_is_better": true
        },
        {
          "metric": "math_verify",
          "aggregation": "mean",
          "higher_is_better": true
        }
      ],
      "output_type": "generate_until",
      "generation_kwargs": {
        "until": [
          "Problem:"
        ],
        "do_sample": false,
        "temperature": 0.0,
        "max_gen_toks": 8192
      },
      "repeats": 1,
      "should_decontaminate": false,
      "metadata": {
        "version": 3.1,
        "pretrained": "outputs/feature1/glaze2_w4a16_g128",
        "dtype": "bfloat16",
        "max_model_len": 12288,
        "gpu_memory_utilization": 0.85,
        "max_num_batched_tokens": 4096,
        "seed": 42,
        "enable_thinking": false,
        "config_source": "lm_eval/tasks/minerva_math/minerva_math500.yaml"
      }
    },
    "mmlu_pro_biology": {
      "task": "mmlu_pro_biology",
      "task_alias": "biology",
      "dataset_path": "TIGER-Lab/MMLU-Pro",
      "test_split": "test",
      "fewshot_split": "validation",
      "process_docs": "functools.partial(<function process_docs at 0x7db8647fca40>, subject='biology')",
      "doc_to_text": "functools.partial(<function format_cot_example at 0x7db8647fcfe0>, including_answer=False)",
      "doc_to_target": "answer",
      "unsafe_code": false,
      "description": "The following are multiple choice questions (with answers) about biology. Think step by step and then finish your answer with \"the answer is (X)\" where X is the correct letter choice.\n",
      "target_delimiter": " ",
      "fewshot_delimiter": "\n\n",
      "fewshot_config": {
        "sampler": "first_n",
        "split": "validation",
        "process_docs": "functools.partial(<function process_docs at 0x7db8647fca40>, subject='biology')",
        "fewshot_indices": null,
        "samples": null,
        "doc_to_text": "functools.partial(<function format_cot_example at 0x7db8647fcfe0>, including_answer=False)",
        "doc_to_choice": null,
        "doc_to_target": "functools.partial(<function format_cot_target at 0x7db8647fc9a0>, including_answer=True)",
        "gen_prefix": null,
        "fewshot_delimiter": "\n\n",
        "target_delimiter": " "
      },
      "num_fewshot": 0,
      "metric_list": [
        {
          "metric": "exact_match",
          "aggregation": "mean",
          "higher_is_better": true,
          "ignore_case": true,
          "ignore_punctuation": true
        }
      ],
      "output_type": "generate_until",
      "generation_kwargs": {
        "until": [
          "Question:"
        ],
        "max_gen_toks": 8192,
        "do_sample": false,
        "temperature": 0.0
      },
      "repeats": 1,
      "filter_list": [
        {
          "name": "custom-extract",
          "filter": [
            {
              "function": "regex",
              "regex_pattern": "answer is \\(?([ABCDEFGHIJ])\\)?"
            },
            {
              "function": "take_first"
            }
          ]
        }
      ],
      "should_decontaminate": false,
      "metadata": {
        "version": 3.1,
        "pretrained": "outputs/feature1/glaze2_w4a16_g128",
        "dtype": "bfloat16",
        "max_model_len": 12288,
        "gpu_memory_utilization": 0.85,
        "max_num_batched_tokens": 4096,
        "seed": 42,
        "enable_thinking": false,
        "config_source": "lm_eval/tasks/mmlu_pro/mmlu_pro_biology.yaml"
      }
    },
    "mmlu_pro_business": {
      "task": "mmlu_pro_business",
      "task_alias": "business",
      "dataset_path": "TIGER-Lab/MMLU-Pro",
      "test_split": "test",
      "fewshot_split": "validation",
      "process_docs": "functools.partial(<function process_docs at 0x7db8647fca40>, subject='business')",
      "doc_to_text": "functools.partial(<function format_cot_example at 0x7db8647fcfe0>, including_answer=False)",
      "doc_to_target": "answer",
      "unsafe_code": false,
      "description": "The following are multiple choice questions (with answers) about business. Think step by step and then finish your answer with \"the answer is (X)\" where X is the correct letter choice.\n",
      "target_delimiter": " ",
      "fewshot_delimiter": "\n\n",
      "fewshot_config": {
        "sampler": "first_n",
        "split": "validation",
        "process_docs": "functools.partial(<function process_docs at 0x7db8647fca40>, subject='business')",
        "fewshot_indices": null,
        "samples": null,
        "doc_to_text": "functools.partial(<function format_cot_example at 0x7db8647fcfe0>, including_answer=False)",
        "doc_to_choice": null,
        "doc_to_target": "functools.partial(<function format_cot_target at 0x7db8647fc9a0>, including_answer=True)",
        "gen_prefix": null,
        "fewshot_delimiter": "\n\n",
        "target_delimiter": " "
      },
      "num_fewshot": 0,
      "metric_list": [
        {
          "metric": "exact_match",
          "aggregation": "mean",
          "higher_is_better": true,
          "ignore_case": true,
          "ignore_punctuation": true
        }
      ],
      "output_type": "generate_until",
      "generation_kwargs": {
        "until": [
          "Question:"
        ],
        "max_gen_toks": 8192,
        "do_sample": false,
        "temperature": 0.0
      },
      "repeats": 1,
      "filter_list": [
        {
          "name": "custom-extract",
          "filter": [
            {
              "function": "regex",
              "regex_pattern": "answer is \\(?([ABCDEFGHIJ])\\)?"
            },
            {
              "function": "take_first"
            }
          ]
        }
      ],
      "should_decontaminate": false,
      "metadata": {
        "version": 3.1,
        "pretrained": "outputs/feature1/glaze2_w4a16_g128",
        "dtype": "bfloat16",
        "max_model_len": 12288,
        "gpu_memory_utilization": 0.85,
        "max_num_batched_tokens": 4096,
        "seed": 42,
        "enable_thinking": false,
        "config_source": "lm_eval/tasks/mmlu_pro/mmlu_pro_business.yaml"
      }
    },
    "mmlu_pro_chemistry": {
      "task": "mmlu_pro_chemistry",
      "task_alias": "chemistry",
      "dataset_path": "TIGER-Lab/MMLU-Pro",
      "test_split": "test",
      "fewshot_split": "validation",
      "process_docs": "functools.partial(<function process_docs at 0x7db8647fca40>, subject='chemistry')",
      "doc_to_text": "functools.partial(<function format_cot_example at 0x7db8647fcfe0>, including_answer=False)",
      "doc_to_target": "answer",
      "unsafe_code": false,
      "description": "The following are multiple choice questions (with answers) about chemistry. Think step by step and then finish your answer with \"the answer is (X)\" where X is the correct letter choice.\n",
      "target_delimiter": " ",
      "fewshot_delimiter": "\n\n",
      "fewshot_config": {
        "sampler": "first_n",
        "split": "validation",
        "process_docs": "functools.partial(<function process_docs at 0x7db8647fca40>, subject='chemistry')",
        "fewshot_indices": null,
        "samples": null,
        "doc_to_text": "functools.partial(<function format_cot_example at 0x7db8647fcfe0>, including_answer=False)",
        "doc_to_choice": null,
        "doc_to_target": "functools.partial(<function format_cot_target at 0x7db8647fc9a0>, including_answer=True)",
        "gen_prefix": null,
        "fewshot_delimiter": "\n\n",
        "target_delimiter": " "
      },
      "num_fewshot": 0,
      "metric_list": [
        {
          "metric": "exact_match",
          "aggregation": "mean",
          "higher_is_better": true,
          "ignore_case": true,
          "ignore_punctuation": true
        }
      ],
      "output_type": "generate_until",
      "generation_kwargs": {
        "until": [
          "Question:"
        ],
        "max_gen_toks": 8192,
        "do_sample": false,
        "temperature": 0.0
      },
      "repeats": 1,
      "filter_list": [
        {
          "name": "custom-extract",
          "filter": [
            {
              "function": "regex",
              "regex_pattern": "answer is \\(?([ABCDEFGHIJ])\\)?"
            },
            {
              "function": "take_first"
            }
          ]
        }
      ],
      "should_decontaminate": false,
      "metadata": {
        "version": 3.1,
        "pretrained": "outputs/feature1/glaze2_w4a16_g128",
        "dtype": "bfloat16",
        "max_model_len": 12288,
        "gpu_memory_utilization": 0.85,
        "max_num_batched_tokens": 4096,
        "seed": 42,
        "enable_thinking": false,
        "config_source": "lm_eval/tasks/mmlu_pro/mmlu_pro_chemistry.yaml"
      }
    },
    "mmlu_pro_computer_science": {
      "task": "mmlu_pro_computer_science",
      "task_alias": "computer_science",
      "dataset_path": "TIGER-Lab/MMLU-Pro",
      "test_split": "test",
      "fewshot_split": "validation",
      "process_docs": "functools.partial(<function process_docs at 0x7db8647fca40>, subject='computer science')",
      "doc_to_text": "functools.partial(<function format_cot_example at 0x7db8647fcfe0>, including_answer=False)",
      "doc_to_target": "answer",
      "unsafe_code": false,
      "description": "The following are multiple choice questions (with answers) about computer science. Think step by step and then finish your answer with \"the answer is (X)\" where X is the correct letter choice.\n",
      "target_delimiter": " ",
      "fewshot_delimiter": "\n\n",
      "fewshot_config": {
        "sampler": "first_n",
        "split": "validation",
        "process_docs": "functools.partial(<function process_docs at 0x7db8647fca40>, subject='computer science')",
        "fewshot_indices": null,
        "samples": null,
        "doc_to_text": "functools.partial(<function format_cot_example at 0x7db8647fcfe0>, including_answer=False)",
        "doc_to_choice": null,
        "doc_to_target": "functools.partial(<function format_cot_target at 0x7db8647fc9a0>, including_answer=True)",
        "gen_prefix": null,
        "fewshot_delimiter": "\n\n",
        "target_delimiter": " "
      },
      "num_fewshot": 0,
      "metric_list": [
        {
          "metric": "exact_match",
          "aggregation": "mean",
          "higher_is_better": true,
          "ignore_case": true,
          "ignore_punctuation": true
        }
      ],
      "output_type": "generate_until",
      "generation_kwargs": {
        "until": [
          "Question:"
        ],
        "max_gen_toks": 8192,
        "do_sample": false,
        "temperature": 0.0
      },
      "repeats": 1,
      "filter_list": [
        {
          "name": "custom-extract",
          "filter": [
            {
              "function": "regex",
              "regex_pattern": "answer is \\(?([ABCDEFGHIJ])\\)?"
            },
            {
              "function": "take_first"
            }
          ]
        }
      ],
      "should_decontaminate": false,
      "metadata": {
        "version": 3.1,
        "pretrained": "outputs/feature1/glaze2_w4a16_g128",
        "dtype": "bfloat16",
        "max_model_len": 12288,
        "gpu_memory_utilization": 0.85,
        "max_num_batched_tokens": 4096,
        "seed": 42,
        "enable_thinking": false,
        "config_source": "lm_eval/tasks/mmlu_pro/mmlu_pro_computer_science.yaml"
      }
    },
    "mmlu_pro_economics": {
      "task": "mmlu_pro_economics",
      "task_alias": "economics",
      "dataset_path": "TIGER-Lab/MMLU-Pro",
      "test_split": "test",
      "fewshot_split": "validation",
      "process_docs": "functools.partial(<function process_docs at 0x7db8647fca40>, subject='economics')",
      "doc_to_text": "functools.partial(<function format_cot_example at 0x7db8647fcfe0>, including_answer=False)",
      "doc_to_target": "answer",
      "unsafe_code": false,
      "description": "The following are multiple choice questions (with answers) about economics. Think step by step and then finish your answer with \"the answer is (X)\" where X is the correct letter choice.\n",
      "target_delimiter": " ",
      "fewshot_delimiter": "\n\n",
      "fewshot_config": {
        "sampler": "first_n",
        "split": "validation",
        "process_docs": "functools.partial(<function process_docs at 0x7db8647fca40>, subject='economics')",
        "fewshot_indices": null,
        "samples": null,
        "doc_to_text": "functools.partial(<function format_cot_example at 0x7db8647fcfe0>, including_answer=False)",
        "doc_to_choice": null,
        "doc_to_target": "functools.partial(<function format_cot_target at 0x7db8647fc9a0>, including_answer=True)",
        "gen_prefix": null,
        "fewshot_delimiter": "\n\n",
        "target_delimiter": " "
      },
      "num_fewshot": 0,
      "metric_list": [
        {
          "metric": "exact_match",
          "aggregation": "mean",
          "higher_is_better": true,
          "ignore_case": true,
          "ignore_punctuation": true
        }
      ],
      "output_type": "generate_until",
      "generation_kwargs": {
        "until": [
          "Question:"
        ],
        "max_gen_toks": 8192,
        "do_sample": false,
        "temperature": 0.0
      },
      "repeats": 1,
      "filter_list": [
        {
          "name": "custom-extract",
          "filter": [
            {
              "function": "regex",
              "regex_pattern": "answer is \\(?([ABCDEFGHIJ])\\)?"
            },
            {
              "function": "take_first"
            }
          ]
        }
      ],
      "should_decontaminate": false,
      "metadata": {
        "version": 3.1,
        "pretrained": "outputs/feature1/glaze2_w4a16_g128",
        "dtype": "bfloat16",
        "max_model_len": 12288,
        "gpu_memory_utilization": 0.85,
        "max_num_batched_tokens": 4096,
        "seed": 42,
        "enable_thinking": false,
        "config_source": "lm_eval/tasks/mmlu_pro/mmlu_pro_economics.yaml"
      }
    },
    "mmlu_pro_engineering": {
      "task": "mmlu_pro_engineering",
      "task_alias": "engineering",
      "dataset_path": "TIGER-Lab/MMLU-Pro",
      "test_split": "test",
      "fewshot_split": "validation",
      "process_docs": "functools.partial(<function process_docs at 0x7db8647fca40>, subject='engineering')",
      "doc_to_text": "functools.partial(<function format_cot_example at 0x7db8647fcfe0>, including_answer=False)",
      "doc_to_target": "answer",
      "unsafe_code": false,
      "description": "The following are multiple choice questions (with answers) about engineering. Think step by step and then finish your answer with \"the answer is (X)\" where X is the correct letter choice.\n",
      "target_delimiter": " ",
      "fewshot_delimiter": "\n\n",
      "fewshot_config": {
        "sampler": "first_n",
        "split": "validation",
        "process_docs": "functools.partial(<function process_docs at 0x7db8647fca40>, subject='engineering')",
        "fewshot_indices": null,
        "samples": null,
        "doc_to_text": "functools.partial(<function format_cot_example at 0x7db8647fcfe0>, including_answer=False)",
        "doc_to_choice": null,
        "doc_to_target": "functools.partial(<function format_cot_target at 0x7db8647fc9a0>, including_answer=True)",
        "gen_prefix": null,
        "fewshot_delimiter": "\n\n",
        "target_delimiter": " "
      },
      "num_fewshot": 0,
      "metric_list": [
        {
          "metric": "exact_match",
          "aggregation": "mean",
          "higher_is_better": true,
          "ignore_case": true,
          "ignore_punctuation": true
        }
      ],
      "output_type": "generate_until",
      "generation_kwargs": {
        "until": [
          "Question:"
        ],
        "max_gen_toks": 8192,
        "do_sample": false,
        "temperature": 0.0
      },
      "repeats": 1,
      "filter_list": [
        {
          "name": "custom-extract",
          "filter": [
            {
              "function": "regex",
              "regex_pattern": "answer is \\(?([ABCDEFGHIJ])\\)?"
            },
            {
              "function": "take_first"
            }
          ]
        }
      ],
      "should_decontaminate": false,
      "metadata": {
        "version": 3.1,
        "pretrained": "outputs/feature1/glaze2_w4a16_g128",
        "dtype": "bfloat16",
        "max_model_len": 12288,
        "gpu_memory_utilization": 0.85,
        "max_num_batched_tokens": 4096,
        "seed": 42,
        "enable_thinking": false,
        "config_source": "lm_eval/tasks/mmlu_pro/mmlu_pro_engineering.yaml"
      }
    },
    "mmlu_pro_health": {
      "task": "mmlu_pro_health",
      "task_alias": "health",
      "dataset_path": "TIGER-Lab/MMLU-Pro",
      "test_split": "test",
      "fewshot_split": "validation",
      "process_docs": "functools.partial(<function process_docs at 0x7db8647fca40>, subject='health')",
      "doc_to_text": "functools.partial(<function format_cot_example at 0x7db8647fcfe0>, including_answer=False)",
      "doc_to_target": "answer",
      "unsafe_code": false,
      "description": "The following are multiple choice questions (with answers) about health. Think step by step and then finish your answer with \"the answer is (X)\" where X is the correct letter choice.\n",
      "target_delimiter": " ",
      "fewshot_delimiter": "\n\n",
      "fewshot_config": {
        "sampler": "first_n",
        "split": "validation",
        "process_docs": "functools.partial(<function process_docs at 0x7db8647fca40>, subject='health')",
        "fewshot_indices": null,
        "samples": null,
        "doc_to_text": "functools.partial(<function format_cot_example at 0x7db8647fcfe0>, including_answer=False)",
        "doc_to_choice": null,
        "doc_to_target": "functools.partial(<function format_cot_target at 0x7db8647fc9a0>, including_answer=True)",
        "gen_prefix": null,
        "fewshot_delimiter": "\n\n",
        "target_delimiter": " "
      },
      "num_fewshot": 0,
      "metric_list": [
        {
          "metric": "exact_match",
          "aggregation": "mean",
          "higher_is_better": true,
          "ignore_case": true,
          "ignore_punctuation": true
        }
      ],
      "output_type": "generate_until",
      "generation_kwargs": {
        "until": [
          "Question:"
        ],
        "max_gen_toks": 8192,
        "do_sample": false,
        "temperature": 0.0
      },
      "repeats": 1,
      "filter_list": [
        {
          "name": "custom-extract",
          "filter": [
            {
              "function": "regex",
              "regex_pattern": "answer is \\(?([ABCDEFGHIJ])\\)?"
            },
            {
              "function": "take_first"
            }
          ]
        }
      ],
      "should_decontaminate": false,
      "metadata": {
        "version": 3.1,
        "pretrained": "outputs/feature1/glaze2_w4a16_g128",
        "dtype": "bfloat16",
        "max_model_len": 12288,
        "gpu_memory_utilization": 0.85,
        "max_num_batched_tokens": 4096,
        "seed": 42,
        "enable_thinking": false,
        "config_source": "lm_eval/tasks/mmlu_pro/mmlu_pro_health.yaml"
      }
    },
    "mmlu_pro_history": {
      "task": "mmlu_pro_history",
      "task_alias": "history",
      "dataset_path": "TIGER-Lab/MMLU-Pro",
      "test_split": "test",
      "fewshot_split": "validation",
      "process_docs": "functools.partial(<function process_docs at 0x7db8647fca40>, subject='history')",
      "doc_to_text": "functools.partial(<function format_cot_example at 0x7db8647fcfe0>, including_answer=False)",
      "doc_to_target": "answer",
      "unsafe_code": false,
      "description": "The following are multiple choice questions (with answers) about history. Think step by step and then finish your answer with \"the answer is (X)\" where X is the correct letter choice.\n",
      "target_delimiter": " ",
      "fewshot_delimiter": "\n\n",
      "fewshot_config": {
        "sampler": "first_n",
        "split": "validation",
        "process_docs": "functools.partial(<function process_docs at 0x7db8647fca40>, subject='history')",
        "fewshot_indices": null,
        "samples": null,
        "doc_to_text": "functools.partial(<function format_cot_example at 0x7db8647fcfe0>, including_answer=False)",
        "doc_to_choice": null,
        "doc_to_target": "functools.partial(<function format_cot_target at 0x7db8647fc9a0>, including_answer=True)",
        "gen_prefix": null,
        "fewshot_delimiter": "\n\n",
        "target_delimiter": " "
      },
      "num_fewshot": 0,
      "metric_list": [
        {
          "metric": "exact_match",
          "aggregation": "mean",
          "higher_is_better": true,
          "ignore_case": true,
          "ignore_punctuation": true
        }
      ],
      "output_type": "generate_until",
      "generation_kwargs": {
        "until": [
          "Question:"
        ],
        "max_gen_toks": 8192,
        "do_sample": false,
        "temperature": 0.0
      },
      "repeats": 1,
      "filter_list": [
        {
          "name": "custom-extract",
          "filter": [
            {
              "function": "regex",
              "regex_pattern": "answer is \\(?([ABCDEFGHIJ])\\)?"
            },
            {
              "function": "take_first"
            }
          ]
        }
      ],
      "should_decontaminate": false,
      "metadata": {
        "version": 3.1,
        "pretrained": "outputs/feature1/glaze2_w4a16_g128",
        "dtype": "bfloat16",
        "max_model_len": 12288,
        "gpu_memory_utilization": 0.85,
        "max_num_batched_tokens": 4096,
        "seed": 42,
        "enable_thinking": false,
        "config_source": "lm_eval/tasks/mmlu_pro/mmlu_pro_history.yaml"
      }
    },
    "mmlu_pro_law": {
      "task": "mmlu_pro_law",
      "task_alias": "law",
      "dataset_path": "TIGER-Lab/MMLU-Pro",
      "test_split": "test",
      "fewshot_split": "validation",
      "process_docs": "functools.partial(<function process_docs at 0x7db8647fca40>, subject='law')",
      "doc_to_text": "functools.partial(<function format_cot_example at 0x7db8647fcfe0>, including_answer=False)",
      "doc_to_target": "answer",
      "unsafe_code": false,
      "description": "The following are multiple choice questions (with answers) about law. Think step by step and then finish your answer with \"the answer is (X)\" where X is the correct letter choice.\n",
      "target_delimiter": " ",
      "fewshot_delimiter": "\n\n",
      "fewshot_config": {
        "sampler": "first_n",
        "split": "validation",
        "process_docs": "functools.partial(<function process_docs at 0x7db8647fca40>, subject='law')",
        "fewshot_indices": null,
        "samples": null,
        "doc_to_text": "functools.partial(<function format_cot_example at 0x7db8647fcfe0>, including_answer=False)",
        "doc_to_choice": null,
        "doc_to_target": "functools.partial(<function format_cot_target at 0x7db8647fc9a0>, including_answer=True)",
        "gen_prefix": null,
        "fewshot_delimiter": "\n\n",
        "target_delimiter": " "
      },
      "num_fewshot": 0,
      "metric_list": [
        {
          "metric": "exact_match",
          "aggregation": "mean",
          "higher_is_better": true,
          "ignore_case": true,
          "ignore_punctuation": true
        }
      ],
      "output_type": "generate_until",
      "generation_kwargs": {
        "until": [
          "Question:"
        ],
        "max_gen_toks": 8192,
        "do_sample": false,
        "temperature": 0.0
      },
      "repeats": 1,
      "filter_list": [
        {
          "name": "custom-extract",
          "filter": [
            {
              "function": "regex",
              "regex_pattern": "answer is \\(?([ABCDEFGHIJ])\\)?"
            },
            {
              "function": "take_first"
            }
          ]
        }
      ],
      "should_decontaminate": false,
      "metadata": {
        "version": 3.1,
        "pretrained": "outputs/feature1/glaze2_w4a16_g128",
        "dtype": "bfloat16",
        "max_model_len": 12288,
        "gpu_memory_utilization": 0.85,
        "max_num_batched_tokens": 4096,
        "seed": 42,
        "enable_thinking": false,
        "config_source": "lm_eval/tasks/mmlu_pro/mmlu_pro_law.yaml"
      }
    },
    "mmlu_pro_math": {
      "task": "mmlu_pro_math",
      "task_alias": "math",
      "dataset_path": "TIGER-Lab/MMLU-Pro",
      "test_split": "test",
      "fewshot_split": "validation",
      "process_docs": "functools.partial(<function process_docs at 0x7db8647fca40>, subject='math')",
      "doc_to_text": "functools.partial(<function format_cot_example at 0x7db8647fcfe0>, including_answer=False)",
      "doc_to_target": "answer",
      "unsafe_code": false,
      "description": "The following are multiple choice questions (with answers) about math. Think step by step and then finish your answer with \"the answer is (X)\" where X is the correct letter choice.\n",
      "target_delimiter": " ",
      "fewshot_delimiter": "\n\n",
      "fewshot_config": {
        "sampler": "first_n",
        "split": "validation",
        "process_docs": "functools.partial(<function process_docs at 0x7db8647fca40>, subject='math')",
        "fewshot_indices": null,
        "samples": null,
        "doc_to_text": "functools.partial(<function format_cot_example at 0x7db8647fcfe0>, including_answer=False)",
        "doc_to_choice": null,
        "doc_to_target": "functools.partial(<function format_cot_target at 0x7db8647fc9a0>, including_answer=True)",
        "gen_prefix": null,
        "fewshot_delimiter": "\n\n",
        "target_delimiter": " "
      },
      "num_fewshot": 0,
      "metric_list": [
        {
          "metric": "exact_match",
          "aggregation": "mean",
          "higher_is_better": true,
          "ignore_case": true,
          "ignore_punctuation": true
        }
      ],
      "output_type": "generate_until",
      "generation_kwargs": {
        "until": [
          "Question:"
        ],
        "max_gen_toks": 8192,
        "do_sample": false,
        "temperature": 0.0
      },
      "repeats": 1,
      "filter_list": [
        {
          "name": "custom-extract",
          "filter": [
            {
              "function": "regex",
              "regex_pattern": "answer is \\(?([ABCDEFGHIJ])\\)?"
            },
            {
              "function": "take_first"
            }
          ]
        }
      ],
      "should_decontaminate": false,
      "metadata": {
        "version": 3.1,
        "pretrained": "outputs/feature1/glaze2_w4a16_g128",
        "dtype": "bfloat16",
        "max_model_len": 12288,
        "gpu_memory_utilization": 0.85,
        "max_num_batched_tokens": 4096,
        "seed": 42,
        "enable_thinking": false,
        "config_source": "lm_eval/tasks/mmlu_pro/mmlu_pro_math.yaml"
      }
    },
    "mmlu_pro_other": {
      "task": "mmlu_pro_other",
      "task_alias": "other",
      "dataset_path": "TIGER-Lab/MMLU-Pro",
      "test_split": "test",
      "fewshot_split": "validation",
      "process_docs": "functools.partial(<function process_docs at 0x7db8647fca40>, subject='other')",
      "doc_to_text": "functools.partial(<function format_cot_example at 0x7db8647fcfe0>, including_answer=False)",
      "doc_to_target": "answer",
      "unsafe_code": false,
      "description": "The following are multiple choice questions (with answers) about other. Think step by step and then finish your answer with \"the answer is (X)\" where X is the correct letter choice.\n",
      "target_delimiter": " ",
      "fewshot_delimiter": "\n\n",
      "fewshot_config": {
        "sampler": "first_n",
        "split": "validation",
        "process_docs": "functools.partial(<function process_docs at 0x7db8647fca40>, subject='other')",
        "fewshot_indices": null,
        "samples": null,
        "doc_to_text": "functools.partial(<function format_cot_example at 0x7db8647fcfe0>, including_answer=False)",
        "doc_to_choice": null,
        "doc_to_target": "functools.partial(<function format_cot_target at 0x7db8647fc9a0>, including_answer=True)",
        "gen_prefix": null,
        "fewshot_delimiter": "\n\n",
        "target_delimiter": " "
      },
      "num_fewshot": 0,
      "metric_list": [
        {
          "metric": "exact_match",
          "aggregation": "mean",
          "higher_is_better": true,
          "ignore_case": true,
          "ignore_punctuation": true
        }
      ],
      "output_type": "generate_until",
      "generation_kwargs": {
        "until": [
          "Question:"
        ],
        "max_gen_toks": 8192,
        "do_sample": false,
        "temperature": 0.0
      },
      "repeats": 1,
      "filter_list": [
        {
          "name": "custom-extract",
          "filter": [
            {
              "function": "regex",
              "regex_pattern": "answer is \\(?([ABCDEFGHIJ])\\)?"
            },
            {
              "function": "take_first"
            }
          ]
        }
      ],
      "should_decontaminate": false,
      "metadata": {
        "version": 3.1,
        "pretrained": "outputs/feature1/glaze2_w4a16_g128",
        "dtype": "bfloat16",
        "max_model_len": 12288,
        "gpu_memory_utilization": 0.85,
        "max_num_batched_tokens": 4096,
        "seed": 42,
        "enable_thinking": false,
        "config_source": "lm_eval/tasks/mmlu_pro/mmlu_pro_other.yaml"
      }
    },
    "mmlu_pro_philosophy": {
      "task": "mmlu_pro_philosophy",
      "task_alias": "philosophy",
      "dataset_path": "TIGER-Lab/MMLU-Pro",
      "test_split": "test",
      "fewshot_split": "validation",
      "process_docs": "functools.partial(<function process_docs at 0x7db8647fca40>, subject='philosophy')",
      "doc_to_text": "functools.partial(<function format_cot_example at 0x7db8647fcfe0>, including_answer=False)",
      "doc_to_target": "answer",
      "unsafe_code": false,
      "description": "The following are multiple choice questions (with answers) about philosophy. Think step by step and then finish your answer with \"the answer is (X)\" where X is the correct letter choice.\n",
      "target_delimiter": " ",
      "fewshot_delimiter": "\n\n",
      "fewshot_config": {
        "sampler": "first_n",
        "split": "validation",
        "process_docs": "functools.partial(<function process_docs at 0x7db8647fca40>, subject='philosophy')",
        "fewshot_indices": null,
        "samples": null,
        "doc_to_text": "functools.partial(<function format_cot_example at 0x7db8647fcfe0>, including_answer=False)",
        "doc_to_choice": null,
        "doc_to_target": "functools.partial(<function format_cot_target at 0x7db8647fc9a0>, including_answer=True)",
        "gen_prefix": null,
        "fewshot_delimiter": "\n\n",
        "target_delimiter": " "
      },
      "num_fewshot": 0,
      "metric_list": [
        {
          "metric": "exact_match",
          "aggregation": "mean",
          "higher_is_better": true,
          "ignore_case": true,
          "ignore_punctuation": true
        }
      ],
      "output_type": "generate_until",
      "generation_kwargs": {
        "until": [
          "Question:"
        ],
        "max_gen_toks": 8192,
        "do_sample": false,
        "temperature": 0.0
      },
      "repeats": 1,
      "filter_list": [
        {
          "name": "custom-extract",
          "filter": [
            {
              "function": "regex",
              "regex_pattern": "answer is \\(?([ABCDEFGHIJ])\\)?"
            },
            {
              "function": "take_first"
            }
          ]
        }
      ],
      "should_decontaminate": false,
      "metadata": {
        "version": 3.1,
        "pretrained": "outputs/feature1/glaze2_w4a16_g128",
        "dtype": "bfloat16",
        "max_model_len": 12288,
        "gpu_memory_utilization": 0.85,
        "max_num_batched_tokens": 4096,
        "seed": 42,
        "enable_thinking": false,
        "config_source": "lm_eval/tasks/mmlu_pro/mmlu_pro_philosophy.yaml"
      }
    },
    "mmlu_pro_physics": {
      "task": "mmlu_pro_physics",
      "task_alias": "physics",
      "dataset_path": "TIGER-Lab/MMLU-Pro",
      "test_split": "test",
      "fewshot_split": "validation",
      "process_docs": "functools.partial(<function process_docs at 0x7db8647fca40>, subject='physics')",
      "doc_to_text": "functools.partial(<function format_cot_example at 0x7db8647fcfe0>, including_answer=False)",
      "doc_to_target": "answer",
      "unsafe_code": false,
      "description": "The following are multiple choice questions (with answers) about physics. Think step by step and then finish your answer with \"the answer is (X)\" where X is the correct letter choice.\n",
      "target_delimiter": " ",
      "fewshot_delimiter": "\n\n",
      "fewshot_config": {
        "sampler": "first_n",
        "split": "validation",
        "process_docs": "functools.partial(<function process_docs at 0x7db8647fca40>, subject='physics')",
        "fewshot_indices": null,
        "samples": null,
        "doc_to_text": "functools.partial(<function format_cot_example at 0x7db8647fcfe0>, including_answer=False)",
        "doc_to_choice": null,
        "doc_to_target": "functools.partial(<function format_cot_target at 0x7db8647fc9a0>, including_answer=True)",
        "gen_prefix": null,
        "fewshot_delimiter": "\n\n",
        "target_delimiter": " "
      },
      "num_fewshot": 0,
      "metric_list": [
        {
          "metric": "exact_match",
          "aggregation": "mean",
          "higher_is_better": true,
          "ignore_case": true,
          "ignore_punctuation": true
        }
      ],
      "output_type": "generate_until",
      "generation_kwargs": {
        "until": [
          "Question:"
        ],
        "max_gen_toks": 8192,
        "do_sample": false,
        "temperature": 0.0
      },
      "repeats": 1,
      "filter_list": [
        {
          "name": "custom-extract",
          "filter": [
            {
              "function": "regex",
              "regex_pattern": "answer is \\(?([ABCDEFGHIJ])\\)?"
            },
            {
              "function": "take_first"
            }
          ]
        }
      ],
      "should_decontaminate": false,
      "metadata": {
        "version": 3.1,
        "pretrained": "outputs/feature1/glaze2_w4a16_g128",
        "dtype": "bfloat16",
        "max_model_len": 12288,
        "gpu_memory_utilization": 0.85,
        "max_num_batched_tokens": 4096,
        "seed": 42,
        "enable_thinking": false,
        "config_source": "lm_eval/tasks/mmlu_pro/mmlu_pro_physics.yaml"
      }
    },
    "mmlu_pro_psychology": {
      "task": "mmlu_pro_psychology",
      "task_alias": "psychology",
      "dataset_path": "TIGER-Lab/MMLU-Pro",
      "test_split": "test",
      "fewshot_split": "validation",
      "process_docs": "functools.partial(<function process_docs at 0x7db8647fca40>, subject='psychology')",
      "doc_to_text": "functools.partial(<function format_cot_example at 0x7db8647fcfe0>, including_answer=False)",
      "doc_to_target": "answer",
      "unsafe_code": false,
      "description": "The following are multiple choice questions (with answers) about psychology. Think step by step and then finish your answer with \"the answer is (X)\" where X is the correct letter choice.\n",
      "target_delimiter": " ",
      "fewshot_delimiter": "\n\n",
      "fewshot_config": {
        "sampler": "first_n",
        "split": "validation",
        "process_docs": "functools.partial(<function process_docs at 0x7db8647fca40>, subject='psychology')",
        "fewshot_indices": null,
        "samples": null,
        "doc_to_text": "functools.partial(<function format_cot_example at 0x7db8647fcfe0>, including_answer=False)",
        "doc_to_choice": null,
        "doc_to_target": "functools.partial(<function format_cot_target at 0x7db8647fc9a0>, including_answer=True)",
        "gen_prefix": null,
        "fewshot_delimiter": "\n\n",
        "target_delimiter": " "
      },
      "num_fewshot": 0,
      "metric_list": [
        {
          "metric": "exact_match",
          "aggregation": "mean",
          "higher_is_better": true,
          "ignore_case": true,
          "ignore_punctuation": true
        }
      ],
      "output_type": "generate_until",
      "generation_kwargs": {
        "until": [
          "Question:"
        ],
        "max_gen_toks": 8192,
        "do_sample": false,
        "temperature": 0.0
      },
      "repeats": 1,
      "filter_list": [
        {
          "name": "custom-extract",
          "filter": [
            {
              "function": "regex",
              "regex_pattern": "answer is \\(?([ABCDEFGHIJ])\\)?"
            },
            {
              "function": "take_first"
            }
          ]
        }
      ],
      "should_decontaminate": false,
      "metadata": {
        "version": 3.1,
        "pretrained": "outputs/feature1/glaze2_w4a16_g128",
        "dtype": "bfloat16",
        "max_model_len": 12288,
        "gpu_memory_utilization": 0.85,
        "max_num_batched_tokens": 4096,
        "seed": 42,
        "enable_thinking": false,
        "config_source": "lm_eval/tasks/mmlu_pro/mmlu_pro_psychology.yaml"
      }
    },
    "wikitext": {
      "task": "wikitext",
      "dataset_path": "EleutherAI/wikitext_document_level",
      "dataset_name": "wikitext-2-raw-v1",
      "training_split": "train",
      "validation_split": "validation",
      "test_split": "test",
      "doc_to_text": "",
      "doc_to_target": "def wikitext_detokenizer(doc):\n    string = doc[\"page\"]\n    # contractions\n    string = string.replace(\"s '\", \"s'\")\n    string = re.sub(r\"/' [0-9]/\", r\"/'[0-9]/\", string)\n    # number separators\n    string = string.replace(\" @-@ \", \"-\")\n    string = string.replace(\" @,@ \", \",\")\n    string = string.replace(\" @.@ \", \".\")\n    # punctuation\n    string = string.replace(\" : \", \": \")\n    string = string.replace(\" ; \", \"; \")\n    string = string.replace(\" . \", \". \")\n    string = string.replace(\" ! \", \"! \")\n    string = string.replace(\" ? \", \"? \")\n    string = string.replace(\" , \", \", \")\n    # double brackets\n    string = re.sub(r\"\\(\\s*([^\\)]*?)\\s*\\)\", r\"(\\1)\", string)\n    string = re.sub(r\"\\[\\s*([^\\]]*?)\\s*\\]\", r\"[\\1]\", string)\n    string = re.sub(r\"{\\s*([^}]*?)\\s*}\", r\"{\\1}\", string)\n    string = re.sub(r\"\\\"\\s*([^\\\"]*?)\\s*\\\"\", r'\"\\1\"', string)\n    string = re.sub(r\"'\\s*([^']*?)\\s*'\", r\"'\\1'\", string)\n    # miscellaneous\n    string = string.replace(\"= = = =\", \"====\")\n    string = string.replace(\"= = =\", \"===\")\n    string = string.replace(\"= =\", \"==\")\n    string = string.replace(\" \" + chr(176) + \" \", chr(176))\n    string = string.replace(\" \\n\", \"\\n\")\n    string = string.replace(\"\\n \", \"\\n\")\n    string = string.replace(\" N \", \" 1 \")\n    string = string.replace(\" 's\", \"'s\")\n\n    return string\n",
      "unsafe_code": false,
      "process_results": "def process_results(doc, results):\n    (loglikelihood,) = results\n    # IMPORTANT: wikitext counts number of words in *original doc before detokenization*\n    _words = len(re.split(r\"\\s+\", doc[\"page\"]))\n    _bytes = len(doc[\"page\"].encode(\"utf-8\"))\n    return {\n        \"word_perplexity\": (loglikelihood, _words),\n        \"byte_perplexity\": (loglikelihood, _bytes),\n        \"bits_per_byte\": (loglikelihood, _bytes),\n    }\n",
      "description": "",
      "target_delimiter": " ",
      "fewshot_delimiter": "\n\n",
      "fewshot_config": {
        "sampler": "default",
        "split": null,
        "process_docs": null,
        "fewshot_indices": null,
        "samples": null,
        "doc_to_text": "",
        "doc_to_choice": null,
        "doc_to_target": "<function wikitext_detokenizer at 0x7db7b8eedd00>",
        "gen_prefix": null,
        "fewshot_delimiter": "\n\n",
        "target_delimiter": " "
      },
      "num_fewshot": 0,
      "metric_list": [
        {
          "metric": "word_perplexity"
        },
        {
          "metric": "byte_perplexity"
        },
        {
          "metric": "bits_per_byte"
        }
      ],
      "output_type": "loglikelihood_rolling",
      "repeats": 1,
      "should_decontaminate": true,
      "doc_to_decontamination_query": "{{page}}",
      "metadata": {
        "version": 2.0,
        "pretrained": "outputs/feature1/glaze2_w4a16_g128",
        "dtype": "bfloat16",
        "max_model_len": 12288,
        "gpu_memory_utilization": 0.85,
        "max_num_batched_tokens": 4096,
        "seed": 42,
        "enable_thinking": false,
        "config_source": "lm_eval/tasks/wikitext/wikitext.yaml"
      }
    }
  },
  "versions": {
    "arc_challenge": 1.0,
    "gsm8k": 3.0,
    "hellaswag": 1.0,
    "ifeval": 4.0,
    "minerva_math500": 3.1,
    "mmlu_pro": "2.0",
    "mmlu_pro_biology": 3.1,
    "mmlu_pro_business": 3.1,
    "mmlu_pro_chemistry": 3.1,
    "mmlu_pro_computer_science": 3.1,
    "mmlu_pro_economics": 3.1,
    "mmlu_pro_engineering": 3.1,
    "mmlu_pro_health": 3.1,
    "mmlu_pro_history": 3.1,
    "mmlu_pro_law": 3.1,
    "mmlu_pro_math": 3.1,
    "mmlu_pro_other": 3.1,
    "mmlu_pro_philosophy": 3.1,
    "mmlu_pro_physics": 3.1,
    "mmlu_pro_psychology": 3.1,
    "wikitext": 2.0
  },
  "n-shot": {
    "arc_challenge": 0,
    "gsm8k": 0,
    "hellaswag": 0,
    "ifeval": 0,
    "minerva_math500": 0,
    "mmlu_pro": 0,
    "mmlu_pro_biology": 0,
    "mmlu_pro_business": 0,
    "mmlu_pro_chemistry": 0,
    "mmlu_pro_computer_science": 0,
    "mmlu_pro_economics": 0,
    "mmlu_pro_engineering": 0,
    "mmlu_pro_health": 0,
    "mmlu_pro_history": 0,
    "mmlu_pro_law": 0,
    "mmlu_pro_math": 0,
    "mmlu_pro_other": 0,
    "mmlu_pro_philosophy": 0,
    "mmlu_pro_physics": 0,
    "mmlu_pro_psychology": 0,
    "wikitext": 0
  },
  "higher_is_better": {
    "arc_challenge": {
      "acc": true,
      "acc_norm": true
    },
    "gsm8k": {
      "exact_match": true
    },
    "hellaswag": {
      "acc": true,
      "acc_norm": true
    },
    "ifeval": {
      "prompt_level_strict_acc": true,
      "inst_level_strict_acc": true,
      "prompt_level_loose_acc": true,
      "inst_level_loose_acc": true
    },
    "minerva_math500": {
      "exact_match": true,
      "math_verify": true
    },
    "mmlu_pro": {
      "exact_match": true
    },
    "mmlu_pro_biology": {
      "exact_match": true
    },
    "mmlu_pro_business": {
      "exact_match": true
    },
    "mmlu_pro_chemistry": {
      "exact_match": true
    },
    "mmlu_pro_computer_science": {
      "exact_match": true
    },
    "mmlu_pro_economics": {
      "exact_match": true
    },
    "mmlu_pro_engineering": {
      "exact_match": true
    },
    "mmlu_pro_health": {
      "exact_match": true
    },
    "mmlu_pro_history": {
      "exact_match": true
    },
    "mmlu_pro_law": {
      "exact_match": true
    },
    "mmlu_pro_math": {
      "exact_match": true
    },
    "mmlu_pro_other": {
      "exact_match": true
    },
    "mmlu_pro_philosophy": {
      "exact_match": true
    },
    "mmlu_pro_physics": {
      "exact_match": true
    },
    "mmlu_pro_psychology": {
      "exact_match": true
    },
    "wikitext": {
      "word_perplexity": false,
      "byte_perplexity": false,
      "bits_per_byte": false
    }
  },
  "n-samples": {
    "mmlu_pro_biology": {
      "original": 717,
      "effective": 717
    },
    "mmlu_pro_business": {
      "original": 789,
      "effective": 789
    },
    "mmlu_pro_chemistry": {
      "original": 1132,
      "effective": 1132
    },
    "mmlu_pro_computer_science": {
      "original": 410,
      "effective": 410
    },
    "mmlu_pro_economics": {
      "original": 844,
      "effective": 844
    },
    "mmlu_pro_engineering": {
      "original": 969,
      "effective": 969
    },
    "mmlu_pro_health": {
      "original": 818,
      "effective": 818
    },
    "mmlu_pro_history": {
      "original": 381,
      "effective": 381
    },
    "mmlu_pro_law": {
      "original": 1101,
      "effective": 1101
    },
    "mmlu_pro_math": {
      "original": 1351,
      "effective": 1351
    },
    "mmlu_pro_other": {
      "original": 924,
      "effective": 924
    },
    "mmlu_pro_philosophy": {
      "original": 499,
      "effective": 499
    },
    "mmlu_pro_physics": {
      "original": 1299,
      "effective": 1299
    },
    "mmlu_pro_psychology": {
      "original": 798,
      "effective": 798
    },
    "gsm8k": {
      "original": 1319,
      "effective": 1319
    },
    "minerva_math500": {
      "original": 500,
      "effective": 500
    },
    "ifeval": {
      "original": 541,
      "effective": 541
    },
    "hellaswag": {
      "original": 10042,
      "effective": 10042
    },
    "arc_challenge": {
      "original": 1172,
      "effective": 1172
    },
    "wikitext": {
      "original": 62,
      "effective": 62
    }
  },
  "config": {
    "model": "vllm",
    "model_args": {
      "pretrained": "outputs/feature1/glaze2_w4a16_g128",
      "dtype": "bfloat16",
      "max_model_len": 12288,
      "gpu_memory_utilization": 0.85,
      "max_num_batched_tokens": 4096,
      "seed": 42,
      "enable_thinking": false
    },
    "batch_size": "auto",
    "batch_sizes": [],
    "device": "cuda:0",
    "use_cache": null,
    "limit": null,
    "bootstrap_iters": 100000,
    "gen_kwargs": {
      "do_sample": false,
      "max_gen_toks": 8192
    },
    "random_seed": 42,
    "numpy_seed": 42,
    "torch_seed": 42,
    "fewshot_seed": 42
  },
  "git_hash": null,
  "date": 1791172706.913536,
  "pretty_env_info": "PyTorch version: 2.13.0+cu130\nIs debug build: False\nCUDA used to build PyTorch: 13.0\nROCM used to build PyTorch: N/A\n\nOS: Ubuntu 22.04.5 LTS (x86_64)\nGCC version: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0\nClang version: Could not collect\nCMake version: Could not collect\nLibc version: glibc-2.35\n\nPython version: 3.13.13 | packaged by Anaconda, Inc. | (main, Apr 14 2026, 06:19:41) [GCC 14.3.0] (64-bit runtime)\nPython platform: Linux-6.8.0-100-generic-x86_64-with-glibc2.35\nIs CUDA available: True\nCUDA runtime version: 12.6.77\nCUDA_MODULE_LOADING set to: \nGPU models and configuration: GPU 0: NVIDIA A100-PCIE-40GB\nNvidia driver version: 595.58.03\ncuDNN version: Could not collect\nIs XPU available: False\nHIP runtime version: N/A\nMIOpen runtime version: N/A\nIs XNNPACK available: False\nCaching allocator config: {'PYTORCH_ALLOC_CONF': 'expandable_segments:True'}\n\nCPU:\nArchitecture:                            x86_64\nCPU op-mode(s):                          32-bit, 64-bit\nAddress sizes:                           43 bits physical, 48 bits virtual\nByte Order:                              Little Endian\nCPU(s):                                  64\nOn-line CPU(s) list:                     0-63\nVendor ID:                               AuthenticAMD\nModel name:                              AMD EPYC 7542 32-Core Processor\nCPU family:                              23\nModel:                                   49\nThread(s) per core:                      2\nCore(s) per socket:                      32\nSocket(s):                               1\nStepping:                                0\nFrequency boost:                         enabled\nCPU max MHz:                             2900.0000\nCPU min MHz:                             1500.0000\nBogoMIPS:                                5789.32\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 nonstop_tsc cpuid extd_apicid aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate ssbd mba ibrs ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 cqm rdt_a rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local clzero irperf xsaveerptr rdpru wbnoinvd amd_ppin arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif v_spec_ctrl umip rdpid overflow_recov succor smca sev sev_es ibpb_exit_to_user\nVirtualization:                          AMD-V\nL1d cache:                               1 MiB (32 instances)\nL1i cache:                               1 MiB (32 instances)\nL2 cache:                                16 MiB (32 instances)\nL3 cache:                                128 MiB (8 instances)\nNUMA node(s):                            1\nNUMA node0 CPU(s):                       0-63\nVulnerability Gather data sampling:      Not affected\nVulnerability Indirect target selection: 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 Reg file data sampling:    Not affected\nVulnerability Retbleed:                  Mitigation; untrained return thunk; SMT enabled with STIBP protection\nVulnerability Spec rstack overflow:      Mitigation; Safe RET\nVulnerability Spec store bypass:         Mitigation; Speculative Store Bypass disabled via prctl\nVulnerability Spectre v1:                Mitigation; usercopy/swapgs barriers and __user pointer sanitization\nVulnerability Spectre v2:                Mitigation; Retpolines; IBPB conditional; STIBP always-on; RSB filling; PBRSB-eIBRS Not affected; BHI Not affected\nVulnerability Srbds:                     Not affected\nVulnerability Tsa:                       Not affected\nVulnerability Tsx async abort:           Not affected\nVulnerability Vmscape:                   Mitigation; IBPB before exit to userspace\n\nVersions of relevant libraries:\n[pip3] Could not collect\n[conda] No relevant packages",
  "transformers_version": "5.12.1",
  "lm_eval_version": "0.4.13",
  "upper_git_hash": null,
  "tokenizer_pad_token": [
    "<|endoftext|>",
    "248044"
  ],
  "tokenizer_eos_token": [
    "<|im_end|>",
    "248046"
  ],
  "tokenizer_bos_token": [
    null,
    "None"
  ],
  "eot_token_id": 248046,
  "max_length": 12288,
  "task_hashes": {
    "mmlu_pro_biology": "5d95fb5bd262bad94245ce970332c6007b4030161ebcc1e589ea13364171801a",
    "mmlu_pro_business": "fcdae099bd2583bcf72855287e7f20a5218afe9bfcd1438921844c7ee35dbefa",
    "mmlu_pro_chemistry": "ee1fedfd7254b141c4077f2219b8312c80bd936626cda3f9bf9a01e605942fd5",
    "mmlu_pro_computer_science": "04cc80896e6588943c47c7f6ed4d5886de29de856e3f49af896ed31fbefd3be6",
    "mmlu_pro_economics": "bc69611e71348103ce32c85e6149e9d874f535638fa66ff13ad9658a8f3e132b",
    "mmlu_pro_engineering": "b3dd3fc55e0deffe4e71ac0d5b654e6fd4556952bbcaa541e835818b23892d23",
    "mmlu_pro_health": "facfc9987042c4e16f98a721f4a4ffdda092b91951122ab379ef7ffcc03caeab",
    "mmlu_pro_history": "26ce3036df6b0a1f3f258ac5766dc2e7f0deb74fc1b73dea72b6c541888b713a",
    "mmlu_pro_law": "937bf8ea3c910a356439ac1faca2c6ef42c8636bbb89fd5a44051eaff78224c6",
    "mmlu_pro_math": "0fea591da05e06c86b05d7a72e85e4b3fbe24408bedf0e712c83ea89d8522fbe",
    "mmlu_pro_other": "2ad3804a1c0de7a6643aa0498287e2cbe31ff5678fa8666b63b8bbfda1bddf27",
    "mmlu_pro_philosophy": "05639473e9aad1e96748cef728d0c8f5b8b2d51bd620ba78a545a7a46512a54c",
    "mmlu_pro_physics": "5b15defd395695ec1d5a669b7e1c9c73e0458150ae7f03a3c6c639d94cebf714",
    "mmlu_pro_psychology": "494dfe806b3dd200e5a01188416ff7fa8d8b684a2dedbfa375a36fefffacd903",
    "gsm8k": "a4943d341227adaffb533acdd1c4d2debb0c4cb3d2db538dc2c18ffc7d08a49a",
    "minerva_math500": "ec1e3855bb49721a8edd66549f19da55e8e87dce307fc34da4752df5ceb4e9dc",
    "ifeval": "7b1b11587882b83bf16449b64e9c8dd794a36c50d580fc9e005cc0760d17156d",
    "hellaswag": "ed3b8f5cbbfec558333fdef9eca315c4e7cf5a59cda6f4018c3330796fd27cde",
    "arc_challenge": "188c25370aa849dd03116739864278503cd4774e7a10c9fb8bc30ccbc2d72d0b",
    "wikitext": "233109c41076287b5ba5a338ab7b085728acacf36d237a7ab99f34fcda161641"
  },
  "model_source": "vllm",
  "model_name": "outputs/feature1/glaze2_w4a16_g128",
  "model_name_sanitized": "__home__qwen35-compression__outputs__feature1__glaze2_w4a16_g128",
  "system_instruction": null,
  "system_instruction_sha": null,
  "fewshot_as_multiturn": true,
  "chat_template": "{%- set image_count = namespace(value=0) %}\n{%- set video_count = namespace(value=0) %}\n{%- macro render_content(content, do_vision_count, is_system_content=false) %}\n    {%- if content is string %}\n        {{- content }}\n    {%- elif content is iterable and content is not mapping %}\n        {%- for item in content %}\n            {%- if 'image' in item or 'image_url' in item or item.type == 'image' %}\n                {%- if is_system_content %}\n                    {{- raise_exception('System message cannot contain images.') }}\n                {%- endif %}\n                {%- if do_vision_count %}\n                    {%- set image_count.value = image_count.value + 1 %}\n                {%- endif %}\n                {%- if add_vision_id %}\n                    {{- 'Picture ' ~ image_count.value ~ ': ' }}\n                {%- endif %}\n                {{- '<|vision_start|><|image_pad|><|vision_end|>' }}\n            {%- elif 'video' in item or item.type == 'video' %}\n                {%- if is_system_content %}\n                    {{- raise_exception('System message cannot contain videos.') }}\n                {%- endif %}\n                {%- if do_vision_count %}\n                    {%- set video_count.value = video_count.value + 1 %}\n                {%- endif %}\n                {%- if add_vision_id %}\n                    {{- 'Video ' ~ video_count.value ~ ': ' }}\n                {%- endif %}\n                {{- '<|vision_start|><|video_pad|><|vision_end|>' }}\n            {%- elif 'text' in item %}\n                {{- item.text }}\n            {%- else %}\n                {{- raise_exception('Unexpected item type in content.') }}\n            {%- endif %}\n        {%- endfor %}\n    {%- elif content is none or content is undefined %}\n        {{- '' }}\n    {%- else %}\n        {{- raise_exception('Unexpected content type.') }}\n    {%- endif %}\n{%- endmacro %}\n{%- if not messages %}\n    {{- raise_exception('No messages provided.') }}\n{%- endif %}\n{%- if tools and tools is iterable and tools is not mapping %}\n    {{- '<|im_start|>system\\n' }}\n    {{- \"# Tools\\n\\nYou have access to the following functions:\\n\\n<tools>\" }}\n    {%- for tool in tools %}\n        {{- \"\\n\" }}\n        {{- tool | tojson }}\n    {%- endfor %}\n    {{- \"\\n</tools>\" }}\n    {{- '\\n\\nIf you choose to call a function ONLY reply in the following format with NO suffix:\\n\\n<tool_call>\\n<function=example_function_name>\\n<parameter=example_parameter_1>\\nvalue_1\\n</parameter>\\n<parameter=example_parameter_2>\\nThis is the value for the second parameter\\nthat can span\\nmultiple lines\\n</parameter>\\n</function>\\n</tool_call>\\n\\n<IMPORTANT>\\nReminder:\\n- Function calls MUST follow the specified format: an inner <function=...></function> block must be nested within <tool_call></tool_call> XML tags\\n- Required parameters MUST be specified\\n- You may provide optional reasoning for your function call in natural language BEFORE the function call, but NOT after\\n- If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls\\n</IMPORTANT>' }}\n    {%- if messages[0].role == 'system' %}\n        {%- set content = render_content(messages[0].content, false, true)|trim %}\n        {%- if content %}\n            {{- '\\n\\n' + content }}\n        {%- endif %}\n    {%- endif %}\n    {{- '<|im_end|>\\n' }}\n{%- else %}\n    {%- if messages[0].role == 'system' %}\n        {%- set content = render_content(messages[0].content, false, true)|trim %}\n        {{- '<|im_start|>system\\n' + content + '<|im_end|>\\n' }}\n    {%- endif %}\n{%- endif %}\n{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}\n{%- for message in messages[::-1] %}\n    {%- set index = (messages|length - 1) - loop.index0 %}\n    {%- if ns.multi_step_tool and message.role == \"user\" %}\n        {%- set content = render_content(message.content, false)|trim %}\n        {%- if not(content.startswith('<tool_response>') and content.endswith('</tool_response>')) %}\n            {%- set ns.multi_step_tool = false %}\n            {%- set ns.last_query_index = index %}\n        {%- endif %}\n    {%- endif %}\n{%- endfor %}\n{%- if ns.multi_step_tool %}\n    {{- raise_exception('No user query found in messages.') }}\n{%- endif %}\n{%- for message in messages %}\n    {%- set content = render_content(message.content, true)|trim %}\n    {%- if message.role == \"system\" %}\n        {%- if not loop.first %}\n            {{- raise_exception('System message must be at the beginning.') }}\n        {%- endif %}\n    {%- elif message.role == \"user\" %}\n        {{- '<|im_start|>' + message.role + '\\n' + content + '<|im_end|>' + '\\n' }}\n    {%- elif message.role == \"assistant\" %}\n        {%- set reasoning_content = '' %}\n        {%- if message.reasoning_content is string %}\n            {%- set reasoning_content = message.reasoning_content %}\n        {%- else %}\n            {%- if '</think>' in content %}\n                {%- set reasoning_content = content.split('</think>')[0].rstrip('\\n').split('<think>')[-1].lstrip('\\n') %}\n                {%- set content = content.split('</think>')[-1].lstrip('\\n') %}\n            {%- endif %}\n        {%- endif %}\n        {%- set reasoning_content = reasoning_content|trim %}\n        {%- if loop.index0 > ns.last_query_index %}\n            {{- '<|im_start|>' + message.role + '\\n<think>\\n' + reasoning_content + '\\n</think>\\n\\n' + content }}\n        {%- else %}\n            {{- '<|im_start|>' + message.role + '\\n' + content }}\n        {%- endif %}\n        {%- if message.tool_calls and message.tool_calls is iterable and message.tool_calls is not mapping %}\n            {%- for tool_call in message.tool_calls %}\n                {%- if tool_call.function is defined %}\n                    {%- set tool_call = tool_call.function %}\n                {%- endif %}\n                {%- if loop.first %}\n                    {%- if content|trim %}\n                        {{- '\\n\\n<tool_call>\\n<function=' + tool_call.name + '>\\n' }}\n                    {%- else %}\n                        {{- '<tool_call>\\n<function=' + tool_call.name + '>\\n' }}\n                    {%- endif %}\n                {%- else %}\n                    {{- '\\n<tool_call>\\n<function=' + tool_call.name + '>\\n' }}\n                {%- endif %}\n                {%- if tool_call.arguments is defined %}\n                    {%- for args_name, args_value in tool_call.arguments|items %}\n                        {{- '<parameter=' + args_name + '>\\n' }}\n                        {%- set args_value = args_value | tojson | safe if args_value is mapping or (args_value is sequence and args_value is not string) else args_value | string %}\n                        {{- args_value }}\n                        {{- '\\n</parameter>\\n' }}\n                    {%- endfor %}\n                {%- endif %}\n                {{- '</function>\\n</tool_call>' }}\n            {%- endfor %}\n        {%- endif %}\n        {{- '<|im_end|>\\n' }}\n    {%- elif message.role == \"tool\" %}\n        {%- if loop.previtem and loop.previtem.role != \"tool\" %}\n            {{- '<|im_start|>user' }}\n        {%- endif %}\n        {{- '\\n<tool_response>\\n' }}\n        {{- content }}\n        {{- '\\n</tool_response>' }}\n        {%- if not loop.last and loop.nextitem.role != \"tool\" %}\n            {{- '<|im_end|>\\n' }}\n        {%- elif loop.last %}\n            {{- '<|im_end|>\\n' }}\n        {%- endif %}\n    {%- else %}\n        {{- raise_exception('Unexpected message role.') }}\n    {%- endif %}\n{%- endfor %}\n{%- if add_generation_prompt %}\n    {{- '<|im_start|>assistant\\n' }}\n    {%- if enable_thinking is defined and enable_thinking is false %}\n        {{- '<think>\\n\\n</think>\\n\\n' }}\n    {%- else %}\n        {{- '<think>\\n' }}\n    {%- endif %}\n{%- endif %}",
  "chat_template_sha": "a4aee8afcf2e0711942cf848899be66016f8d14a889ff9ede07bca099c28f715",
  "total_evaluation_time_seconds": "7078.210311004892"
}