Commit fc5a114f authored by lintangsutawika's avatar lintangsutawika
Browse files

modified yamls

parent 9b20e2d0
...@@ -7,9 +7,8 @@ output_type: multiple_choice ...@@ -7,9 +7,8 @@ output_type: multiple_choice
training_split: train training_split: train
validation_split: validation validation_split: validation
doc_to_text: "{{premise}}\nQuestion: {{hypothesis}}. True, False, or Neither?\nAnswer:" doc_to_text: "{{premise}}\nQuestion: {{hypothesis}}. True, False, or Neither?\nAnswer:"
doc_to_target: "{{answer_choices[label]}}" doc_to_target: label
gold_alias: "{{label}}" # this will be cast to an int. doc_to_choice: ['True', 'False', 'Neither']
template_aliases: "{% set answer_choices = ['True', 'False', 'Neither'] %}"
metric_list: metric_list:
- metric: acc - metric: acc
- metric: f1 - metric: f1
......
...@@ -7,14 +7,13 @@ output_type: multiple_choice ...@@ -7,14 +7,13 @@ output_type: multiple_choice
training_split: train training_split: train
validation_split: validation validation_split: validation
test_split: null test_split: null
template_aliases: "{% set answer_choices = [ending0, ending1, ending2, ending3] %}{% set gold = label %}" doc_to_text: startphrase
doc_to_text: "{{startphrase}}" doc_to_target: label
doc_to_target: "{{answer_choices[gold]}}" doc_to_choice: "{{[ending0, ending1, ending2, ending3]}}"
gold_alias: "{{gold}}"
metric_list: metric_list:
- metric: acc - metric: acc
aggregation: mean aggregation: mean
higher_is_better: true higher_is_better: true
- metric: acc_norm - metric: acc_norm
aggregation: mean aggregation: mean
higher_is_better: true higher_is_better: true
\ No newline at end of file
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