Peter commited on
Commit
c11c281
·
1 Parent(s): 904400a

logging the hard way

Browse files
Files changed (1) hide show
  1. 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
- logging.info(f"input parameters: {kwargs}, batch_length={batch_length}, batch_stride={batch_stride}")
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",