TheMockingJay1013 commited on
Commit
c38339d
·
verified ·
1 Parent(s): a3cf28c

Upload tokenizer

Browse files
added_tokens.json CHANGED
@@ -1,5 +1,3 @@
1
  {
2
- "<image_soft_token>": 262144,
3
- "<|im_end|>": 262146,
4
- "<|im_start|>": 262145
5
  }
 
1
  {
2
+ "<image_soft_token>": 262144
 
 
3
  }
special_tokens_map.json CHANGED
@@ -1,26 +1,22 @@
1
  {
2
- "additional_special_tokens": [
3
- {
4
- "content": "<|im_start|>",
5
- "lstrip": false,
6
- "normalized": false,
7
- "rstrip": false,
8
- "single_word": false
9
- },
10
- {
11
- "content": "<|im_end|>",
12
- "lstrip": false,
13
- "normalized": false,
14
- "rstrip": false,
15
- "single_word": false
16
- }
17
- ],
18
  "boi_token": "<start_of_image>",
19
- "bos_token": "<|im_start|>",
 
 
 
 
 
 
20
  "eoi_token": "<end_of_image>",
21
- "eos_token": "<|im_end|>",
 
 
 
 
 
 
22
  "image_token": "<image_soft_token>",
23
- "pad_token": "<|im_end|>",
24
  "unk_token": {
25
  "content": "<unk>",
26
  "lstrip": false,
 
1
  {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  "boi_token": "<start_of_image>",
3
+ "bos_token": {
4
+ "content": "<bos>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false
9
+ },
10
  "eoi_token": "<end_of_image>",
11
+ "eos_token": {
12
+ "content": "<eos>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false
17
+ },
18
  "image_token": "<image_soft_token>",
19
+ "pad_token": "<eos>",
20
  "unk_token": {
21
  "content": "<unk>",
22
  "lstrip": false,
tokenizer.json CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3c5591c1449f71a5ae4c2ed1cb1cbdadf42e4cc9537c9850184d520a42cb18dc
3
- size 33384944
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4667f2089529e8e7657cfb6d1c19910ae71ff5f28aa7ab2ff2763330affad795
3
+ size 33384568
tokenizer_config.json CHANGED
@@ -51321,34 +51321,13 @@
51321
  "rstrip": false,
51322
  "single_word": false,
51323
  "special": true
51324
- },
51325
- "262145": {
51326
- "content": "<|im_start|>",
51327
- "lstrip": false,
51328
- "normalized": false,
51329
- "rstrip": false,
51330
- "single_word": false,
51331
- "special": true
51332
- },
51333
- "262146": {
51334
- "content": "<|im_end|>",
51335
- "lstrip": false,
51336
- "normalized": false,
51337
- "rstrip": false,
51338
- "single_word": false,
51339
- "special": true
51340
  }
51341
  },
51342
- "additional_special_tokens": [
51343
- "<|im_start|>",
51344
- "<|im_end|>"
51345
- ],
51346
  "boi_token": "<start_of_image>",
51347
- "bos_token": "<|im_start|>",
51348
- "chat_template": "{% for message in messages %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
51349
  "clean_up_tokenization_spaces": false,
51350
  "eoi_token": "<end_of_image>",
51351
- "eos_token": "<|im_end|>",
51352
  "extra_special_tokens": {
51353
  "boi_token": "<start_of_image>",
51354
  "eoi_token": "<end_of_image>",
@@ -51356,7 +51335,7 @@
51356
  },
51357
  "image_token": "<image_soft_token>",
51358
  "model_max_length": 1000000000000000019884624838656,
51359
- "pad_token": "<|im_end|>",
51360
  "sp_model_kwargs": null,
51361
  "spaces_between_special_tokens": false,
51362
  "tokenizer_class": "GemmaTokenizer",
 
51321
  "rstrip": false,
51322
  "single_word": false,
51323
  "special": true
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
51324
  }
51325
  },
 
 
 
 
51326
  "boi_token": "<start_of_image>",
51327
+ "bos_token": "<bos>",
 
51328
  "clean_up_tokenization_spaces": false,
51329
  "eoi_token": "<end_of_image>",
51330
+ "eos_token": "<eos>",
51331
  "extra_special_tokens": {
51332
  "boi_token": "<start_of_image>",
51333
  "eoi_token": "<end_of_image>",
 
51335
  },
51336
  "image_token": "<image_soft_token>",
51337
  "model_max_length": 1000000000000000019884624838656,
51338
+ "pad_token": "<eos>",
51339
  "sp_model_kwargs": null,
51340
  "spaces_between_special_tokens": false,
51341
  "tokenizer_class": "GemmaTokenizer",