Spaces:
Runtime error
Runtime error
Update model.py
Browse files
model.py
CHANGED
|
@@ -47,7 +47,7 @@ class CommentMTLModel(nn.Module):
|
|
| 47 |
# Pass input through BERT model
|
| 48 |
outputs = self.bert(
|
| 49 |
input_ids=input_ids,
|
| 50 |
-
attention_mask=attention_mask
|
| 51 |
token_type_ids=token_type_ids
|
| 52 |
)
|
| 53 |
|
|
|
|
| 47 |
# Pass input through BERT model
|
| 48 |
outputs = self.bert(
|
| 49 |
input_ids=input_ids,
|
| 50 |
+
attention_mask=attention_mask,
|
| 51 |
token_type_ids=token_type_ids
|
| 52 |
)
|
| 53 |
|