Enable traced model for text-generation task
@gante Hi, Gante.
Refer to: https://github.com/huggingface/transformers/pull/22072
Thanks for your advice. This PR only changed the example, would you please help me to review it? Thanks!
_The documentation is not available anymore as the PR was closed or merged._<|||||>@sgugger @gante<|||||>@gante Thanks for your attention. Would you please help me to merge it? Thanks! I think the demand for `jit trace` will grow, and I hope we can keep on working on it so it will be adapted to all models and all tasks in the future.