MCPcopy Create free account
hub / github.com/XiangLi1999/PrefixTuning / _step

Method _step

seq2seq/finetune.py:152–182  ·  view source on GitHub ↗
(self, batch: dict)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

training_stepMethod · 0.95
_generative_stepMethod · 0.95

Calls 3

shift_tokens_rightFunction · 0.90
label_smoothed_nll_lossFunction · 0.90
_shift_rightMethod · 0.45

Tested by

no test coverage detected