thunlp/OpenPrompt

Interpret soft prompt

treena908 opened this issue · 0 comments

I want decode the soft prompt embedding to sequence of words. I have the output soft embedding logit from BertMaskedLm and T5ForConditionalGeneration head. the output logits shape is (batch_Size, num_tokens,3,vacab_size). How do I do that?