Datasets:
Tasks:
Text Generation
Modalities:
Text
Sub-tasks:
language-modeling
Languages:
English
Size:
1K - 10K
ArXiv:
Tags:
question-generation
License:
Update process.py
Browse files- process.py +1 -1
process.py
CHANGED
@@ -22,7 +22,7 @@ def create_data(hf_data):
|
|
22 |
}
|
23 |
example["questions_answers"] = SEP_TOKEN.join([f"Q: {q}, A: {a}" for q, a in zip(example["questions"], example["answers"])])
|
24 |
output.append(example)
|
25 |
-
|
26 |
|
27 |
|
28 |
if __name__ == '__main__':
|
|
|
22 |
}
|
23 |
example["questions_answers"] = SEP_TOKEN.join([f"Q: {q}, A: {a}" for q, a in zip(example["questions"], example["answers"])])
|
24 |
output.append(example)
|
25 |
+
return output
|
26 |
|
27 |
|
28 |
if __name__ == '__main__':
|