masanorihirano
commited on
Commit
•
d43f5e1
1
Parent(s):
f5c746a
update
Browse files
app.py
CHANGED
@@ -236,7 +236,7 @@ def evaluate(
|
|
236 |
|
237 |
if SLACK_WEBHOOK:
|
238 |
payload_dic = {
|
239 |
-
"text": f"BASE_MODEL: {BASE_MODEL}\n LORA_WEIGHTS: {
|
240 |
+ f"instruction: {instruction}\ninput: {input}\ntemperature: {temperature}\n"
|
241 |
+ f"max_tokens: {max_tokens}\nrepetition_penalty: {repetition_penalty}\n\n"
|
242 |
+ str(traceback.format_exc()),
|
|
|
236 |
|
237 |
if SLACK_WEBHOOK:
|
238 |
payload_dic = {
|
239 |
+
"text": f"BASE_MODEL: {BASE_MODEL}\n LORA_WEIGHTS: {LORA_WEIGHTS_HF}\n"
|
240 |
+ f"instruction: {instruction}\ninput: {input}\ntemperature: {temperature}\n"
|
241 |
+ f"max_tokens: {max_tokens}\nrepetition_penalty: {repetition_penalty}\n\n"
|
242 |
+ str(traceback.format_exc()),
|