thunlp / OpenPrompt

An Open-Source Framework for Prompt-Learning.
https://thunlp.github.io/OpenPrompt/
Apache License 2.0
4.38k stars 455 forks source link

Something about the tutorial 'decoder_max_length=3' #221

Open Beautifuldog01 opened 1 year ago

Beautifuldog01 commented 1 year ago

I don't quite understand the reason why 'note that when t5 is used for classification, we only need to pass to decoder.', which means that the decoder length should be 3, decoder_max_length=3, that's why?