Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -94,7 +94,7 @@ class PretrainedBertClass(torch.nn.Module):
|
|
94 |
|
95 |
# return_dict must equal False for Huggingface Transformers v4+
|
96 |
def forward(self, input_ids, attention_mask, token_type_ids):
|
97 |
-
output = self.l1(
|
98 |
input_ids=input_ids,
|
99 |
attention_mask=attention_mask,
|
100 |
token_type_ids=token_type_ids,
|
|
|
94 |
|
95 |
# return_dict must equal False for Huggingface Transformers v4+
|
96 |
def forward(self, input_ids, attention_mask, token_type_ids):
|
97 |
+
_, output = self.l1(
|
98 |
input_ids=input_ids,
|
99 |
attention_mask=attention_mask,
|
100 |
token_type_ids=token_type_ids,
|