add image as special token
Browse files- tokenizer_config.json +4 -1
tokenizer_config.json
CHANGED
|
@@ -47,7 +47,10 @@
|
|
| 47 |
"bos_token": "<s>",
|
| 48 |
"clean_up_tokenization_spaces": false,
|
| 49 |
"eos_token": "</s>",
|
| 50 |
-
"extra_special_tokens": {
|
|
|
|
|
|
|
|
|
|
| 51 |
"legacy": false,
|
| 52 |
"model_max_length": 1000000000000000019884624838656,
|
| 53 |
"pad_token": "<pad>",
|
|
|
|
| 47 |
"bos_token": "<s>",
|
| 48 |
"clean_up_tokenization_spaces": false,
|
| 49 |
"eos_token": "</s>",
|
| 50 |
+
"extra_special_tokens": {
|
| 51 |
+
"image_token": "<image>"
|
| 52 |
+
},
|
| 53 |
+
"image_token": "<image>",
|
| 54 |
"legacy": false,
|
| 55 |
"model_max_length": 1000000000000000019884624838656,
|
| 56 |
"pad_token": "<pad>",
|