diff --git a/src/transformers/models/kosmos2_5/processing_kosmos2_5.py b/src/transformers/models/kosmos2_5/processing_kosmos2_5.py index 84e8f612612c8a..36fe6f306a20c3 100644 --- a/src/transformers/models/kosmos2_5/processing_kosmos2_5.py +++ b/src/transformers/models/kosmos2_5/processing_kosmos2_5.py @@ -76,11 +76,6 @@ class Kosmos2_5Processor(ProcessorMixin): def __init__(self, image_processor, tokenizer): tokenizer.return_token_type_ids = False super().__init__(image_processor, tokenizer) - self.boi = tokenizer.convert_tokens_to_ids("") - self.eoi = tokenizer.convert_tokens_to_ids("") - self.pad = tokenizer.convert_tokens_to_ids("") - self.bos = tokenizer.convert_tokens_to_ids("") - self.eos = tokenizer.convert_tokens_to_ids("") def __call__( self,