Skip to content

Commit

Permalink
higher level abstraction wip
Browse files Browse the repository at this point in the history
  • Loading branch information
bursteratom committed Dec 22, 2024
1 parent 393b543 commit b4b0c24
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/axolotl/utils/collators/mm_processing_strategies.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ class Qwen2VLProcessingStrategy(ProcessingStrategy):
def __init__(self, processor: ProcessorMixin, chat_template: Optional[str] = None):
super().__init__(processor, chat_template)
self.image_token = "<|image_pad|>"
self.image_token_id = processor.tokenizer.convert_tokens_to_ids(self.image_token)


class LlavaProcessingStrategy(ProcessingStrategy):
Expand Down

0 comments on commit b4b0c24

Please sign in to comment.