Spaces:
Runtime error
Runtime error
Gagan Bhatia
commited on
Commit
·
4acf537
1
Parent(s):
87281da
Update model.py
Browse files- src/models/model.py +4 -0
src/models/model.py
CHANGED
|
@@ -57,3 +57,7 @@ class DataModule(Dataset):
|
|
| 57 |
return_attention_mask=True,
|
| 58 |
add_special_tokens=True,
|
| 59 |
return_tensors="pt",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 57 |
return_attention_mask=True,
|
| 58 |
add_special_tokens=True,
|
| 59 |
return_tensors="pt",
|
| 60 |
+
)
|
| 61 |
+
|
| 62 |
+
output_encoding = self.tokenizer(
|
| 63 |
+
data_row["output_text"],
|