s3nh commited on
Commit
c88a3df
1 Parent(s): 4fe40f5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -5
app.py CHANGED
@@ -75,8 +75,11 @@ prompt_template = """### HUMAN:
75
  ### RESPONSE:"""
76
 
77
 
78
- prompt_template = """<|prompt|>:{question}</s>
79
- <|answer|>:"""
 
 
 
80
 
81
 
82
  prompt_template = """
@@ -84,9 +87,8 @@ HUMAN: {question}
84
  ASSISTANT:"""
85
 
86
 
87
- prompt_template = """System: You are a helpful assistant.
88
- User: {question}
89
- Assistant: """
90
 
91
  _ = [elm for elm in prompt_template.splitlines() if elm.strip()]
92
  stop_string = [elm.split(":")[0] + ":" for elm in _][-2]
 
75
  ### RESPONSE:"""
76
 
77
 
78
+ prompt_template = """System: You are a helpful assistant.
79
+ User: {question}
80
+ Assistant: """
81
+
82
+
83
 
84
 
85
  prompt_template = """
 
87
  ASSISTANT:"""
88
 
89
 
90
+ prompt_template = """<|prompt|>:{question}</s>
91
+ <|answer|>:"""
 
92
 
93
  _ = [elm for elm in prompt_template.splitlines() if elm.strip()]
94
  stop_string = [elm.split(":")[0] + ":" for elm in _][-2]