Commit 5a213c78 authored by ingyuseong's avatar ingyuseong
Browse files

Fix typo

parent a1a5a805
...@@ -163,7 +163,7 @@ class NLI(Task): ...@@ -163,7 +163,7 @@ class NLI(Task):
return self.dataset["validation"] return self.dataset["validation"]
def doc_to_text(self, doc): def doc_to_text(self, doc):
return "{}\질문: {} 참, 거짓, 혹은 무관?\n정답:".format( return "{}\n질문: {} 참, 거짓, 혹은 무관?\n정답:".format(
doc["premise"], doc["premise"],
doc["hypothesis"].strip() doc["hypothesis"].strip()
+ ("" if doc["hypothesis"].strip().endswith(".") else "."), + ("" if doc["hypothesis"].strip().endswith(".") else "."),
......
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