Update modeling_sim.py
Browse files- 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,
|
14 |
-
print(
|
15 |
-
return self.encoder(
|
|
|
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
|