It is a good idea to include the bad_words_ids in the call to generate to avoid errors arising when increasing 
the max_new_tokens: the model will want to generate a new <image> or <fake_token_around_image> token when there 
is no image being generated by the model.
You can set it on-the-fly as in this guide, or store in the GenerationConfig as described in the Text generation strategies guide.