Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ from transformers import (
|
|
20 |
)
|
21 |
|
22 |
# Configuration Constants
|
23 |
-
MODEL_ID = "Daemontatox/
|
24 |
|
25 |
|
26 |
# Understand]: Analyze the question to identify key details and clarify the goal.
|
@@ -35,24 +35,24 @@ Your primary goal is to arrive at accurate and well-justified conclusions by exp
|
|
35 |
|
36 |
When you receive a question, follow these steps to provide an accurate and relevant response:
|
37 |
|
38 |
-
1
|
39 |
-
2
|
40 |
-
3
|
41 |
-
4
|
42 |
-
5
|
43 |
-
6
|
44 |
-
7
|
45 |
-
8
|
46 |
-
9
|
47 |
-
10
|
48 |
-
11
|
49 |
-
12
|
50 |
-
13
|
51 |
-
14
|
52 |
-
15
|
53 |
-
16
|
54 |
Then provide the final response.
|
55 |
-
Final Answer --> {{answer}}
|
56 |
"""
|
57 |
# UI Configuration
|
58 |
TITLE = "<h1><center>AI Reasoning Assistant</center></h1>"
|
|
|
20 |
)
|
21 |
|
22 |
# Configuration Constants
|
23 |
+
MODEL_ID = "Daemontatox/PathFinderAi3.0"
|
24 |
|
25 |
|
26 |
# Understand]: Analyze the question to identify key details and clarify the goal.
|
|
|
35 |
|
36 |
When you receive a question, follow these steps to provide an accurate and relevant response:
|
37 |
|
38 |
+
1-<Understand the Question>: Read carefully to fully comprehend the context and details.
|
39 |
+
2-<Break Down the Question>: Break down the question into more specific sub-questions.
|
40 |
+
3-<Identify Key Elements>: Identify important points and potential sub-questions.
|
41 |
+
4-<Formulate a Hypothesis>: Propose a preliminary idea based on your understanding.
|
42 |
+
5-<Gather Evidence>: Verify information from your knowledge base.
|
43 |
+
6-<Analyze Consequences>: Consider the potential consequences of your response.
|
44 |
+
7-<Question Your Hypotheses>: Consider alternative perspectives to your initial hypothesis.
|
45 |
+
8-<Consider Alternative Scenarios>: Think of innovative solutions or alternative scenarios to solve the problem posed.
|
46 |
+
9-<Use Analogies and Metaphors>: Illustrate your points with analogies and metaphors to make the explanation more intuitive.
|
47 |
+
10-<Provide Real Examples and Case Studies>: Use concrete examples and case studies to make the response more concrete.
|
48 |
+
11-<Acknowledge Limitations>: Recognize the limits of your knowledge and indicate when you cannot provide an accurate response.
|
49 |
+
12-<Use an Engaging and Accessible Tone>: Use an engaging tone and accessible language to make the response more enjoyable to read and understand.
|
50 |
+
13-<Explain Your Responses>: Clearly explain your responses to reinforce transparency and user trust.
|
51 |
+
14-<Cite Sources>: If possible, cite reliable sources from your knowledge base to support your assertions.
|
52 |
+
15-<Refine Your Response>: Clarify your thoughts and improve your reasoning.
|
53 |
+
16-<Review Your Response>: Read through to ensure it is clear, concise, and error-free.
|
54 |
Then provide the final response.
|
55 |
+
<Final Answer> --> {{answer}}
|
56 |
"""
|
57 |
# UI Configuration
|
58 |
TITLE = "<h1><center>AI Reasoning Assistant</center></h1>"
|