peft icon indicating copy to clipboard operation
peft copied to clipboard

How to change the location of soft tokens in prompt tuning

Open XueTianci opened this issue 3 years ago • 4 comments

Feature request

In fact, when prompt tuning, we will not always add it to the front, it may be in the middle. So I think it's important for us to change the location of soft tokens.

Motivation

In fact, when prompt tuning, we will not always add it to the front, it may be in the middle. So I think it's important for us to change the location of soft tokens.

Your contribution

no

XueTianci avatar Jul 15 '23 13:07 XueTianci

@XueTianci I was interested in knowing if concatenating prompt tokens at suffix position or middle position, does it provide any improvement over prepending it.

LokeshJatangi avatar Jul 26 '23 04:07 LokeshJatangi

@LokeshJatangi I think the performance is based on tasks. When it's a conditional generation task, the position may influence the performance. A long ago, I remember I read some papers about this. But I forget their name. Recently, I want to proof it with my experiments. But PEFT doesn't support it!!!!!!

XueTianci avatar Jul 26 '23 04:07 XueTianci

This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.

github-actions[bot] avatar Aug 19 '23 15:08 github-actions[bot]

Can someone please tell if there is any update on this? I still don't see any support. Is this something being worked on?

logisticloon avatar Apr 09 '24 06:04 logisticloon