pminervini commited on
Commit
93f817a
1 Parent(s): ee59163
src/backend/tasks/nq_swap/nq_swap.yaml CHANGED
@@ -3,8 +3,8 @@ dataset_path: pminervini/NQ-Swap
3
  output_type: generate_until
4
  validation_split: substituted
5
  description: "Answer the following question based on the provided context:\n\n"
6
- doc_to_text: "Context: {{context}}\nQuestion: {{question}}?\nAnswer:"
7
- doc_to_target: "{{answer}}" # TODO: should be multi-target
8
  fewshot_delimiter: "\n\n"
9
  generation_kwargs:
10
  until:
 
3
  output_type: generate_until
4
  validation_split: substituted
5
  description: "Answer the following question based on the provided context:\n\n"
6
+ doc_to_text: "Context: {{sub_context}}\nQuestion: {{question}}?\nAnswer:"
7
+ doc_to_target: "{{sub_answer}}" # TODO: should be multi-target
8
  fewshot_delimiter: "\n\n"
9
  generation_kwargs:
10
  until: