jwieting commited on
Commit
a38759a
1 Parent(s): eddb7d2

Update modeling_sim.py

Browse files
Files changed (1) hide show
  1. modeling_sim.py +2 -2
modeling_sim.py CHANGED
@@ -10,6 +10,6 @@ class SimModel(MobileBertModel):
10
  # Initialize weights and apply final processing
11
  self.post_init()
12
 
13
- def forward(self, input_ids, attention_mask):
14
- print(input_ids, attention_mask)
15
  return self.encoder(input_ids, attention_mask).last_hidden_state
 
10
  # Initialize weights and apply final processing
11
  self.post_init()
12
 
13
+ def forward(self, input_ids, attention_mask, token_type_ids):
14
+ print(input_ids, attention_mask, token_type_ids)
15
  return self.encoder(input_ids, attention_mask).last_hidden_state