def METHOD_NAME(self):
    super().METHOD_NAME()
    self.checkpoint_path = self.get_auto_remove_tmp_dir()
    image_processor = IdeficsImageProcessor()
    tokenizer = LlamaTokenizerFast.from_pretrained("HuggingFaceM4/tiny-random-idefics")
    processor = IdeficsProcessor(image_processor, tokenizer)
    processor.save_pretrained(self.checkpoint_path)
    self.input_keys = ["pixel_values", "input_ids", "attention_mask", "image_attention_mask"]