pszemraj commited on
Commit
d630101
1 Parent(s): 4b042ac

Update aggregate.py

Browse files
Files changed (1) hide show
  1. aggregate.py +1 -1
aggregate.py CHANGED
@@ -119,7 +119,7 @@ class BatchAggregator:
119
  )
120
  return pipeline(
121
  "text2text-generation",
122
- model_name,
123
  device=self.device,
124
  torch_dtype=torch.float32,
125
  )
 
119
  )
120
  return pipeline(
121
  "text2text-generation",
122
+ model=model_name,
123
  device=self.device,
124
  torch_dtype=torch.float32,
125
  )