A standard way to have the `generate` method of the `GenerateMixin` only output the generated tokens
I assume a very common use case like Question Answering would ideally only need to output the generated tokens (essentially discarding the prompt tokens). Is there a standard way to achieve this?I understand we can use thereturn_full_text=Falseparameter in thepipelineobject’s__call__method to achieve this. Is there a way to do it directly on thegeneratemethod of theGenerateMixin??