DD0101 commited on
Commit
3f0e363
1 Parent(s): 6c90767

Update Customized_IDSF/load_model.py

Browse files
Files changed (1) hide show
  1. Customized_IDSF/load_model.py +1 -1
Customized_IDSF/load_model.py CHANGED
@@ -120,7 +120,7 @@ def convert_input_file_to_tensor_dataset(
120
 
121
  return dataset
122
 
123
- def predict(text, pred_config, args, tokenizer, pad_token_label_id, device):
124
 
125
  lines = text
126
  dataset = convert_input_file_to_tensor_dataset(lines, pred_config, args, tokenizer, pad_token_label_id)
 
120
 
121
  return dataset
122
 
123
+ def predict(text, pred_config, args, tokenizer, pad_token_label_id, model, device):
124
 
125
  lines = text
126
  dataset = convert_input_file_to_tensor_dataset(lines, pred_config, args, tokenizer, pad_token_label_id)