MFAQ
from datasets import load_dataset
load_dataset("vietgpt/mfaq_en")
def preprocess(
sample,
instruction_key="### Instruction:",
response_key="<|endofprompt|>",
end_key="<|endoftext|>",
):
question = sample['question']
completion = sample['answer']
return {'text': """Below is an instruction that describes a task. Write a response that appropriately completes the request.
{instruction_key}
{question}
{response_key}
{completion}
{end_key}""".format(
instruction_key=instruction_key,
question=question,
response_key=response_key,
completion=completion,
end_key=end_key,
)}
"""
Below is an instruction that describes a task. Write a response that appropriately completes the request.
### Instruction:
After the application of WOL, can we start the transmission before we have obtained the Wireless Operating License?
<|endofprompt|>
No, one is not legally supposed to begin the operational transmission. However, you can try doing test transmission.
<|endoftext|>
"""