"...git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "4cb5ffa93d400636b6809563dc806b64a9b9550d"
Fix `cache_position` initialisation for generation with `use_cache=False` (#30485)
* Fix cache_position init for generation * Update src/transformers/generation/utils.py Co-authored-by:Arthur <48595927+ArthurZucker@users.noreply.github.com> * Fix cache position update --------- Co-authored-by:
Arthur <48595927+ArthurZucker@users.noreply.github.com>
Showing
Please register or sign in to comment