Spaces:
Runtime error
Runtime error
Gagan Bhatia
commited on
Commit
·
6718384
1
Parent(s):
5995c80
Update model.py
Browse files- src/models/model.py +2 -1
src/models/model.py
CHANGED
@@ -92,7 +92,8 @@ class PLDataModule(LightningDataModule):
|
|
92 |
source_max_token_len: int = 512,
|
93 |
target_max_token_len: int = 512,
|
94 |
batch_size: int = 4,
|
95 |
-
split: float = 0.1
|
|
|
96 |
):
|
97 |
"""
|
98 |
:param data_df:
|
|
|
92 |
source_max_token_len: int = 512,
|
93 |
target_max_token_len: int = 512,
|
94 |
batch_size: int = 4,
|
95 |
+
split: float = 0.1,
|
96 |
+
num_workers: int = 2
|
97 |
):
|
98 |
"""
|
99 |
:param data_df:
|