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

Method __init__

seq2seq/prefixTuning.py:9–297  ·  view source on GitHub ↗
(self, config, model_gpt2, optim_prefix=False, preseqlen=5, use_infix=False, deep_param=False)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

__init__Method · 0.45

Calls 4

lowdata_init_train1Method · 0.95
lowdata_init_train2Method · 0.95
lowdata_init_train3Method · 0.95
from_pretrainedMethod · 0.45

Tested by

no test coverage detected