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
The message says "The seen_tokensattribute is deprecated and will be removed in v4.41. Use thecache_position model input instead." however there is no cache_position in this class (it is present in StaticCache). Perhaps there may be a clearer message.
We're aware of it, and we're working on a pre-requisite task before tackling the current confusion around seen_tokens/get_seq_length. (In the long run, we don't want to use these functions, but rather use the explicit cache_positions all the time.)
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.
Please note that issues that do not follow the contributing guidelines are likely to be ignored.
The message says
"The
seen_tokensattribute is deprecated and will be removed in v4.41. Use the
cache_positionmodel input instead."
however there is nocache_position
in this class (it is present in StaticCache). Perhaps there may be a clearer message.code ref: https://github.com/huggingface/transformers/blame/7c1149120829eb58e42a1ba4dbd2a9fa98864707/src/transformers/cache_utils.py#L91
tagging @gante
The text was updated successfully, but these errors were encountered: