MCPcopy Create free account
hub / github.com/MichSchli/AVeriTeC / forward

Method forward

models/DualEncoderModule.py:27–28  ·  view source on GitHub ↗
(self, input_ids, **kwargs)

Source from the content-addressed store, hash-verified

25
26 # Do a forward pass through the model
27 def forward(self, input_ids, **kwargs):
28 return self.model(input_ids, **kwargs)
29
30 def configure_optimizers(self):
31 optimizer = AdamW(self.parameters(), lr = self.learning_rate)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected