Spaces:
Sleeping
Sleeping
Update trace.py
Browse files
trace.py
CHANGED
@@ -9,6 +9,7 @@ def trace_wandb(config,
|
|
9 |
prompt,
|
10 |
completion,
|
11 |
result,
|
|
|
12 |
err_msg,
|
13 |
start_time_ms,
|
14 |
end_time_ms):
|
@@ -24,6 +25,7 @@ def trace_wandb(config,
|
|
24 |
"config": str(config)
|
25 |
} if (str(err_msg) == "") else {},
|
26 |
outputs = {"result": str(result),
|
|
|
27 |
"completion": str(completion)
|
28 |
} if (str(err_msg) == "") else {},
|
29 |
start_time_ms = start_time_ms,
|
|
|
9 |
prompt,
|
10 |
completion,
|
11 |
result,
|
12 |
+
callback,
|
13 |
err_msg,
|
14 |
start_time_ms,
|
15 |
end_time_ms):
|
|
|
25 |
"config": str(config)
|
26 |
} if (str(err_msg) == "") else {},
|
27 |
outputs = {"result": str(result),
|
28 |
+
"callback": str(callback),
|
29 |
"completion": str(completion)
|
30 |
} if (str(err_msg) == "") else {},
|
31 |
start_time_ms = start_time_ms,
|