Gagan Bhatia commited on
Commit
e97a610
1 Parent(s): 2f82e04

Update model.py

Browse files
Files changed (1) hide show
  1. src/models/model.py +1 -0
src/models/model.py CHANGED
@@ -282,6 +282,7 @@ class Summarization:
282
  use_gpu: bool = True,
283
  outputdir: str = "models",
284
  early_stopping_patience_epochs: int = 0, # 0 to disable early stopping feature
 
285
  ):
286
  """
287
  trains T5/MT5 model on custom dataset
 
282
  use_gpu: bool = True,
283
  outputdir: str = "models",
284
  early_stopping_patience_epochs: int = 0, # 0 to disable early stopping feature
285
+ learning_rate: float = 0.0001,
286
  ):
287
  """
288
  trains T5/MT5 model on custom dataset