RaushanTurganbay HF staff commited on
Commit
5b6d18d
1 Parent(s): 2c9a8b5

add image as special token

Browse files
Files changed (1) hide show
  1. tokenizer_config.json +4 -0
tokenizer_config.json CHANGED
@@ -39,6 +39,10 @@
39
  "bos_token": "<s>",
40
  "clean_up_tokenization_spaces": false,
41
  "eos_token": "</s>",
 
 
 
 
42
  "legacy": false,
43
  "model_max_length": 4096,
44
  "pad_token": "<unk>",
 
39
  "bos_token": "<s>",
40
  "clean_up_tokenization_spaces": false,
41
  "eos_token": "</s>",
42
+ "extra_special_tokens": {
43
+ "image_token": "<image>"
44
+ },
45
+ "image_token": "<image>",
46
  "legacy": false,
47
  "model_max_length": 4096,
48
  "pad_token": "<unk>",