Compatibility issue with transformers version 4.56.2
#1
by
joaops
- opened
Hello,
I've noticed that this code is not running with the latest version of the transformers library (v4.56.2).
However, it works correctly after downgrading to version 4.52.4.
It's also worth noting that when using version 4.52.4, the following deprecation warning is displayed:
"The seen_tokens attribute is deprecated and will be removed in v4.41. Use the cache_position model input instead."
Hope this helps anyone else facing the same issue.