"python/sglang/srt/models/granite.py" did not exist on "75ce37f40139394bd2f3f55250095477d8c9b16d"
Commit 9c76176b authored by Leo Gao's avatar Leo Gao
Browse files

naturalqs: fix spacing

parent aecf13dd
...@@ -37,7 +37,7 @@ class NaturalQs(HFTask): ...@@ -37,7 +37,7 @@ class NaturalQs(HFTask):
return rnd.sample(self._training_docs, k) return rnd.sample(self._training_docs, k)
def doc_to_text(self, doc): def doc_to_text(self, doc):
return 'Q: ' + doc['question']['text'] + '\n\n' + 'A: ' return 'Q: ' + doc['question']['text'] + '\n\n' + 'A:'
def doc_to_target(self, doc): def doc_to_target(self, doc):
# There's a short answer and a long answer. Based on the paper, I'm using the long answer. # There's a short answer and a long answer. Based on the paper, I'm using the long 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