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

Method __init__

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

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 4

tokenizerFunction · 0.85
toMethod · 0.80
__init__Method · 0.45
from_pretrainedMethod · 0.45

Tested by

no test coverage detected