cannot import name 'AutoModelForVision2Seq' from 'transformers'
#24
by
marsmc - opened
cannot import name 'AutoModelForVision2Seq' from 'transformers'
Just encountered this problem earlier, it looks like 'AutoModelForVision2Seq' has been deprecated. I suggest you look at AutoModelForImageTextToText. You can also check this issue discussion for more details https://github.com/huggingface/transformers/issues/40477