debugging
Browse files- modeling_bert.py +1 -1
modeling_bert.py
CHANGED
@@ -501,7 +501,7 @@ class BertForPreTraining(BertPreTrainedModel):
|
|
501 |
)
|
502 |
prediction_scores, seq_relationship_score = self.cls(sequence_output, pooled_output)
|
503 |
|
504 |
-
print(labels)
|
505 |
assert False
|
506 |
|
507 |
if (
|
|
|
501 |
)
|
502 |
prediction_scores, seq_relationship_score = self.cls(sequence_output, pooled_output)
|
503 |
|
504 |
+
print(labels.flatten()[masked_token_idx])
|
505 |
assert False
|
506 |
|
507 |
if (
|