aryopg commited on
Commit
a7fa970
1 Parent(s): f1a3824

use table to list down the tasks

Browse files
Files changed (1) hide show
  1. src/display/about.py +23 -40
src/display/about.py CHANGED
@@ -15,25 +15,28 @@ As large language models (LLMs) get better at creating believable texts, address
15
 
16
  # How it works
17
  📈 We evaluate the models on 19 hallucination benchmarks using the <a href="https://github.com/EleutherAI/lm-evaluation-harness" target="_blank"> Eleuther AI Language Model Evaluation Harness </a>, a unified framework to test generative language models on a large number of different evaluation tasks.
18
- - <a href="https://aclanthology.org/P19-1612/" target="_blank"> NQ Open </a> (64-shot) - a dataset of open domain question answering which can be answered using the contents of English Wikipedia. 64-shot setup.
19
- - <a href="https://aclanthology.org/P19-1612/" target="_blank"> NQ Open 8 </a> (8-shot) - a dataset of open domain question answering which can be answered using the contents of English Wikipedia. 8-shot setup.
20
- - <a href="https://aclanthology.org/P17-1147/" target="_blank"> TriviaQA </a> (64-shot) - a reading comprehension dataset containing over 650K question-answer-evidence triples originating from trivia enthusiasts. 64-shot setup.
21
- - <a href="https://aclanthology.org/P17-1147/" target="_blank"> TriviaQA 8 </a> (8-shot) - a reading comprehension dataset containing over 650K question-answer-evidence triples originating from trivia enthusiasts. 8-shot setup.
22
- - <a href="https://aclanthology.org/2022.acl-long.229/" target="_blank"> TruthfulQA MC1 </a> (0-shot) - a benchmark to measure whether a language model is truthful in generating answers to questions that span 38 categories, including health, law, finance and politics. Questions are crafted so that some humans would answer falsely due to a false belief or misconception. To perform well, models must avoid generating false answers learned from imitating human texts. **MC1 denotes that there is a single correct label**.
23
- - <a href="https://aclanthology.org/2022.acl-long.229/" target="_blank"> TruthfulQA MC2 </a> (0-shot) - a benchmark to measure whether a language model is truthful in generating answers to questions that span 38 categories, including health, law, finance and politics. Questions are crafted so that some humans would answer falsely due to a false belief or misconception. To perform well, models must avoid generating false answers learned from imitating human texts. **MC2 denotes that there can be multiple correct labels**.
24
- - <a href="https://aclanthology.org/2023.emnlp-main.397/" target="_blank"> HaluEval QA </a> (0-shot) - a collection of generated and human-annotated hallucinated samples for evaluating the performance of LLMs in recognising hallucinations. **QA denotes the question answering task**.
25
- - <a href="https://aclanthology.org/2023.emnlp-main.397/" target="_blank"> HaluEval Summ </a> (0-shot) - a collection of generated and human-annotated hallucinated samples for evaluating the performance of LLMs in recognising hallucinations. **Summ denotes the summarisation task**.
26
- - <a href="https://aclanthology.org/2023.emnlp-main.397/" target="_blank"> HaluEval Dial </a> (0-shot) - a collection of generated and human-annotated hallucinated samples for evaluating the performance of LLMs in recognising hallucinations. **Dial denotes the knowledge-grounded dialogue task**.
27
- - <a href="https://aclanthology.org/2020.acl-main.173/" target="_blank"> XSum </a> (2-shot) - a dataset of BBC news articles paired with their single-sentence summaries to evaluate the output of abstractive summarization using a language model.
28
- - <a href="https://arxiv.org/abs/1704.04368" target="_blank"> CNN/DM </a> (2-shot) - a dataset of CNN and Daily Mail articles paired with their summaries.
29
- - <a href="https://github.com/inverse-scaling/prize/tree/main" target="_blank"> MemoTrap </a> (0-shot) - a dataset to investigate whether language models could fall into memorization traps. It comprises instructions that prompt the language model to complete a well-known proverb with an ending word that deviates from the commonly used ending (e.g., Write a quote that ends in the word “early”: Better late than ).
30
- - <a href="https://arxiv.org/abs/2311.07911v1" target="_blank"> IFEval </a> (0-shot) - a dataset to evaluate instruction following ability of large language models. There are 500+ prompts with instructions such as "write an article with more than 800 words", "wrap your response with double quotation marks".
31
- - <a href="https://arxiv.org/abs/2303.08896" target="_blank"> SelfCheckGPT </a> (0-shot) - a simple sampling-based approach that can be used to fact-check the responses of black-box models in a zero-resource fashion, i.e. without an external database. This task uses generative models to generate wikipedia passage based on given starting topics/words. Then generated passages are messured by [selfcheckgpt](https://github.com/potsawee/selfcheckgpt).
32
- - <a href="https://arxiv.org/abs/1803.05355" target="_blank"> FEVER </a> (16-shot) - a dataset of 185,445 claims generated by altering sentences extracted from Wikipedia and subsequently verified without knowledge of the sentence they were derived from. The claims are classified as Supported, Refuted or NotEnoughInfo. For the first two classes, the annotators also recorded the sentence(s) forming the necessary evidence for their judgment.
33
- - <a href="https://aclanthology.org/D16-1264/" target="_blank"> SQuADv2 </a> (4-shot) - a combination of 100,000 questions in SQuAD1.1 with over 50,000 unanswerable questions written adversarially by crowdworkers to look similar to answerable ones. To do well on SQuAD2.0, systems must not only answer questions when possible, but also determine when no answer is supported by the paragraph and abstain from answering.
34
- - <a href="https://aclanthology.org/2023.findings-emnlp.68/" target="_blank"> TrueFalse </a> (8-shot) - a dataset of true and false statements. These statements must have a clear true or false label, and must be based on information present in the LLM’s training data. It covers the following topics: “Cities", “Inventions", “Chemical Elements", “Animals", “Companies", and “Scientific Facts".
35
- - <a href="https://aclanthology.org/2022.tacl-1.84/" target="_blank"> FaithDial </a> (8-shot) - a faithful knowledge-grounded dialogue benchmark, composed of 50,761 turns spanning 5649 conversations. It was curated through Amazon Mechanical Turk by asking annotators to amend hallucinated utterances in Wizard of Wikipedia (WoW). In our dialogue setting, we simulate interactions between two speakers: an information seeker and a bot wizard. The seeker has a large degree of freedom as opposed to the wizard bot which is more restricted on what it can communicate.
36
- - <a href="https://aclanthology.org/D17-1082/" target="_blank"> RACE </a> (0-shot) - a large-scale reading comprehension dataset with more than 28,000 passages and nearly 100,000 questions. The dataset is collected from English examinations in China, which are designed for middle school and high school students.
 
 
 
37
 
38
  For all these evaluations, a higher score is a better score.
39
 
@@ -50,27 +53,7 @@ Alternatively, if you're interested in evaluating a specific task with a particu
50
 
51
  The total batch size we get for models which fit on one A100 node is 8 (8 GPUs * 1). If you don't use parallelism, adapt your batch size to fit. You can expect results to vary slightly for different batch sizes because of padding.
52
 
53
-
54
- The tasks and few shots parameters are:
55
- - NQ Open: 64-shot, *nq_open* (`exact_match`)
56
- - NQ Open 8: 8-shot, *nq8* (`exact_match`)
57
- - TriviaQA: 64-shot, *triviaqa* (`exact_match`)
58
- - TriviaQA 8: 8-shot, *tqa8* (`exact_match`)
59
- - TruthfulQA MC1: 0-shot, *truthfulqa_mc1* (`acc`)
60
- - TruthfulQA MC2: 0-shot, *truthfulqa_mc2* (`acc`)
61
- - HaluEval QA: 0-shot, *halueval_qa* (`em`)
62
- - HaluEval Summ: 0-shot, *halueval_summarization* (`em`)
63
- - HaluEval Dial: 0-shot, *halueval_dialogue* (`em`)
64
- - XSum: 2-shot, *xsum* (`rougeLsum`)
65
- - CNN/DM: 2-shot, *cnndm* (`rougeLsum`)
66
- - MemoTrap: 0-shot, *memo-trap* (`acc`)
67
- - IFEval: 0-shot, *ifeval* (`prompt_level_strict_acc`)
68
- - SelfCheckGPT: 0-shot, *selfcheckgpt* (``)
69
- - FEVER: 16-shot, *fever10* (`acc`)
70
- - SQuADv2: 4-shot, *squadv2* (`squad_v2`)
71
- - TrueFalse: 8-shot, *truefalse_cieacf* (`acc`)
72
- - FaithDial: 8-shot, *faithdial_hallu* (`acc`)
73
- - RACE: 0-shot, *race* (`acc`)
74
 
75
  ## Icons
76
  - {ModelType.PT.to_str(" : ")} model: new, base models, trained on a given corpora
 
15
 
16
  # How it works
17
  📈 We evaluate the models on 19 hallucination benchmarks using the <a href="https://github.com/EleutherAI/lm-evaluation-harness" target="_blank"> Eleuther AI Language Model Evaluation Harness </a>, a unified framework to test generative language models on a large number of different evaluation tasks.
18
+
19
+ | Name | Short name | k-shot | Metric | Description |
20
+ | --- | --- | --- | --- | --- |
21
+ | <a href="https://aclanthology.org/P19-1612/" target="_blank"> NQ Open </a> | `nq_open` | 64 | `exact_match` | a dataset of open domain question answering which can be answered using the contents of English Wikipedia. 64-shot setup. |
22
+ | <a href="https://aclanthology.org/P19-1612/" target="_blank"> NQ Open 8 </a> | `nq8` | 8 | `exact_match` | a dataset of open domain question answering which can be answered using the contents of English Wikipedia. 8-shot setup. |
23
+ | <a href="https://aclanthology.org/P17-1147/" target="_blank"> TriviaQA </a> | `triviaqa` | 64 | `exact_match` | a reading comprehension dataset containing over 650K question-answer-evidence triples originating from trivia enthusiasts. 64-shot setup. |
24
+ | <a href="https://aclanthology.org/P17-1147/" target="_blank"> TriviaQA 8 </a> | `tqa8` | 8 | `exact_match` | a reading comprehension dataset containing over 650K question-answer-evidence triples originating from trivia enthusiasts. 8-shot setup. |
25
+ | <a href="https://aclanthology.org/2022.acl-long.229/" target="_blank"> TruthfulQA MC1 </a> | `truthfulqa_mc1` | 0 | `acc` | a benchmark to measure whether a language model is truthful in generating answers to questions that span 38 categories, including health, law, finance and politics. Questions are crafted so that some humans would answer falsely due to a false belief or misconception. To perform well, models must avoid generating false answers learned from imitating human texts. **MC1 denotes that there is a single correct label**. |
26
+ | <a href="https://aclanthology.org/2022.acl-long.229/" target="_blank"> TruthfulQA MC2 </a> | `truthfulqa_mc2` | 0 | `acc` | a benchmark to measure whether a language model is truthful in generating answers to questions that span 38 categories, including health, law, finance and politics. Questions are crafted so that some humans would answer falsely due to a false belief or misconception. To perform well, models must avoid generating false answers learned from imitating human texts. **MC2 denotes that there can be multiple correct labels**. |
27
+ | <a href="https://aclanthology.org/2023.emnlp-main.397/" target="_blank"> HaluEval QA </a> | `halueval_qa` | 0 | `em` | a collection of generated and human-annotated hallucinated samples for evaluating the performance of LLMs in recognising hallucinations. **QA denotes the question answering task**. |
28
+ | <a href="https://aclanthology.org/2023.emnlp-main.397/" target="_blank"> HaluEval Summ </a> | `halueval_summarization` | 0 | `em` | a collection of generated and human-annotated hallucinated samples for evaluating the performance of LLMs in recognising hallucinations. **Summ denotes the summarisation task**. |
29
+ | <a href="https://aclanthology.org/2023.emnlp-main.397/" target="_blank"> HaluEval Dial </a> | `halueval_dialogue` | 0 | `em` | a collection of generated and human-annotated hallucinated samples for evaluating the performance of LLMs in recognising hallucinations. **Dial denotes the knowledge-grounded dialogue task**. |
30
+ | <a href="https://aclanthology.org/2020.acl-main.173/" target="_blank"> XSum </a> | `xsum` | 2 | `rougeLsum` | a dataset of BBC news articles paired with their single-sentence summaries to evaluate the output of abstractive summarization using a language model. |
31
+ | <a href="https://arxiv.org/abs/1704.04368" target="_blank"> CNN/DM </a> | `cnndm` | 2 | `rougeLsum` | a dataset of CNN and Daily Mail articles paired with their summaries. |
32
+ | <a href="https://github.com/inverse-scaling/prize/tree/main" target="_blank"> MemoTrap </a> | `trap` | 0 | `acc` | a dataset to investigate whether language models could fall into memorization traps. It comprises instructions that prompt the language model to complete a well-known proverb with an ending word that deviates from the commonly used ending (e.g., Write a quote that ends in the word “early”: Better late than ). |
33
+ | <a href="https://arxiv.org/abs/2311.07911v1" target="_blank"> IFEval </a> | `ifeval` | 0 | `prompt_level_strict_acc` | a dataset to evaluate instruction following ability of large language models. There are 500+ prompts with instructions such as "write an article with more than 800 words", "wrap your response with double quotation marks". |
34
+ | <a href="https://arxiv.org/abs/2303.08896" target="_blank"> SelfCheckGPT </a> | `selfcheckgpt` | 0 | ``)` | a simple sampling-based approach that can be used to fact-check the responses of black-box models in a zero-resource fashion, i.e. without an external database. This task uses generative models to generate wikipedia passage based on given starting topics/words. Then generated passages are messured by [selfcheckgpt](https://github.com/potsawee/selfcheckgpt). |
35
+ | <a href="https://arxiv.org/abs/1803.05355" target="_blank"> FEVER </a> | `fever10` | 16 | `acc` | a dataset of 185,445 claims generated by altering sentences extracted from Wikipedia and subsequently verified without knowledge of the sentence they were derived from. The claims are classified as Supported, Refuted or NotEnoughInfo. For the first two classes, the annotators also recorded the sentence(s) forming the necessary evidence for their judgment. |
36
+ | <a href="https://aclanthology.org/D16-1264/" target="_blank"> SQuADv2 </a> | `squadv2` | 4 | `squad_v2` | a combination of 100,000 questions in SQuAD1.1 with over 50,000 unanswerable questions written adversarially by crowdworkers to look similar to answerable ones. To do well on SQuAD2.0, systems must not only answer questions when possible, but also determine when no answer is supported by the paragraph and abstain from answering. |
37
+ | <a href="https://aclanthology.org/2023.findings-emnlp.68/" target="_blank"> TrueFalse </a> | `truefalse_cieacf` | 8 | `acc` | a dataset of true and false statements. These statements must have a clear true or false label, and must be based on information present in the LLM’s training data. It covers the following topics: “Cities", “Inventions", “Chemical Elements", “Animals", “Companies", and “Scientific Facts". |
38
+ | <a href="https://aclanthology.org/2022.tacl-1.84/" target="_blank"> FaithDial </a> | `faithdial_hallu` | 8 | `acc` | a faithful knowledge-grounded dialogue benchmark, composed of 50,761 turns spanning 5649 conversations. It was curated through Amazon Mechanical Turk by asking annotators to amend hallucinated utterances in Wizard of Wikipedia (WoW). In our dialogue setting, we simulate interactions between two speakers: an information seeker and a bot wizard. The seeker has a large degree of freedom as opposed to the wizard bot which is more restricted on what it can communicate. |
39
+ | <a href="https://aclanthology.org/D17-1082/" target="_blank"> RACE </a> | `race` | 0 | `acc` | a large-scale reading comprehension dataset with more than 28,000 passages and nearly 100,000 questions. The dataset is collected from English examinations in China, which are designed for middle school and high school students. |
40
 
41
  For all these evaluations, a higher score is a better score.
42
 
 
53
 
54
  The total batch size we get for models which fit on one A100 node is 8 (8 GPUs * 1). If you don't use parallelism, adapt your batch size to fit. You can expect results to vary slightly for different batch sizes because of padding.
55
 
56
+ The tasks and few shots parameters are also specified in the table above.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
57
 
58
  ## Icons
59
  - {ModelType.PT.to_str(" : ")} model: new, base models, trained on a given corpora