Update modeling_sim.py
Browse files- modeling_sim.py +1 -0
modeling_sim.py
CHANGED
@@ -12,4 +12,5 @@ class SimModel(MobileBertModel):
|
|
12 |
|
13 |
def forward(self, input_ids, attention_mask, token_type_ids, return_dict):
|
14 |
print(input_ids, attention_mask, token_type_ids)
|
|
|
15 |
return self.encoder(input_ids, attention_mask, token_type_ids).last_hidden_state
|
|
|
12 |
|
13 |
def forward(self, input_ids, attention_mask, token_type_ids, return_dict):
|
14 |
print(input_ids, attention_mask, token_type_ids)
|
15 |
+
print(return_dict)
|
16 |
return self.encoder(input_ids, attention_mask, token_type_ids).last_hidden_state
|