MCPcopy Create free account
hub / github.com/clinicalml/TabLLM / validation_step

Method validation_step

t-few/src/models/EncoderDecoder.py:241–243  ·  view source on GitHub ↗
(self, batch, batch_idx)

Source from the content-addressed store, hash-verified

239 return batch_output
240
241 def validation_step(self, batch, batch_idx):
242 batch_output = self.predict(batch)
243 return batch_output
244
245 def validation_test_shared_preparation(self, outputs, output_file):
246 # exchange outputs between processes

Callers

nothing calls this directly

Calls 1

predictMethod · 0.95

Tested by

no test coverage detected