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
{{ message }}
This repository was archived by the owner on Jan 16, 2025. It is now read-only.
Firstly, thank you for your work.
It appears that past_key_values is being reset here, which results in super().forward() having no information to work with. I believe this part might need to be removed.
Firstly, thank you for your work.
It appears that past_key_values is being reset here, which results in super().forward() having no information to work with. I believe this part might need to be removed.
OpenCoconut/opencoconut/models/qwen2.py
Line 292 in 5519bf4
Another point supporting this view is that the handling of past_key_values in infer_forward is not aligned with the current train_forward.