jwieting commited on
Commit
ded4412
1 Parent(s): 125be23

Update modeling_sim.py

Browse files
Files changed (1) hide show
  1. modeling_sim.py +1 -1
modeling_sim.py CHANGED
@@ -12,4 +12,4 @@ 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, return_dict).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
+ return self.encoder(input_ids, attention_mask, token_type_ids).last_hidden_state