Commit 7d5e511c authored by lintangsutawika's avatar lintangsutawika
Browse files

adjustments

parent 2493c6cc
...@@ -116,6 +116,11 @@ class PromptString: ...@@ -116,6 +116,11 @@ class PromptString:
doc_to_text = self.prompt_string["doc_to_text"] doc_to_text = self.prompt_string["doc_to_text"]
doc_to_target = self.prompt_string["doc_to_target"] doc_to_target = self.prompt_string["doc_to_target"]
# TODO need a way to process doc_to_choice
if "doc_to_choice" in self.prompt_string:
raise "Not yet implemented to accept doc_to_choice"
text_string = utils.apply_template(doc_to_text, doc) text_string = utils.apply_template(doc_to_text, doc)
target_string = utils.apply_template(doc_to_target, doc) target_string = utils.apply_template(doc_to_target, doc)
......
...@@ -15,4 +15,3 @@ metric_list: ...@@ -15,4 +15,3 @@ metric_list:
- metric: acc_norm - metric: acc_norm
aggregation: mean aggregation: mean
higher_is_better: true higher_is_better: true
num_fewshot: 5
...@@ -12,4 +12,3 @@ metric_list: ...@@ -12,4 +12,3 @@ metric_list:
- metric: exact_match - metric: exact_match
aggregation: mean aggregation: mean
higher_is_better: true higher_is_better: true
num_fewshot: 5
...@@ -13,4 +13,3 @@ metric_list: ...@@ -13,4 +13,3 @@ metric_list:
- metric: acc_norm - metric: acc_norm
aggregation: mean aggregation: mean
higher_is_better: true higher_is_better: true
num_fewshot: 5
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