ubowang commited on
Commit
f935a66
1 Parent(s): 815425b

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +22 -8
utils.py CHANGED
@@ -29,7 +29,9 @@ COLUMN_NAMES = MODEL_INFO
29
 
30
  LEADERBOARD_INTRODUCTION = """# MMLU-Pro Leaderboard
31
 
32
- Welcome to the MMLU-Pro leaderboard, showcasing the performance of various advanced language models on the MMLU-Pro dataset. The MMLU-Pro dataset is an enhanced version of the original MMLU, specifically engineered to offer a more rigorous and realistic evaluation environment.
 
 
33
 
34
  ## What's new about MMLU-Pro
35
 
@@ -37,10 +39,13 @@ Compared to the original MMLU, there are three major differences:
37
 
38
  - The original MMLU dataset only contains 4 options, MMLU-Pro increases it to 10 options. The increase in options will make the evaluation more realistic and challenging. The random guessing will lead to a much lower score.
39
  - The original MMLU dataset contains mostly knowledge-driven questions without requiring much reasoning. Therefore, PPL results are normally better than CoT. In our dataset, we increase the problem difficulty and integrate more reasoning-focused problems. In MMLU-Pro, CoT can be 20% higher than PPL.
40
- - Due to the increase of options, we found that the model performance becomes more robust. For example, Llama-2-7B performance variance on MMLU-Pro is within 1% with several different prompts. In contrast, the performance variance on original MMLU can be as huge as 4-5%.
41
 
42
- For detailed information about the dataset, visit our page on Hugging Face: https://huggingface.co/datasets/TIGER-Lab/MMLU-Pro. If you are interested in replicating these results or wish to evaluate your models using our dataset, access our evaluation scripts available on GitHub: https://github.com/TIGER-AI-Lab/MMLU-Pro.
 
 
43
  Below you can find the accuracies of different models tested on this dataset.
 
44
  """
45
 
46
  TABLE_INTRODUCTION = """
@@ -50,18 +55,27 @@ LEADERBOARD_INFO = """
50
  ## Dataset Summary
51
  - **Questions and Options:** Each question within the dataset typically has **ten** multiple-choice options, except for some that were reduced during the manual review process to remove unreasonable choices. This increase from the original **four** options per question is designed to enhance complexity and robustness, necessitating deeper reasoning to discern the correct answer among a larger pool of potential distractors.
52
  - **Sources:** The dataset consolidates questions from several sources:
53
- - **Original MMLU Questions:** Part of the dataset is coming from the original MMLU dataset. We remove the trivial and ambiguous questions.
54
- - **STEM Website:** Hand picking high-quality STEM problems from the Internet.
55
  - **TheoremQA:** High-quality human-annotated questions requiring theorems to solve.
56
- - **Scibench:** Science questions from college exams.
57
  """
58
 
59
  CITATION_BUTTON_LABEL = "Copy the following snippet to cite these results"
60
- CITATION_BUTTON_TEXT = r""""""
 
 
 
 
 
 
 
 
 
61
 
62
  SUBMIT_INTRODUCTION = """# Submit on MMLU-Pro Leaderboard Introduction
63
 
64
- ## ⚠ Please note that you need to submit the json file with following format:
65
 
66
  ```json
67
  [
 
29
 
30
  LEADERBOARD_INTRODUCTION = """# MMLU-Pro Leaderboard
31
 
32
+ ## Introduction
33
+ We introduce MMLU-Pro, an enhanced benchmark designed to evaluate language understanding models across broader and more challenging tasks. Building on the Massive Multitask Language Understanding (MMLU) dataset, MMLU-Pro integrates more challenging, reasoning-focused questions and increases the answer choices per question from four to ten, significantly raising the difficulty and reducing the chance of success through random guessing. MMLU-Pro comprises over 12,000 rigorously curated questions from academic exams and textbooks, spanning 14 diverse domains including Biology, Business, Chemistry, Computer Science, Economics, Engineering, Health, History, Law, Math, Philosophy, Physics, Psychology, and Others.
34
+
35
 
36
  ## What's new about MMLU-Pro
37
 
 
39
 
40
  - The original MMLU dataset only contains 4 options, MMLU-Pro increases it to 10 options. The increase in options will make the evaluation more realistic and challenging. The random guessing will lead to a much lower score.
41
  - The original MMLU dataset contains mostly knowledge-driven questions without requiring much reasoning. Therefore, PPL results are normally better than CoT. In our dataset, we increase the problem difficulty and integrate more reasoning-focused problems. In MMLU-Pro, CoT can be 20% higher than PPL.
42
+ - By increasing the distractor numbers, we significantly reduce the probability of correct guess by chance to boost the benchmark’s robustness. Specifically, with 24 different prompt styles tested, the sensitivity of model scores to prompt variations decreased from 4-5% in MMLU to just 2% in MMLU-Pro
43
 
44
+ For detailed information about the dataset, visit our page on Hugging Face: https://huggingface.co/datasets/TIGER-Lab/MMLU-Pro.
45
+ If you are interested in replicating these results or wish to evaluate your models using our dataset, access our evaluation scripts available on GitHub: https://github.com/TIGER-AI-Lab/MMLU-Pro.
46
+ If you would like to learn more details about our dataset, please check out our paper: https://arxiv.org/abs/2406.01574
47
  Below you can find the accuracies of different models tested on this dataset.
48
+
49
  """
50
 
51
  TABLE_INTRODUCTION = """
 
55
  ## Dataset Summary
56
  - **Questions and Options:** Each question within the dataset typically has **ten** multiple-choice options, except for some that were reduced during the manual review process to remove unreasonable choices. This increase from the original **four** options per question is designed to enhance complexity and robustness, necessitating deeper reasoning to discern the correct answer among a larger pool of potential distractors.
57
  - **Sources:** The dataset consolidates questions from several sources:
58
+ - **Original MMLU Questions:** Part of the dataset comes from the original MMLU dataset. We remove the trivial and ambiguous questions.
59
+ - **STEM Website:** Hand-picking high-quality STEM problems from the Internet.
60
  - **TheoremQA:** High-quality human-annotated questions requiring theorems to solve.
61
+ - **SciBench:** Science questions from college exams.
62
  """
63
 
64
  CITATION_BUTTON_LABEL = "Copy the following snippet to cite these results"
65
+ CITATION_BUTTON_TEXT = r"""
66
+ @misc{wang2024mmlupro,
67
+ title={MMLU-Pro: A More Robust and Challenging Multi-Task Language Understanding Benchmark},
68
+ author={Yubo Wang and Xueguang Ma and Ge Zhang and Yuansheng Ni and Abhranil Chandra and Shiguang Guo and Weiming Ren and Aaran Arulraj and Xuan He and Ziyan Jiang and Tianle Li and Max Ku and Kai Wang and Alex Zhuang and Rongqi Fan and Xiang Yue and Wenhu Chen},
69
+ year={2024},
70
+ eprint={2406.01574},
71
+ archivePrefix={arXiv},
72
+ primaryClass={cs.CL}
73
+ }
74
+ """
75
 
76
  SUBMIT_INTRODUCTION = """# Submit on MMLU-Pro Leaderboard Introduction
77
 
78
+ ## ⚠ Please note that you need to submit the JSON file with the following format:
79
 
80
  ```json
81
  [