Upload processor
Browse files- processor_config.json +2 -2
- tokenizer_config.json +1 -0
processor_config.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"image_token": "<image>",
|
| 3 |
-
"patch_size":
|
| 4 |
"processor_class": "LlavaProcessor",
|
| 5 |
-
"vision_feature_select_strategy":
|
| 6 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"image_token": "<image>",
|
| 3 |
+
"patch_size": 14,
|
| 4 |
"processor_class": "LlavaProcessor",
|
| 5 |
+
"vision_feature_select_strategy": "default"
|
| 6 |
}
|
tokenizer_config.json
CHANGED
|
@@ -48,6 +48,7 @@
|
|
| 48 |
"chat_template": "A chat between a curious user and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the user's questions. {% for message in messages %}{% if message['role'] == 'user' %}USER: {% else %}ASSISTANT: {% endif %}{% for item in message['content'] %}{% if item['type'] == 'text' %}{{ item['text'] }}{% elif item['type'] == 'image' %}<image>{% endif %}{% endfor %}{% if message['role'] == 'user' %} {% else %}{{eos_token}}{% endif %}{% endfor %}",
|
| 49 |
"clean_up_tokenization_spaces": false,
|
| 50 |
"eos_token": "</s>",
|
|
|
|
| 51 |
"legacy": false,
|
| 52 |
"model_max_length": 1000000000000000019884624838656,
|
| 53 |
"pad_token": "<pad>",
|
|
|
|
| 48 |
"chat_template": "A chat between a curious user and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the user's questions. {% for message in messages %}{% if message['role'] == 'user' %}USER: {% else %}ASSISTANT: {% endif %}{% for item in message['content'] %}{% if item['type'] == 'text' %}{{ item['text'] }}{% elif item['type'] == 'image' %}<image>{% endif %}{% endfor %}{% if message['role'] == 'user' %} {% else %}{{eos_token}}{% endif %}{% endfor %}",
|
| 49 |
"clean_up_tokenization_spaces": false,
|
| 50 |
"eos_token": "</s>",
|
| 51 |
+
"extra_special_tokens": {},
|
| 52 |
"legacy": false,
|
| 53 |
"model_max_length": 1000000000000000019884624838656,
|
| 54 |
"pad_token": "<pad>",
|