Spaces:
Runtime error
Runtime error
Gagan Bhatia
commited on
Commit
•
453434f
1
Parent(s):
0b6db0c
Update model.py
Browse files- src/models/model.py +6 -0
src/models/model.py
CHANGED
@@ -121,3 +121,9 @@ class PLDataModule(LightningDataModule):
|
|
121 |
)
|
122 |
self.test_dataset = DataModule(
|
123 |
self.test_df,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
121 |
)
|
122 |
self.test_dataset = DataModule(
|
123 |
self.test_df,
|
124 |
+
self.tokenizer,
|
125 |
+
self.source_max_token_len,
|
126 |
+
self.target_max_token_len,
|
127 |
+
)
|
128 |
+
|
129 |
+
def train_dataloader(self):
|