Spaces:
Runtime error
Runtime error
Gagan Bhatia commited on
Commit ·
da1164c
1
Parent(s): 9fc882b
Update model.py
Browse files- src/models/model.py +8 -0
src/models/model.py
CHANGED
|
@@ -93,3 +93,11 @@ class PLDataModule(LightningDataModule):
|
|
| 93 |
source_max_token_len: int = 512,
|
| 94 |
target_max_token_len: int = 512,
|
| 95 |
batch_size: int = 4,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 93 |
source_max_token_len: int = 512,
|
| 94 |
target_max_token_len: int = 512,
|
| 95 |
batch_size: int = 4,
|
| 96 |
+
split: float = 0.1
|
| 97 |
+
):
|
| 98 |
+
"""
|
| 99 |
+
:param data_df:
|
| 100 |
+
:param tokenizer:
|
| 101 |
+
:param source_max_token_len:
|
| 102 |
+
:param target_max_token_len:
|
| 103 |
+
:param batch_size:
|