Training done
Browse files- chat_template.json +3 -0
- preprocessor_config.json +1 -1
- processor_config.json +0 -1
- tokenizer.json +0 -0
- tokenizer_config.json +1 -1
chat_template.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"chat_template": "{% for message in messages %}{{message['role'].capitalize()}}{% if message['content'][0]['type'] == 'image' %}{{':'}}{% else %}{{': '}}{% endif %}{% for line in message['content'] %}{% if line['type'] == 'text' %}{{line['text']}}{% elif line['type'] == 'image' %}{{ '<image>' }}{% endif %}{% endfor %}<end_of_utterance>\n{% endfor %}{% if add_generation_prompt %}{{ 'Assistant:' }}{% endif %}"
|
3 |
+
}
|
preprocessor_config.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
{
|
2 |
"do_convert_rgb": true,
|
3 |
-
"do_image_splitting":
|
4 |
"do_normalize": true,
|
5 |
"do_pad": true,
|
6 |
"do_rescale": true,
|
|
|
1 |
{
|
2 |
"do_convert_rgb": true,
|
3 |
+
"do_image_splitting": true,
|
4 |
"do_normalize": true,
|
5 |
"do_pad": true,
|
6 |
"do_rescale": true,
|
processor_config.json
CHANGED
@@ -1,5 +1,4 @@
|
|
1 |
{
|
2 |
-
"chat_template": "{% for message in messages %}{{message['role'].capitalize()}}{% if message['content'][0]['type'] == 'image' %}{{':'}}{% else %}{{': '}}{% endif %}{% for line in message['content'] %}{% if line['type'] == 'text' %}{{line['text']}}{% elif line['type'] == 'image' %}{{ '<image>' }}{% endif %}{% endfor %}<end_of_utterance>\n{% endfor %}{% if add_generation_prompt %}{{ 'Assistant:' }}{% endif %}",
|
3 |
"image_seq_len": 64,
|
4 |
"processor_class": "Idefics2Processor"
|
5 |
}
|
|
|
1 |
{
|
|
|
2 |
"image_seq_len": 64,
|
3 |
"processor_class": "Idefics2Processor"
|
4 |
}
|
tokenizer.json
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
CHANGED
@@ -59,7 +59,7 @@
|
|
59 |
],
|
60 |
"bos_token": "<s>",
|
61 |
"clean_up_tokenization_spaces": false,
|
62 |
-
"do_image_splitting":
|
63 |
"eos_token": "</s>",
|
64 |
"legacy": false,
|
65 |
"model_max_length": 1000000000000000019884624838656,
|
|
|
59 |
],
|
60 |
"bos_token": "<s>",
|
61 |
"clean_up_tokenization_spaces": false,
|
62 |
+
"do_image_splitting": true,
|
63 |
"eos_token": "</s>",
|
64 |
"legacy": false,
|
65 |
"model_max_length": 1000000000000000019884624838656,
|