Update processing_phi3_v.py
Browse files- processing_phi3_v.py +1 -0
processing_phi3_v.py
CHANGED
|
@@ -309,6 +309,7 @@ class Phi3VProcessor(ProcessorMixin):
|
|
| 309 |
image_processor_class = "Phi3VImageProcessor"
|
| 310 |
tokenizer_class = ("LlamaTokenizer", "LlamaTokenizerFast")
|
| 311 |
special_image_token = "<|image|>"
|
|
|
|
| 312 |
|
| 313 |
def __init__(self, image_processor, tokenizer):
|
| 314 |
self.image_processor = image_processor
|
|
|
|
| 309 |
image_processor_class = "Phi3VImageProcessor"
|
| 310 |
tokenizer_class = ("LlamaTokenizer", "LlamaTokenizerFast")
|
| 311 |
special_image_token = "<|image|>"
|
| 312 |
+
valid_kwargs = ["chat_template"]
|
| 313 |
|
| 314 |
def __init__(self, image_processor, tokenizer):
|
| 315 |
self.image_processor = image_processor
|