Update app.py
Browse files
app.py
CHANGED
@@ -23,6 +23,7 @@ def format_prompt(message, history):
|
|
23 |
prompt += f"[INST] As a psychology counselor assistant, provide an assessment and plan for the following counseling notes. Please present a summary, don't make it so long. Present in lines.: {message} [/INST]"
|
24 |
return prompt
|
25 |
'''
|
|
|
26 |
def generate(
|
27 |
prompt, history, temperature=0.9, max_new_tokens=1024, top_p=0.95, repetition_penalty=1.0,
|
28 |
):
|
|
|
23 |
prompt += f"[INST] As a psychology counselor assistant, provide an assessment and plan for the following counseling notes. Please present a summary, don't make it so long. Present in lines.: {message} [/INST]"
|
24 |
return prompt
|
25 |
'''
|
26 |
+
|
27 |
def generate(
|
28 |
prompt, history, temperature=0.9, max_new_tokens=1024, top_p=0.95, repetition_penalty=1.0,
|
29 |
):
|