chiayewken
commited on
Commit
·
9ecc669
1
Parent(s):
ded79ae
Tokenizer bugfix in QwenModel
Browse files
app.py
CHANGED
@@ -164,7 +164,7 @@ class QwenModel(EvalModel):
|
|
164 |
engine: str = "Qwen/Qwen2-VL-7B-Instruct"
|
165 |
model: Optional[Qwen2VLForConditionalGeneration] = None
|
166 |
processor: Optional[Qwen2VLProcessor] = None
|
167 |
-
tokenizer: Optional[AutoTokenizer]
|
168 |
device: str = "cuda"
|
169 |
image_size: int = 768
|
170 |
lora_path: str = ""
|
|
|
164 |
engine: str = "Qwen/Qwen2-VL-7B-Instruct"
|
165 |
model: Optional[Qwen2VLForConditionalGeneration] = None
|
166 |
processor: Optional[Qwen2VLProcessor] = None
|
167 |
+
tokenizer: Optional[AutoTokenizer] = None
|
168 |
device: str = "cuda"
|
169 |
image_size: int = 768
|
170 |
lora_path: str = ""
|