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

Method freeze_embeds

seq2seq/finetune.py:472–486  ·  view source on GitHub ↗

Freeze token embeddings and positional embeddings for bart, just token embeddings for t5.

(self)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

__init__Method · 0.95

Calls 1

freeze_paramsFunction · 0.90

Tested by

no test coverage detected