Florence2LanguageForConditionalGeneration has no shift_tokens_right method defined in the class
#2
by sky-2002 - opened
Call prepare_decoder_input_ids_from_labels instead of shift_tokens_right as it is not defined in Florence2LanguageForConditionalGeneration
@yifeihu my code was breaking due to this, tried to fix, let me know if it works