Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Peter
commited on
Commit
·
c11c281
1
Parent(s):
904400a
logging the hard way
Browse files- summarize.py +1 -1
summarize.py
CHANGED
@@ -91,7 +91,7 @@ def summarize_via_tokenbatches(
|
|
91 |
str: the summary
|
92 |
"""
|
93 |
# log all input parameters
|
94 |
-
|
95 |
encoded_input = tokenizer(
|
96 |
input_text,
|
97 |
padding="max_length",
|
|
|
91 |
str: the summary
|
92 |
"""
|
93 |
# log all input parameters
|
94 |
+
print(f"input parameters: {kwargs}, batch_length={batch_length}, batch_stride={batch_stride}")
|
95 |
encoded_input = tokenizer(
|
96 |
input_text,
|
97 |
padding="max_length",
|