Unverified Commit caadcbc9 authored by Hailey Schoelkopf's avatar Hailey Schoelkopf Committed by GitHub
Browse files

Update babi.py

parent 9a29afbb
......@@ -51,7 +51,7 @@ class Babi(Task):
return False # TODO Necessary?
def doc_to_decontamination_query(self, doc):
return doc['passage'] + doc['question']
return f"Passage: {doc['passage']}\nQuestion: {doc['question']}\nAnswer:"
def doc_to_target(self, doc):
return " " + doc['answer']
......
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