Crystalcareai commited on
Commit
c2f6676
·
verified ·
1 Parent(s): 60d5b50

Update generate.py

Browse files
Files changed (1) hide show
  1. generate.py +1 -4
generate.py CHANGED
@@ -207,7 +207,4 @@ def generate(
207
  **model_kwargs,
208
  )
209
 
210
- return {
211
- "sequences": generated_token_ids,
212
- "attentions": attention_mask
213
- }
 
207
  **model_kwargs,
208
  )
209
 
210
+ return generated_token_ids, attention_mask