Gaokao Benchmark aims to track how well we make progress towards human-level intelligence. It can not only provide a comprehensive evaluation of different tasks and domains that are practically useful in a real-world scenario, but also provide rich human performance so that AI systems can be directly compared with humans over time.
pip install --upgrade pip
pip install datalabs
from datalabs import load_dataset
dataset = load_dataset("gaokao2018_np1", "listening")
where
gaokao2018_np1 is a dataset name that represents the version of Gaokao (e.g., year). You can find all dataset and subdataset names
herelistening is a subdataset name that represents question type in Gaokao. You can find all question types hereDifferent types of questions in Gaokao English are formatted diversely. Below we will give detailed description. Example questions can be found in INPUTS.md.
We have provided multiple ways for Gaokao system evaluation, before which, system outputs from different question types (i.e., subdataset) should be
processed into specific formats. Please see examples in data/system_outputs.
listeningcloze-multiple-choicecloze-hintreading-multiple-choicereading-clozewriting-grammarwriting-essayInstall ExplainaBoard
pip install --upgrade pip # recommending the newest version of pip.
pip install explainaboard
listeningexplainaboard --task qa-multiple-choice --dataset gaokao2018_np1 --sub_dataset listening --system_outputs ./data/system_outputs/rst_2018_quanguojuan1_listening.json > report.json
cloze-multiple-choiceexplainaboard --task cloze-multiple-choice --dataset gaokao2018_np1 --sub_dataset cloze-multiple-choice --system_outputs ./data/system_outputs/rst_2018_quanguojuan1_cloze_choice.json > report.json
cloze-hintexplainaboard --task cloze-generative --dataset gaokao2018_np1 --sub_dataset cloze-hint --system_outputs ./data/system_outputs/rst_2018_quanguojuan1_cloze_hint.json > report.json
reading-multiple-choiceexplainaboard --task qa-multiple-choice --dataset gaokao2018_np1 --sub_dataset reading-multiple-choice --system_outputs ./data/system_outputs/rst_2018_quanguojuan1_reading_mc.json > report.json
reading-clozeexplainaboard --task cloze-multiple-choice --dataset gaokao2018_np1 --sub_dataset reading-cloze --system_outputs ./data/system_outputs/rst_2018_quanguojuan1_reading_dependent_cloze.json > report.json
writing-grammarexplainaboard --task grammatical-error-correction --dataset gaokao2018_np1 --sub_dataset writing-grammar --system_outputs ./data/system_outputs/rst_2018_quanguojuan1_gec.json > report.json
writing-essayexplainaboard --task conditional-generation --dataset gaokao2018_np1 --sub_dataset writing-essay --metrics bleu --system_outputs ./data/system_outputs/rst_writing_essay.tsv > report.json
Notably, here we temporarily use the evaluation metric bleu. But if you want your generated essay being evaluated by human (high-school teachers), you can send us
An alternative way to test your Gaokao system w.r.t. each question type (e.g., listening) is using the ExplainaBoard web platform. Specifically,
test in the Leaderboard column and then your will enter into a submission page for individual systemNew, fill in necessary information, and click submitFor your convenience, we detail how to fill in the submission form for each question type in Gaokao:
listeningSystem name: whatever you like (but if different system outputs come from the same system, we suggest that you provide the same system name.Task: qa-multiple-choiceUse custom dataset?: don't choose thisDataset: it depends on the dataset and subdataset name, for example: gaokao2018_np1 writing-grammarSplit: testMetrics: CorrectCountMake it private?: it depends on your preference. But if it's set private, it will not be displayed in the public Gaokao Benchmark.Shared Users: OptionalInput Lang/Output Lang: en (since so far, it only supports for English paper evaluation)System Details: optionalFor other types of questions (i.e., subdataset), ones can follow the above prompt to fill in the form, where the only differences exist in the
Task and Metrics. We detail them below.
cloze-multiple-choiceTask: qa-multiple-choiceMetrics: CorrectCountcloze-hintTask: cloze-generativeMetrics: CorrectCountreading-multiple-choiceTask: qa-multiple-choiceMetrics: CorrectCountreading-clozeTask: cloze-multiple-choiceMetrics: CorrectCountwriting-grammarTask: grammatical-error-correctionMetrics: SeqCorrectCountwriting-essayTask: conditional-generationMetrics: bleuNotably, currently the generated essays are evaluated by the evaluation metric bleu.
But if you want your generated essay being evaluated by human (high-school teachers),
you can send us
So far, the total number of subdatasets covered in Gaokao Benchmark is 70, it's troublesome if users process or upload them individually. To further facilite users' evaluation, we provide an API that users can upload all 70 system outputs at one time. The general idea is:
submission) following
certain order673 followers · starred Mar 2023
723 followers · starred Aug 2022
Gaokao Benchmark aims to track how well we make progress towards human-level intelligence. It can not only provide a comprehensive evaluation of different tasks and domains that are practically useful in a real-world scenario, but also provide rich human performance so that AI systems can be directly compared with humans over time.
pip install --upgrade pip
pip install datalabs
from datalabs import load_dataset
dataset = load_dataset("gaokao2018_np1", "listening")
where
gaokao2018_np1 is a dataset name that represents the version of Gaokao (e.g., year). You can find all dataset and subdataset names
herelistening is a subdataset name that represents question type in Gaokao. You can find all question types hereDifferent types of questions in Gaokao English are formatted diversely. Below we will give detailed description. Example questions can be found in INPUTS.md.
We have provided multiple ways for Gaokao system evaluation, before which, system outputs from different question types (i.e., subdataset) should be
processed into specific formats. Please see examples in data/system_outputs.
listeningcloze-multiple-choicecloze-hintreading-multiple-choicereading-clozewriting-grammarwriting-essayInstall ExplainaBoard
pip install --upgrade pip # recommending the newest version of pip.
pip install explainaboard
listeningexplainaboard --task qa-multiple-choice --dataset gaokao2018_np1 --sub_dataset listening --system_outputs ./data/system_outputs/rst_2018_quanguojuan1_listening.json > report.json
cloze-multiple-choiceexplainaboard --task cloze-multiple-choice --dataset gaokao2018_np1 --sub_dataset cloze-multiple-choice --system_outputs ./data/system_outputs/rst_2018_quanguojuan1_cloze_choice.json > report.json
cloze-hintexplainaboard --task cloze-generative --dataset gaokao2018_np1 --sub_dataset cloze-hint --system_outputs ./data/system_outputs/rst_2018_quanguojuan1_cloze_hint.json > report.json
reading-multiple-choiceexplainaboard --task qa-multiple-choice --dataset gaokao2018_np1 --sub_dataset reading-multiple-choice --system_outputs ./data/system_outputs/rst_2018_quanguojuan1_reading_mc.json > report.json
reading-clozeexplainaboard --task cloze-multiple-choice --dataset gaokao2018_np1 --sub_dataset reading-cloze --system_outputs ./data/system_outputs/rst_2018_quanguojuan1_reading_dependent_cloze.json > report.json
writing-grammarexplainaboard --task grammatical-error-correction --dataset gaokao2018_np1 --sub_dataset writing-grammar --system_outputs ./data/system_outputs/rst_2018_quanguojuan1_gec.json > report.json
writing-essayexplainaboard --task conditional-generation --dataset gaokao2018_np1 --sub_dataset writing-essay --metrics bleu --system_outputs ./data/system_outputs/rst_writing_essay.tsv > report.json
Notably, here we temporarily use the evaluation metric bleu. But if you want your generated essay being evaluated by human (high-school teachers), you can send us
An alternative way to test your Gaokao system w.r.t. each question type (e.g., listening) is using the ExplainaBoard web platform. Specifically,
test in the Leaderboard column and then your will enter into a submission page for individual systemNew, fill in necessary information, and click submitFor your convenience, we detail how to fill in the submission form for each question type in Gaokao:
listeningSystem name: whatever you like (but if different system outputs come from the same system, we suggest that you provide the same system name.Task: qa-multiple-choiceUse custom dataset?: don't choose thisDataset: it depends on the dataset and subdataset name, for example: gaokao2018_np1 writing-grammarSplit: testMetrics: CorrectCountMake it private?: it depends on your preference. But if it's set private, it will not be displayed in the public Gaokao Benchmark.Shared Users: OptionalInput Lang/Output Lang: en (since so far, it only supports for English paper evaluation)System Details: optionalFor other types of questions (i.e., subdataset), ones can follow the above prompt to fill in the form, where the only differences exist in the
Task and Metrics. We detail them below.
cloze-multiple-choiceTask: qa-multiple-choiceMetrics: CorrectCountcloze-hintTask: cloze-generativeMetrics: CorrectCountreading-multiple-choiceTask: qa-multiple-choiceMetrics: CorrectCountreading-clozeTask: cloze-multiple-choiceMetrics: CorrectCountwriting-grammarTask: grammatical-error-correctionMetrics: SeqCorrectCountwriting-essayTask: conditional-generationMetrics: bleuNotably, currently the generated essays are evaluated by the evaluation metric bleu.
But if you want your generated essay being evaluated by human (high-school teachers),
you can send us
So far, the total number of subdatasets covered in Gaokao Benchmark is 70, it's troublesome if users process or upload them individually. To further facilite users' evaluation, we provide an API that users can upload all 70 system outputs at one time. The general idea is:
submission) following
certain order673 followers · starred Mar 2023
723 followers · starred Aug 2022