Spaces:
Runtime error
Runtime error
Gagan Bhatia
commited on
Commit
·
8707ed0
1
Parent(s):
d5e186f
Update model.py
Browse files- src/models/model.py +1 -0
src/models/model.py
CHANGED
@@ -291,6 +291,7 @@ class Summarization:
|
|
291 |
learning_rate: float = 0.0001,
|
292 |
adam_epsilon: float = 0.01,
|
293 |
num_workers: int = 2,
|
|
|
294 |
):
|
295 |
"""
|
296 |
trains T5/MT5 model on custom dataset
|
|
|
291 |
learning_rate: float = 0.0001,
|
292 |
adam_epsilon: float = 0.01,
|
293 |
num_workers: int = 2,
|
294 |
+
weight_decay: float = 0.0001
|
295 |
):
|
296 |
"""
|
297 |
trains T5/MT5 model on custom dataset
|