prompt="I gave a friend an instruction and five inputs. The friend read the instruction and wrote an output for every one of the inputs. Here are the input-output pairs:\n"
prompt="I gave a friend an instruction and five inputs. The friend read the instruction and wrote an output for every one of the inputs. Here are the input-output pairs:\n"
raiseNotImplementedError(
"The prompt needs to be adapted for the model taking into account the correct format."
system_message="You are a helpful assistant. Please provide the instruction wrapped within tags <instruction> and </instruction> that belongs to the given input-output pairs."
system_message=f"You are a helpful assistant. Please provide the instruction wrapped within tags <instruction> and </instruction> that belongs to the given input-output pairs.",
system_message=system_message,
prompt=prompt,
prompt=prompt,
)
)
input(response)
matches=re.findall(
matches=re.findall(
# regex that extracts anything within tags <instruction> and optional </instruction>
# regex that extracts anything within tags <instruction> and optional </instruction>