Spaces:
Runtime error
Runtime error
Gagan Bhatia
commited on
Commit
•
df20fa3
1
Parent(s):
168d045
Update model.py
Browse files- src/models/model.py +3 -0
src/models/model.py
CHANGED
@@ -37,3 +37,6 @@ class DataModule(Dataset):
|
|
37 |
:param tokenizer:
|
38 |
:param source_max_token_len:
|
39 |
:param target_max_token_len:
|
|
|
|
|
|
|
|
37 |
:param tokenizer:
|
38 |
:param source_max_token_len:
|
39 |
:param target_max_token_len:
|
40 |
+
"""
|
41 |
+
self.data = data
|
42 |
+
self.target_max_token_len = target_max_token_len
|