How to override model.generate()
I was wondering how to override model.generate() such that there are more than one input features can be included?
2023-10-30T18:16:47Z
Did you find a way to override the generate()?github.com/huggingface/transformersHow to override model.generate() function in GenerationMixin class?opened05:13AM - 17 Jul 21 UTCclosed07:27AM - 19 Jul 21 UTCyeounyiHi, I want to override `_generate_no_beam_search`, `_generate_beam_search` metho…ds in `GenerationMixin` class to adjust `next_token_logits`. 
I tried it by adding adjusted methods in my custom model code but seems not working. 
I'd appreciate any help. Thanks!