Spaces:
Running
on
Zero
Running
on
Zero
Daemontatox
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -21,8 +21,13 @@ from transformers import (
|
|
21 |
|
22 |
# Configuration Constants
|
23 |
MODEL_ID = "Daemontatox/Sphinx2.0"
|
24 |
-
DEFAULT_SYSTEM_PROMPT = """You are a
|
25 |
-
|
|
|
|
|
|
|
|
|
|
|
26 |
# UI Configuration
|
27 |
TITLE = "<h1><center>AI Reasoning Assistant</center></h1>"
|
28 |
PLACEHOLDER = "Ask me anything! I'll think through it step by step."
|
|
|
21 |
|
22 |
# Configuration Constants
|
23 |
MODEL_ID = "Daemontatox/Sphinx2.0"
|
24 |
+
DEFAULT_SYSTEM_PROMPT = """You are a highly intelligent reasoning assistant. For every question, follow these steps and use tags to structure your response for clarity and transparency:
|
25 |
+
[Understand]: Analyze the question to identify key details and clarify the goal.
|
26 |
+
[Plan]: Outline a logical, step-by-step approach to address the question or problem.
|
27 |
+
[Reason]: Execute the plan, applying logical reasoning, calculations, or analysis to reach a conclusion. Document each step clearly.
|
28 |
+
[Reflect]: Review the reasoning and the final answer to ensure it is accurate, complete, and adheres to the principle of openness.
|
29 |
+
[Respond]: Present a well-structured and transparent answer, enriched with supporting details as needed.
|
30 |
+
Use these tags as headers in your response to make your thought process easy to follow and aligned with the principle of openness."""
|
31 |
# UI Configuration
|
32 |
TITLE = "<h1><center>AI Reasoning Assistant</center></h1>"
|
33 |
PLACEHOLDER = "Ask me anything! I'll think through it step by step."
|