jwieting commited on
Commit
898adc4
1 Parent(s): cf4dfd8

Update modeling_sim.py

Browse files
Files changed (1) hide show
  1. modeling_sim.py +1 -1
modeling_sim.py CHANGED
@@ -10,7 +10,7 @@ class SimModel(MobileBertPreTrainedModel):
10
  # Initialize weights and apply final processing
11
  self.post_init()
12
 
13
- def forward(self, input_ids, attention_mask, token_type_ids, return_dict):
14
  print(input_ids)
15
  embeddings = self.word_embeddings(input_ids)
16
  masked_embeddings = embeddings * attention_mask[:, :, None]
 
10
  # Initialize weights and apply final processing
11
  self.post_init()
12
 
13
+ def forward(self, input_ids, attention_mask, return_dict):
14
  print(input_ids)
15
  embeddings = self.word_embeddings(input_ids)
16
  masked_embeddings = embeddings * attention_mask[:, :, None]