Skip to content
Snippets Groups Projects
Commit 46117c4b authored by Max Kimmich's avatar Max Kimmich
Browse files

Remove system message from DE prompt template

parent d045eee1
No related branches found
No related tags found
No related merge requests found
......@@ -13,8 +13,8 @@ Prompt 3: {prompt3}
Basic Prompt: {basic_prompt}
"""
DE_PROMPT_WITH_DEMONSTRATION_SIM = """Please follow the instruction step-by-step to generate a better prompt.
1. Identify the different parts between the Prompt 1 and Prompt 2:
# NOTE that the phrase "Please follow ..." was removed since this is already part of our system message although model inputs will look slightly different though.
DE_PROMPT_WITH_DEMONSTRATION_SIM = """1. Identify the different parts between the Prompt 1 and Prompt 2:
Prompt 1: Rewrite the input text into simpler text.
Prompt 2: Rewrite my complex sentence in simpler terms, but keep the meaning.
2. Randomly mutate the different parts
......@@ -45,7 +45,6 @@ Basic Prompt: Make the sentence easier for people who do not speak English fluen
Final Prompt: <prompt>Convert the difficult sentence into simpler words while preserving the meaning, so it's easier for non-native English speakers to understand.</prompt>
Please follow the instruction step-by-step to generate a better prompt.
1. Identify the different parts between the Prompt 1 and Prompt 2:
Prompt 1: {prompt1}
Prompt 2: {prompt2}
......@@ -57,8 +56,7 @@ Basic Prompt: {basic_prompt}
1. """
DE_PROMPT_WITH_DEMONSTRATION_CLS = """Please follow the instruction step-by-step to generate a better prompt.
1. Identify the different parts between the Prompt 1 and Prompt 2:
DE_PROMPT_WITH_DEMONSTRATION_CLS = """1. Identify the different parts between the Prompt 1 and Prompt 2:
Prompt 1: Your task is to classify the comment as one of the following categories: terrible, bad, okay, good, great.
Prompt 2: In this task, you are given sentences from movie reviews. The task is to classify a sentence as one of the following categories: terrible, bad, okay, good, great.
2. Randomly mutate the different parts
......@@ -88,7 +86,6 @@ New Prompt: In this assignment, you will receive movie review sentences. Your jo
Basic Prompt: You are a sentiment classifier. To do this, you must first understand the meaning of the sentence and any relevant context. And then you should classify it as one of the following categories: terrible, bad, okay, good, great.
Final Prompt: <prompt>Your mission is to categorize the statement from a movie review by understanding its meaning and context, and then classify it as one of the following categories: terrible, bad, okay, good, or great.</prompt>
Please follow the instruction step-by-step to generate a better prompt.
1. Identify the different parts between the Prompt 1 and Prompt 2:
Prompt 1: {prompt1}
Prompt 2: {prompt2}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment