Spaces:
Runtime error
Runtime error
Gagan Bhatia commited on
Commit ·
7f81350
1
Parent(s): 8e49ded
Update model.py
Browse files- src/models/model.py +1 -0
src/models/model.py
CHANGED
|
@@ -301,6 +301,7 @@ class Summarization:
|
|
| 301 |
early_stopping_patience_epochs (int, optional): monitors val_loss on epoch end and stops training,
|
| 302 |
if val_loss does not improve after the specied number of epochs. set 0 to disable early stopping.
|
| 303 |
Defaults to 0 (disabled)
|
|
|
|
| 304 |
"""
|
| 305 |
self.target_max_token_len = target_max_token_len
|
| 306 |
self.data_module = PLDataModule(
|
|
|
|
| 301 |
early_stopping_patience_epochs (int, optional): monitors val_loss on epoch end and stops training,
|
| 302 |
if val_loss does not improve after the specied number of epochs. set 0 to disable early stopping.
|
| 303 |
Defaults to 0 (disabled)
|
| 304 |
+
:param learning_rate:
|
| 305 |
"""
|
| 306 |
self.target_max_token_len = target_max_token_len
|
| 307 |
self.data_module = PLDataModule(
|