Update app102.py
Browse files
app102.py
CHANGED
@@ -996,6 +996,8 @@ if "task_choice" in st.session_state:
|
|
996 |
"- Use the following instructions:\n"
|
997 |
"- Use the following labels: {labels}.\n"
|
998 |
"- Return the classified text followed by the label in this format: 'text. Label: [label]'\n"
|
|
|
|
|
999 |
"- Do not provide any additional information or explanations\n"
|
1000 |
"- User prompt:\n {user_prompt}\n\n"
|
1001 |
"- Use user provided examples as guidence in the classification process:\n\n {few_shot_examples}\n"
|
|
|
996 |
"- Use the following instructions:\n"
|
997 |
"- Use the following labels: {labels}.\n"
|
998 |
"- Return the classified text followed by the label in this format: 'text. Label: [label]'\n"
|
999 |
+
"- In sentiment classification, ensure the output clearly distinguishes between the three categories: Positive, Negative, and Neutral. Each classification should be unambiguous and accurately reflect the sentiment expressed in the text.\n"
|
1000 |
+
"- In binary sentiment classification, restrict the output to either Positive or Negative only. Do not classify or imply Neutral. If the sentiment is ambiguous or mixed, lean toward the dominant tone.\n"
|
1001 |
"- Do not provide any additional information or explanations\n"
|
1002 |
"- User prompt:\n {user_prompt}\n\n"
|
1003 |
"- Use user provided examples as guidence in the classification process:\n\n {few_shot_examples}\n"
|