Daemontatox commited on
Commit
e2a3fe7
·
verified ·
1 Parent(s): a8d669c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -7
app.py CHANGED
@@ -23,13 +23,14 @@ from transformers import (
23
  MODEL_ID = "Daemontatox/Phi-4-COT"
24
 
25
 
26
- 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:
27
- [Understand]: Analyze the question to identify key details and clarify the goal.
28
- [Plan]: Outline a logical, step-by-step approach to address the question or problem.
29
- [Reason]: Execute the plan, applying logical reasoning, calculations, or analysis to reach a conclusion. Document each step clearly.
30
- [Reflect]: Review the reasoning and the final answer to ensure it is accurate, complete, and adheres to the principle of openness.
31
- [Respond]: Present a well-structured and transparent answer, enriched with supporting details as needed.
32
- Use these tags as headers in your response to make your thought process easy to follow and aligned with the principle of openness."""
 
33
  # UI Configuration
34
  TITLE = "<h1><center>AI Reasoning Assistant</center></h1>"
35
  PLACEHOLDER = "Ask me anything! I'll think through it step by step."
 
23
  MODEL_ID = "Daemontatox/Phi-4-COT"
24
 
25
 
26
+ # Understand]: Analyze the question to identify key details and clarify the goal.
27
+ # [Plan]: Outline a logical, step-by-step approach to address the question or problem.
28
+ # [Reason]: Execute the plan, applying logical reasoning, calculations, or analysis to reach a conclusion. Document each step clearly.
29
+ # [Reflect]: Review the reasoning and the final answer to ensure it is accurate, complete, and adheres to the principle of openness.
30
+ # [Respond]: Present a well-structured and transparent answer, enriched with supporting details as needed.
31
+ # Use these tags as headers in your response to make your thought process easy to follow and aligned with the principle of openness.
32
+
33
+ DEFAULT_SYSTEM_PROMPT = """You are a highly intelligent reasoning assistant."""
34
  # UI Configuration
35
  TITLE = "<h1><center>AI Reasoning Assistant</center></h1>"
36
  PLACEHOLDER = "Ask me anything! I'll think through it step by step."