Replies: 3 comments 1 reply
-
To clarify, do you mean you want to use the existing technique from PEFT and are looking for guidance how to use it or are you asking about a custom implementation that differs from what PEFT currently offers? |
Beta Was this translation helpful? Give feedback.
-
I want to custom implement a prompt encoder. I think PEFT has a pre-defined prompt encoder. I was wondering is there any way overload/replace the existing prompt encoder by a custom prompt encoder. Specifically, I was thinking to override the implementation of PromptEncoder |
Beta Was this translation helpful? Give feedback.
-
mark, anything update? |
Beta Was this translation helpful? Give feedback.
-
Hi Everyone,
I wanted to implement a custom prompt encoder to learn some soft prompt embedding which will pass thorough the pre-trained LLM along with input. Is there any resources or example script to implement a custom prompt encoder for PEFT base model to extract soft prompt embedding?
Any resources and suggestions are highly appreciated. Thanks.
Beta Was this translation helpful? Give feedback.
All reactions