model.generate should support past as an input
## 🚀 Feature

the `model.generate` method should support `past` as an input (and return the hidden states so that the next time it can inject past)



This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
