Commit 909b7b33 authored by JessicaOjo's avatar JessicaOjo
Browse files

change f1 function

parent 9af86259
......@@ -20,7 +20,7 @@ should_decontaminate: true
doc_to_decontamination_query: premise
metric_list:
- metric: f1
aggregation: f1
aggregation: !function utils.weighted_f1_score
average: weighted
higher_is_better: True
ignore_case: true
......@@ -30,8 +30,5 @@ metric_list:
higher_is_better: true
ignore_case: true
ignore_punctuation: true
regexes_to_ignore:
- ","
- "\\$"
metadata:
version: 1.0
......@@ -11,7 +11,7 @@ doc_to_target: label
doc_to_text: ""
metric_list:
- metric: f1
aggregation: f1
aggregation: !function utils.weighted_f1_score
average: weighted
higher_is_better: True
ignore_case: true
......
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