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

Method lowdata_init_train2

seq2seq/prefixTuning.py:314–336  ·  view source on GitHub ↗
(self, gpt2, tokenizer, sample_input, epochs=500)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

__init__Method · 0.95

Calls 5

get_prompt_p5Method · 0.95
tokenizerFunction · 0.85
toMethod · 0.80
backwardMethod · 0.45
stepMethod · 0.45

Tested by

no test coverage detected