Upload app.py
Browse files
app.py
CHANGED
|
@@ -748,24 +748,23 @@ Bad patterns to avoid:
|
|
| 748 |
# Task
|
| 749 |
Rewrite the prompt to MAXIMIZE accuracy on sentiment classification.
|
| 750 |
|
| 751 |
-
CRITICAL REQUIREMENTS
|
| 752 |
-
1.
|
| 753 |
-
2.
|
| 754 |
-
3.
|
| 755 |
-
|
| 756 |
-
|
| 757 |
-
|
| 758 |
-
-
|
| 759 |
-
|
| 760 |
-
|
| 761 |
-
|
| 762 |
-
|
| 763 |
-
-
|
| 764 |
-
-
|
| 765 |
-
-
|
| 766 |
-
|
| 767 |
-
|
| 768 |
-
You have up to 1000 characters to craft the best possible prompt.
|
| 769 |
|
| 770 |
Output ONLY the new prompt between ```text markers:
|
| 771 |
|
|
|
|
| 748 |
# Task
|
| 749 |
Rewrite the prompt to MAXIMIZE accuracy on sentiment classification.
|
| 750 |
|
| 751 |
+
CRITICAL REQUIREMENTS:
|
| 752 |
+
1. The model's response MUST include the word "sentiment"
|
| 753 |
+
2. The model's response MUST include either "positive" or "negative"
|
| 754 |
+
3. You MUST keep the {{input}} placeholder exactly as {{input}}
|
| 755 |
+
|
| 756 |
+
EVALUATION CRITERIA:
|
| 757 |
+
- Responses are evaluated by checking if they contain "sentiment" AND ("positive" OR "negative") in the first 150 characters
|
| 758 |
+
- The response must match the true label (positive=1, negative=0)
|
| 759 |
+
|
| 760 |
+
Be creative! Try different approaches:
|
| 761 |
+
- Direct instructions vs detailed explanations
|
| 762 |
+
- Short prompts vs longer contextual prompts
|
| 763 |
+
- Imperative commands vs questions
|
| 764 |
+
- System-style vs user-style prompts
|
| 765 |
+
- With or without examples/formatting instructions
|
| 766 |
+
|
| 767 |
+
The goal is to maximize the model's accuracy. Experiment freely!
|
|
|
|
| 768 |
|
| 769 |
Output ONLY the new prompt between ```text markers:
|
| 770 |
|