From 7c99fd066f2ca13b9d6e674a2eb49685859745ea Mon Sep 17 00:00:00 2001 From: ydshieh Date: Tue, 17 Dec 2024 18:17:35 +0100 Subject: [PATCH] temp --- src/transformers/models/kosmos2_5/processing_kosmos2_5.py | 5 ----- 1 file changed, 5 deletions(-) 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,