Commit aa44be3f authored by lintangsutawika's avatar lintangsutawika
Browse files

fixed piqa ov

parent 379bb7eb
group:
- ai2_arc
task: piqa
dataset_path: ai2_arc
dataset_name: ARC-Easy
dataset_path: piqa
output_type: multiple_choice
training_split: train
validation_split: validation
test_split: test
doc_to_text: "Question: {{question}}\nAnswer:"
doc_to_target: "{{choices.label.index(answerKey)}}"
doc_to_choice: "{{choices.text}}"
doc_to_text: "Question: {{goal}}\nAnswer:"
doc_to_target: label
doc_to_choice: "{{[sol1, sol2]}}"
should_decontaminate: true
doc_to_decontamination_query: "Question: {{question}}\nAnswer:"
metric_list:
- metric: acc
aggregation: mean
......@@ -22,3 +16,5 @@ metric_list:
- metric: brier_score
aggregation: brier_score
higher_is_better: false
metadata:
- version: 1.0
......@@ -27,7 +27,7 @@ def doc_to_text_base(alphabet, style, doc):
# Full continuation
def choice_A(doc):
return doc["choices"]["text"]
return [doc["sol1"], doc["sol2"]]
# Letters only
......
# dataset_path: ai2_arc
# dataset_name: ARC-Easy
# output_type: multiple_choice
# training_split: train
# validation_split: validation
# test_split: test
# doc_to_text: "Question: {{question}}\nAnswer:"
# doc_to_target: "{{choices.label.index(answerKey)}}"
# doc_to_choice: "{{choices.text}}"
# should_decontaminate: true
# doc_to_decontamination_query: "Question: {{question}}\nAnswer:"
# metric_list:
# - metric: acc
# aggregation: mean
# higher_is_better: true
# - metric: acc_norm
# aggregation: mean
# higher_is_better: true
# - metric: brier_score
# aggregation: brier_score
# higher_is_better: false
dataset_path: piqa
dataset_name: null
output_type: multiple_choice
training_split: train
validation_split: validation
test_split: null
doc_to_text: "Question: {{goal}}\nAnswer:"
doc_to_target: label
doc_to_choice: "{{[sol1, sol2]}}"
......
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