MCPcopy
hub / github.com/deepspeedai/DeepSpeedExamples / train

Method train

bing_bert/turing/models.py:130–131  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

128 self.network.eval()
129
130 def train(self):
131 self.network.train()
132
133 def save_bert(self, filename: str):
134 return torch.save(self.bert_encoder.state_dict(), filename)

Callers 8

trainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
trainFunction · 0.80
evaluateFunction · 0.80
trainFunction · 0.80
evaluateFunction · 0.80
evaluateFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected