Unverified Commit 78a215e0 authored by Lintang Sutawika's avatar Lintang Sutawika Committed by GitHub
Browse files

Bigbench fix (#1686)



* edit process multiple-choice

* split template yaml

* remove

* modified multiple_choice tasks

* udpate

* Update multiple_choice_template_b_yaml

* Update multiple_choice_template_a_yaml

---------
Co-authored-by: default avatarHailey Schoelkopf <65563625+haileyschoelkopf@users.noreply.github.com>
parent f2ea37e3
# Generated by utils.py
dataset_name: unit_conversion_zero_shot
include: ../multiple_choice_template_yaml
include: ../multiple_choice_template_a_yaml
task: bigbench_unit_conversion_multiple_choice
# Generated by utils.py
dataset_name: unit_interpretation_zero_shot
include: ../multiple_choice_template_yaml
include: ../multiple_choice_template_a_yaml
task: bigbench_unit_interpretation_multiple_choice
# Generated by utils.py
dataset_name: unnatural_in_context_learning_zero_shot
include: ../multiple_choice_template_yaml
task: bigbench_unnatural_in_context_learning_multiple_choice
# Generated by utils.py
dataset_name: vitaminc_fact_verification_zero_shot
include: ../multiple_choice_template_yaml
include: ../multiple_choice_template_a_yaml
task: bigbench_vitaminc_fact_verification_multiple_choice
# Generated by utils.py
dataset_name: what_is_the_tao_zero_shot
include: ../multiple_choice_template_yaml
include: ../multiple_choice_template_a_yaml
task: bigbench_what_is_the_tao_multiple_choice
# Generated by utils.py
dataset_name: which_wiki_edit_zero_shot
include: ../multiple_choice_template_yaml
include: ../multiple_choice_template_a_yaml
task: bigbench_which_wiki_edit_multiple_choice
# Generated by utils.py
dataset_name: winowhy_zero_shot
include: ../multiple_choice_template_yaml
include: ../multiple_choice_template_a_yaml
task: bigbench_winowhy_multiple_choice
# Generated by utils.py
dataset_name: word_sorting_zero_shot
include: ../multiple_choice_template_yaml
task: bigbench_word_sorting_multiple_choice
# Generated by utils.py
dataset_name: word_unscrambling_zero_shot
include: ../multiple_choice_template_yaml
task: bigbench_word_unscrambling_multiple_choice
......@@ -12,4 +12,4 @@ metric_list:
- metric: acc
# TODO: brier score and other metrics
metadata:
version: 0.0
version: 1.0
group: bigbench_multiple_choice
dataset_path: hails/bigbench
dataset_kwargs:
# num_shots: 0 # TODO: num of shots for `bigbench` HF dataset should be controlled through this, not through the typical methods
# subtask_name: null
output_type: multiple_choice
test_split: default
doc_to_text: inputs
doc_to_target: "{{multiple_choice_scores.index(1)}}"
doc_to_choice: "{{multiple_choice_targets}}"
metric_list:
- metric: acc
# TODO: brier score and other metrics
metadata:
version: 1.0
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment