Upload model
Browse files
modelling_deberta_multi.py
CHANGED
@@ -27,4 +27,5 @@ class MultiHeadDebertaForSequenceClassificationModel(DebertaV2PreTrainedModel):
|
|
27 |
head(self.dropout(sequence_output[:, 0, :])) for head in self.heads
|
28 |
]
|
29 |
logits = torch.stack(logits_list, dim=1)
|
30 |
-
|
|
|
|
27 |
head(self.dropout(sequence_output[:, 0, :])) for head in self.heads
|
28 |
]
|
29 |
logits = torch.stack(logits_list, dim=1)
|
30 |
+
outputs.logits = logits
|
31 |
+
return outputs
|