Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
train
Function · 0.80
main
Function · 0.80
main
Function · 0.80
train
Function · 0.80
evaluate
Function · 0.80
train
Function · 0.80
evaluate
Function · 0.80
evaluate
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected