alexkueck commited on
Commit
2f9b2f6
·
1 Parent(s): 70e3503

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +1 -0
utils.py CHANGED
@@ -139,6 +139,7 @@ def greedy_search(input_ids: torch.Tensor,
139
  #Predict
140
  def predict(model,
141
  tokenizer,
 
142
  text,
143
  history,
144
  top_p,
 
139
  #Predict
140
  def predict(model,
141
  tokenizer,
142
+ device,
143
  text,
144
  history,
145
  top_p,