In the first notebook, there is an example to summarize the task. First instruction says “Summarize the following text delimited by <>” But Format also has <> as delimiters. Model does not get confused between two.
prompt_2 = f"“”
Your task is to perform the following actions:
1 - Summarize the following text delimited by
<> with 1 sentence.
2 - Translate the summary into French.
3 - List each name in the French summary.
4 - Output a json object that contains the
following keys: french_summary, num_names.
Use the following format:
Text:
Summary:
Translation:
Names:
Output JSON:
Text: <{text}>
“”"