Commit 835cc40e authored by lintangsutawika's avatar lintangsutawika
Browse files

merged latest and added altworld files

parents 8da401e0 c9bbec6e
...@@ -13,3 +13,5 @@ metric_list: ...@@ -13,3 +13,5 @@ metric_list:
- metric: acc_norm - metric: acc_norm
aggregation: mean aggregation: mean
higher_is_better: true higher_is_better: true
metadata:
- version: 0.0
...@@ -20,3 +20,5 @@ metric_list: ...@@ -20,3 +20,5 @@ metric_list:
- metric: f1 - metric: f1
aggregation: mean aggregation: mean
higher_is_better: true higher_is_better: true
metadata:
- version: 2.0
...@@ -12,3 +12,5 @@ should_decontaminate: true ...@@ -12,3 +12,5 @@ should_decontaminate: true
doc_to_decontamination_query: sentence doc_to_decontamination_query: sentence
metric_list: metric_list:
- metric: mcc - metric: mcc
metadata:
- version: 1.0
...@@ -10,3 +10,5 @@ doc_to_target: label ...@@ -10,3 +10,5 @@ doc_to_target: label
doc_to_choice: ["True", "Neither", "False"] doc_to_choice: ["True", "Neither", "False"]
metric_list: metric_list:
- metric: acc - metric: acc
metadata:
- version: 1.0
...@@ -11,3 +11,5 @@ doc_to_choice: ["no", "yes"] ...@@ -11,3 +11,5 @@ doc_to_choice: ["no", "yes"]
metric_list: metric_list:
- metric: acc - metric: acc
- metric: f1 - metric: f1
metadata:
- version: 1.0
...@@ -10,3 +10,5 @@ doc_to_target: label ...@@ -10,3 +10,5 @@ doc_to_target: label
doc_to_choice: ["yes", "no"] doc_to_choice: ["yes", "no"]
metric_list: metric_list:
- metric: acc - metric: acc
metadata:
- version: 1.0
...@@ -12,3 +12,5 @@ doc_to_choice: ["no", "yes"] ...@@ -12,3 +12,5 @@ doc_to_choice: ["no", "yes"]
metric_list: metric_list:
- metric: acc - metric: acc
- metric: f1 - metric: f1
metadata:
- version: 1.0
...@@ -10,3 +10,5 @@ doc_to_target: label ...@@ -10,3 +10,5 @@ doc_to_target: label
doc_to_choice: ["True", "False"] doc_to_choice: ["True", "False"]
metric_list: metric_list:
- metric: acc - metric: acc
metadata:
- version: 1.0
...@@ -10,3 +10,5 @@ doc_to_target: label ...@@ -10,3 +10,5 @@ doc_to_target: label
doc_to_choice: ["negative", "positive"] doc_to_choice: ["negative", "positive"]
metric_list: metric_list:
- metric: acc - metric: acc
metadata:
- version: 1.0
...@@ -10,3 +10,5 @@ doc_to_target: label ...@@ -10,3 +10,5 @@ doc_to_target: label
doc_to_choice: ["False", "True"] doc_to_choice: ["False", "True"]
metric_list: metric_list:
- metric: acc - metric: acc
metadata:
- version: 2.0
...@@ -30,3 +30,5 @@ filter_list: ...@@ -30,3 +30,5 @@ filter_list:
regex_pattern: "The answer is (\\-?[0-9\\.\\,]*[0-9]+)" regex_pattern: "The answer is (\\-?[0-9\\.\\,]*[0-9]+)"
- function: "majority_vote" - function: "majority_vote"
- function: "take_first" - function: "take_first"
metadata:
- version: 0.0
...@@ -40,3 +40,5 @@ filter_list: ...@@ -40,3 +40,5 @@ filter_list:
- function: "regex" - function: "regex"
regex_pattern: "The answer is (\\-?[0-9\\.\\,]+)." regex_pattern: "The answer is (\\-?[0-9\\.\\,]+)."
- function: "take_first" - function: "take_first"
metadata:
- version: 0.0
...@@ -33,3 +33,5 @@ filter_list: ...@@ -33,3 +33,5 @@ filter_list:
- function: "regex" - function: "regex"
regex_pattern: "#### (\\-?[0-9\\.\\,]+)" regex_pattern: "#### (\\-?[0-9\\.\\,]+)"
- function: "take_first" - function: "take_first"
metadata:
- version: 1.0
...@@ -19,3 +19,5 @@ metric_list: ...@@ -19,3 +19,5 @@ metric_list:
- metric: acc_norm - metric: acc_norm
aggregation: mean aggregation: mean
higher_is_better: true higher_is_better: true
metadata:
- version: 1.0
...@@ -12,5 +12,8 @@ metric_list: ...@@ -12,5 +12,8 @@ metric_list:
- metric: acc - metric: acc
aggregation: mean aggregation: mean
higher_is_better: true higher_is_better: true
- metric: acc_norm
aggregation: mean
higher_is_better: true
- metric: brier_score - metric: brier_score
higher_is_better: false higher_is_better: false
...@@ -18,3 +18,5 @@ metric_list: ...@@ -18,3 +18,5 @@ metric_list:
- metric: acc_norm - metric: acc_norm
aggregation: mean aggregation: mean
higher_is_better: true higher_is_better: true
metadata:
- version: 1.0
...@@ -11,3 +11,5 @@ doc_to_target: label ...@@ -11,3 +11,5 @@ doc_to_target: label
doc_to_choice: ['no', 'yes'] doc_to_choice: ['no', 'yes']
metric_list: metric_list:
- metric: acc - metric: acc
metadata:
- version: 1.0
...@@ -4,5 +4,6 @@ dataset_name: deontology ...@@ -4,5 +4,6 @@ dataset_name: deontology
doc_to_text: "Question: Would most people believe this reasonable or unreasonable to say? \"{{scenario}} {{excuse.rstrip()}}\"\nAnswer:" doc_to_text: "Question: Would most people believe this reasonable or unreasonable to say? \"{{scenario}} {{excuse.rstrip()}}\"\nAnswer:"
doc_to_target: label doc_to_target: label
doc_to_choice: ['unreasonable', 'reasonable'] doc_to_choice: ['unreasonable', 'reasonable']
metadata:
- version: 1.0
# TODO: implement exact-match metric for this subset # TODO: implement exact-match metric for this subset
...@@ -5,3 +5,5 @@ task: ethics_justice ...@@ -5,3 +5,5 @@ task: ethics_justice
dataset_name: justice dataset_name: justice
doc_to_text: "Question: Would most people believe this reasonable or unreasonable to say? \"{{scenario}}\"\nAnswer:" doc_to_text: "Question: Would most people believe this reasonable or unreasonable to say? \"{{scenario}}\"\nAnswer:"
# TODO: impl. exact match for this and deontology # TODO: impl. exact match for this and deontology
metadata:
- version: 1.0
...@@ -8,3 +8,5 @@ doc_to_target: !function utils.doc_to_target ...@@ -8,3 +8,5 @@ doc_to_target: !function utils.doc_to_target
doc_to_choice: ['no', 'yes'] doc_to_choice: ['no', 'yes']
metric_list: metric_list:
- metric: acc - metric: acc
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