You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We want .generate() to feel similar to .fit(), .predict(), and .evaluate() on a model.
We should consider allowing .generate() to token id input directly (for example, with custom packing of special tokens), if preprocessor=None. In this case the output should also be token id sequences, and not strings.
This would match with .fit(), .predict(), and .evaluate() behavior on a task model when preprocessor=None.