Upload app.py
Browse files
app.py
CHANGED
|
@@ -1183,9 +1183,20 @@ with gr.Blocks(title="OpenEvolve Prompt Optimizer", theme=gr.themes.Soft()) as d
|
|
| 1183 |
|
| 1184 |
initial_prompt = gr.TextArea(
|
| 1185 |
label="Initial Prompt",
|
| 1186 |
-
value="
|
| 1187 |
-
|
| 1188 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1189 |
)
|
| 1190 |
|
| 1191 |
# Button outside the column for better visibility
|
|
|
|
| 1183 |
|
| 1184 |
initial_prompt = gr.TextArea(
|
| 1185 |
label="Initial Prompt",
|
| 1186 |
+
value="""You are a math competition expert. Solve this AIME problem using clear reasoning.
|
| 1187 |
+
|
| 1188 |
+
Problem: {input}
|
| 1189 |
+
|
| 1190 |
+
Instructions:
|
| 1191 |
+
1. Read the problem carefully
|
| 1192 |
+
2. Identify what is being asked
|
| 1193 |
+
3. Break down the solution into steps
|
| 1194 |
+
4. Show your work clearly
|
| 1195 |
+
5. Provide the final numerical answer after ####
|
| 1196 |
+
|
| 1197 |
+
Solution:""",
|
| 1198 |
+
lines=10,
|
| 1199 |
+
info="Use {input} as placeholder for dataset inputs. Chain-of-thought prompting works best for AIME!"
|
| 1200 |
)
|
| 1201 |
|
| 1202 |
# Button outside the column for better visibility
|