can not run the demo

#1
by JuliaQuQu - opened

model = AutoModel.from_pretrained("sachin/vit2distilgpt2")
ValueError: Unrecognized configuration class <class 'transformers.models.vision_encoder_decoder.configuration_vision_encoder_decoder.VisionEncoderDecoderConfig'> for this kind of AutoModel: AutoModel.
It seems that AutoModel doesn't fit vit2distilgpt2

Sign up or log in to comment