Spaces:
Runtime error
Runtime error
Gagan Bhatia
commited on
Commit
·
f030196
1
Parent(s):
da1164c
Update model.py
Browse files- src/models/model.py +8 -0
src/models/model.py
CHANGED
@@ -101,3 +101,11 @@ class PLDataModule(LightningDataModule):
|
|
101 |
:param source_max_token_len:
|
102 |
:param target_max_token_len:
|
103 |
:param batch_size:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
101 |
:param source_max_token_len:
|
102 |
:param target_max_token_len:
|
103 |
:param batch_size:
|
104 |
+
:param split:
|
105 |
+
"""
|
106 |
+
super().__init__()
|
107 |
+
self.train_df = train_df
|
108 |
+
self.test_df = test_df
|
109 |
+
self.split = split
|
110 |
+
self.batch_size = batch_size
|
111 |
+
self.target_max_token_len = target_max_token_len
|