michaelfeil commited on
Commit
2c336fb
1 Parent(s): 6a1a8eb

Upload processor (#2)

Browse files

- Upload processor (303367bad44fd356d79827c5c2e2a9833e39ffa0)
- Delete tokenizer_config.json (b24fb41e80d034e6d4a3fa0ab9d394c6d6a75574)
- Upload tokenizer_config.json (6d9f91f2d68c05b06a8dde8cd79f40337029aeed)

added_tokens.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "<image>": 257152
3
+ }
chat_template.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "chat_template": "{{ bos_token }}{% if messages[0]['role'] == 'system' %}{{ raise_exception('System role not supported') }}{% endif %}{% for message in messages %}{% if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}{{ raise_exception('Conversation roles must alternate user/assistant/user/assistant/...') }}{% endif %}{% if (message['role'] == 'assistant') %}{% set role = 'model' %}{% else %}{% set role = message['role'] %}{% endif %}{{ '<start_of_turn>' + role + '\n' }}{% for content in message['content'] %}{% if content['type'] == 'text' %}{{ content['text'] | trim }}{% endif %}{% endfor %}{{ '<end_of_turn>\n' }}{% endfor %}{% if add_generation_prompt %}{{'<start_of_turn>model'}}{% endif %}"
3
+ }
preprocessor_config.json CHANGED
@@ -9,7 +9,7 @@
9
  0.5
10
  ],
11
  "image_processor_type": "SiglipImageProcessor",
12
- "image_seq_length": 1024,
13
  "image_std": [
14
  0.5,
15
  0.5,
@@ -19,7 +19,7 @@
19
  "resample": 3,
20
  "rescale_factor": 0.00392156862745098,
21
  "size": {
22
- "height": 448,
23
- "width": 448
24
  }
25
  }
 
9
  0.5
10
  ],
11
  "image_processor_type": "SiglipImageProcessor",
12
+ "image_seq_length": 256,
13
  "image_std": [
14
  0.5,
15
  0.5,
 
19
  "resample": 3,
20
  "rescale_factor": 0.00392156862745098,
21
  "size": {
22
+ "height": 224,
23
+ "width": 224
24
  }
25
  }
tokenizer.json CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:1ff84f53c290d0348c4e206da6094ef781cf8c0e482fec8b268a996b32257cfd
3
- size 34600975
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:172fab587d68c56b63eb3620057c62dfd15e503079ff7fce584692e3fd5bf4da
3
+ size 34600820
tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8986bb4f423f07f8c7f70d0dbe3526fb2316056c17bae71b1ea975e77a168fc6
3
+ size 4264023