keras-nlp icon indicating copy to clipboard operation
keras-nlp copied to clipboard

Support ragged inputs to our text generation utilites

Open mattdangerw opened this issue 3 years ago • 2 comments

For the text generation utilities listed here, it would be nice to support ragged inputs, so we could remove the constraint that all seed text in a given batch needs to be exactly the same way.

The simplest way to do this would be to also support a ragged prompt for the generation utils.

mattdangerw avatar Aug 12 '22 17:08 mattdangerw

Will be glad to take this up!

abheesht17 avatar Aug 12 '22 17:08 abheesht17

Thanks!

mattdangerw avatar Aug 12 '22 17:08 mattdangerw