jwieting commited on
Commit
fa4f698
1 Parent(s): bb528b8

Update modeling_sim.py

Browse files
Files changed (1) hide show
  1. modeling_sim.py +3 -3
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_args):
14
- print((**input_args))
15
- return self.encoder(**input_args).last_hidden_state
 
10
  # Initialize weights and apply final processing
11
  self.post_init()
12
 
13
+ def forward(self, input_ids):
14
+ print(input_ids)
15
+ return self.encoder(input_ids).last_hidden_state