Skip to content

Latest commit

 

History

History
67 lines (59 loc) · 9.7 KB

task.md

File metadata and controls

67 lines (59 loc) · 9.7 KB

Task statistics

Task Task Type Eval metric Avg len Language #Sample
HotpotQA Multi-doc QA F1 9,149 EN 200
2WikiMultihopQA Multi-doc QA F1 4,885 EN 200
MuSiQue Multi-doc QA F1 11,018 EN 200
DuReader Multi-doc QA Rouge-L 15,768 ZH 200
MultiFieldQA-en Single-doc QA F1 4,559 EN 150
MultiFieldQA-zh Single-doc QA F1 6,771 ZH 200
NarrativeQA Single-doc QA F1 18,405 EN 200
Qasper Single-doc QA F1 3,619 EN 200
GovReport Summarization Rouge-L 8,169 EN 200
QMSum Summarization Rouge-L 10,546 EN 200
VCSUM Summarization Rouge-L 15,147 ZH 200
TriviaQA Few shot F1 8,015 EN 200
NQ Few shot F1 8,210 EN 200
TREC Few shot Accuracy 5,176 EN 200
LSHT Few shot Accuracy 22,333 ZH 200
PassageRetrieval-en Synthetic Accuracy 9,288 EN 200
PassageCount Synthetic Accuracy 11,141 EN 200
PassageRetrieval-zh Synthetic Accuracy 6,745 ZH 200
LCC Code Edit Sim 1,235 Python/C#/Java 500
RepoBench-P Code Edit Sim 5,622 Python/Java 500

Note: In order to avoid discrepancies caused by different tokenizers, we use the word count (using Python's split function) to calculate the average length of English datasets and code datasets, and use the character count to calculate the average length of Chinese datasets.

Task description

Task Task Description
HotpotQA Answer related questions based on multiple given documents
2WikiMultihopQA Answer related questions based on multiple given documents
MuSiQue Answer related questions based on multiple given documents
DuReader Answer related Chinese questions based on multiple retrieved documents
MultiFieldQA-en Answer English questions based on a long article, which comes from a relatively diverse field
MultiFieldQA-zh Answer Chinese questions based on a long article, which comes from a relatively diverse field
NarrativeQA Ask questions based on stories or scripts, including understanding of important elements such as characters, plots, themes, etc.
Qasper Ask questions based on a NLP research paper, questions proposed and answered by NLP practitioners
GovReport A summarization task that requires summarizing government work reports
QMSum A summarization task that requires summarizing meeting records based on user queries
VCSUM A summarization task that requires summarizing Chinese meeting records
TriviaQA Single document question answering task, providing several few-shot examples
NQ Single document question answering task, providing several few-shot examples
TREC A classification task that requires categorizing questions, includes 50 categories in total
LSHT A Chinese classification task that requires categorizing news, includes 24 categories in total
PassageRetrieval-en Given 30 English Wikipedia paragraphs, determine which paragraph the given summary corresponds to
PassageCount Determine the total number of different paragraphs in a given repetitive article
PassageRetrieval-zh Given several Chinese paragraphs from the C4 data set, determine which paragraph the given abstract corresponds to
LCC Given a long piece of code, predict the next line of code
RepoBench-P Given code in multiple files within a GitHub repository (including cross-file dependencies), predict the next line of code

Task construction

Note: For all tasks constructed from existing datasets, we use data from the validation or test set of the existing dataset (except for VCSUM).

  • The tasks of HotpotQA, 2WikiMultihopQA, MuSiQue, and DuReader are built based on the original datasets and processed to be suitable for long context evaluation. Specifically, for questions in the validation set, we select the evidence passage that contains the answer and several distracting articles. These articles together with the original question constitute the input of the tasks.
  • The tasks of MultiFiedQA-zh and MultiFieldQA-en consist of long artical data from about 10 sources, including Latex papers, judicial documents, government work reports, and PDF documents indexed by Google. For each long artical, we invite several PhD and master students to annotate, i.e., to ask questions based on the long artical and give the correct answers. To better automate evaluation, we ask the annotators to propose questions with definitive answers as much as possible.
  • The tasks of NarrativeQA, Qasper, GovReport, and QMSum directly use the data provided by the original papers. In the specific construction, we use the template provided by ZeroSCROLLS to convert the corresponding data into pure text input.
  • The VCSUM task is built based on the original dataset, and we design a corresponding template to convert the corresponding data into pure text input.
  • The tasks of TriviaQA and NQ are constructed in the manner of CoLT5, which provides several examples of question and answering based on documents, and requires the language model to answer related questions based on new documents.
  • The tasks of TREC and LSHT are built based on the original datasets. For each question in the validation set, we sample several data from the training set to form few-shot examples. These examples together with the questions in the validation set constitute the input for this task.
  • The PassageRetrieval-en task is constructed based on English Wikipedia. For each piece of data, we randomly sample 30 paragraphs from English Wikipedia and select one for summarization (using GPT-3.5-Turbo). This task requires the model to give the original paragraph name to which the summary corresponds.
  • The PassageCount task is constructed based on the English wiki. For each piece of data, we randomly sample several passages from English Wikipedia, repeat each paragraph at random several times, and finally shuffle the paragraphs. This task requires the model to determine the total number of different paragraphs in the given context.
  • The PasskeyRetrieval-zh task is constructed based on C4. For each piece of data, we randomly sample several Chinese paragraphs from C4 and select one of them for summarization (using GPT-3.5-Turbo). This task requires the model to give the original paragraph name to which the summary corresponds.
  • For the LCC task, we sample from the original code completion dataset. In the RepoBench-P task, we select the most challenging XF-F (Cross-File-First) setting from the original dataset and refer to the Oracle-Filled scenario in the paper. For each original piece of data, we randomly extract multiple cross-file code snippets, including the gold cross-file code snippet, and concatenate them as input, requiring the model to effectively use cross-file code for completion.