l2p icon indicating copy to clipboard operation
l2p copied to clipboard

Regarding transferring previous learned prompt params to the new prompt

Open prachigarg23 opened this issue 3 years ago • 1 comments

Hi @KingSpencer @zizhaozhang , I have a doubt regarding prompt pool initialization in every new task, inside train_continual.py > train_and_evaluate_per_task(). Why do you transfer previously learned prompt keys to the new prompt parameters in prompt pool and prompt key (lines 550-584)?

Based on my understanding from the paper, the prompt pool and prompt key are shared across tasks and the method learns to select the relevant ones using query function-key matching. So if a subsequent incremental task is initializing prompts from the previous step, why are the prompts being shifted? Are new prompts being added at every step or am I missing something?

Any help will be appreciated.

prachigarg23 avatar Apr 19 '23 17:04 prachigarg23

Did you find reasons?

kimsekeun avatar Nov 26 '23 19:11 kimsekeun