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
When you are generating up to an end of sequence id, as is often the case with seq2seq setups, you often want max_length to be the maximum possible context window provided by the model.
We should consider whether we should provide this as a default. That could create some simple usages, e.g. seq2seq_model.generate(french_sentence) -> english sentence, that could showcase our library well.