MCPcopy Create free account
hub / github.com/biuping/ChatBot / train

Function train

gpt_2/gpt_train.py:228–292  ·  view source on GitHub ↗
(model, device, train_list, multi_gpu, hparams)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

mainFunction · 0.70

Calls 3

__len__Method · 0.95
MyDatasetClass · 0.90
cal_loss_accuracyFunction · 0.85

Tested by

no test coverage detected