nbroad HF staff commited on
Commit
ae4cd1b
1 Parent(s): f245c03

Update infer.py

Browse files
Files changed (1) hide show
  1. infer.py +0 -2
infer.py CHANGED
@@ -151,8 +151,6 @@ def collate_fn(examples, column_name, tokenizer):
151
  feature_cols = ["input_ids", "attention_mask"]
152
  features = [{k: x[k] for k in feature_cols} for x in examples]
153
 
154
- print(features)
155
-
156
  tokenized = tokenizer.pad(
157
  features,
158
  padding=True,
 
151
  feature_cols = ["input_ids", "attention_mask"]
152
  features = [{k: x[k] for k in feature_cols} for x in examples]
153
 
 
 
154
  tokenized = tokenizer.pad(
155
  features,
156
  padding=True,