Commit 5a75f82a authored by FarzanehNakhaee's avatar FarzanehNakhaee
Browse files

revert utils black

parent d75128dc
def doc_to_text(doc): def doc_to_text(doc):
return "Sentence 1: {}\nSentence 2: {}\nQuestion: Is the word '{}' used in the same way in the" " two sentences above?\nAnswer:".format( return (
"Sentence 1: {}\nSentence 2: {}\nQuestion: Is the word '{}' used in the same way in the"
" two sentences above?\nAnswer:".format(
doc["sentence1"], doc["sentence1"],
doc["sentence2"], doc["sentence2"],
doc["sentence1"][doc["start1"] : doc["end1"]], doc["sentence1"][doc["start1"] : doc["end1"]],
) )
)
def doc_to_target(doc): def doc_to_target(doc):
......
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