adapters icon indicating copy to clipboard operation
adapters copied to clipboard

How do the prefix parameters of prefix_tunning initialize?

Open LRY1994 opened this issue 2 years ago • 1 comments

Hello! How do the prefix parameters of prefix_tunning initialize? with random initialization ? or real words ? How could I initialize the prefix parameters on my own ?

LRY1994 avatar Jul 03 '22 15:07 LRY1994

Hey, the prefix tuning parameters are initialized randomly by default. You can access the parameters using model.get_adapter("prefix_tuning_name") (docs) after initialization to overwrite the initial weights on your own.

calpt avatar Jul 26 '22 08:07 calpt

This issue has been automatically marked as stale because it has been without activity for 90 days. This issue will be closed in 14 days unless you comment or remove the stale label.

adapter-hub-bert avatar Oct 25 '22 06:10 adapter-hub-bert

This issue was closed because it was stale for 14 days without any activity.

adapter-hub-bert avatar Nov 09 '22 06:11 adapter-hub-bert