Changes to config
Browse files- config.json +1 -1
- generation_config.json +3 -0
- model.safetensors +2 -2
- special_tokens_map.json +3 -0
- tokenizer_config.json +8 -1
config.json
CHANGED
@@ -21,7 +21,7 @@
|
|
21 |
"torch_dtype": "bfloat16",
|
22 |
"transformers_version": "4.50.0.dev0",
|
23 |
"vision_config": {
|
24 |
-
"model_type": "
|
25 |
},
|
26 |
"vq_config": {
|
27 |
"depth": 2,
|
|
|
21 |
"torch_dtype": "bfloat16",
|
22 |
"transformers_version": "4.50.0.dev0",
|
23 |
"vision_config": {
|
24 |
+
"model_type": "janus_vision_model"
|
25 |
},
|
26 |
"vq_config": {
|
27 |
"depth": 2,
|
generation_config.json
CHANGED
@@ -2,6 +2,9 @@
|
|
2 |
"_from_model_config": true,
|
3 |
"bos_token_id": 100000,
|
4 |
"eos_token_id": 100001,
|
|
|
|
|
|
|
5 |
"guidance_scale": 5,
|
6 |
"pad_token_id": 100002,
|
7 |
"transformers_version": "4.50.0.dev0"
|
|
|
2 |
"_from_model_config": true,
|
3 |
"bos_token_id": 100000,
|
4 |
"eos_token_id": 100001,
|
5 |
+
"generation_kwargs": {
|
6 |
+
"boi_token_id": 100003
|
7 |
+
},
|
8 |
"guidance_scale": 5,
|
9 |
"pad_token_id": 100002,
|
10 |
"transformers_version": "4.50.0.dev0"
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bd57e5fe8a43ce8f39c624bf0f0561326d5f05fda4e0b852501a642cce6839c3
|
3 |
+
size 4178592926
|
special_tokens_map.json
CHANGED
@@ -10,6 +10,7 @@
|
|
10 |
"<|User|>",
|
11 |
"<|Assistant|>"
|
12 |
],
|
|
|
13 |
"bos_token": {
|
14 |
"content": "<|begin▁of▁sentence|>",
|
15 |
"lstrip": false,
|
@@ -17,6 +18,7 @@
|
|
17 |
"rstrip": false,
|
18 |
"single_word": false
|
19 |
},
|
|
|
20 |
"eos_token": {
|
21 |
"content": "<|end▁of▁sentence|>",
|
22 |
"lstrip": false,
|
@@ -24,6 +26,7 @@
|
|
24 |
"rstrip": false,
|
25 |
"single_word": false
|
26 |
},
|
|
|
27 |
"pad_token": {
|
28 |
"content": "<|▁pad▁|>",
|
29 |
"lstrip": false,
|
|
|
10 |
"<|User|>",
|
11 |
"<|Assistant|>"
|
12 |
],
|
13 |
+
"boi_token": "<begin_of_image>",
|
14 |
"bos_token": {
|
15 |
"content": "<|begin▁of▁sentence|>",
|
16 |
"lstrip": false,
|
|
|
18 |
"rstrip": false,
|
19 |
"single_word": false
|
20 |
},
|
21 |
+
"eoi_token": "<end_of_image>",
|
22 |
"eos_token": {
|
23 |
"content": "<|end▁of▁sentence|>",
|
24 |
"lstrip": false,
|
|
|
26 |
"rstrip": false,
|
27 |
"single_word": false
|
28 |
},
|
29 |
+
"image_token": "<image_placeholder>",
|
30 |
"pad_token": {
|
31 |
"content": "<|▁pad▁|>",
|
32 |
"lstrip": false,
|
tokenizer_config.json
CHANGED
@@ -4735,10 +4735,17 @@
|
|
4735 |
"<|User|>",
|
4736 |
"<|Assistant|>"
|
4737 |
],
|
|
|
4738 |
"bos_token": "<|begin▁of▁sentence|>",
|
4739 |
"clean_up_tokenization_spaces": false,
|
|
|
4740 |
"eos_token": "<|end▁of▁sentence|>",
|
4741 |
-
"extra_special_tokens": {
|
|
|
|
|
|
|
|
|
|
|
4742 |
"legacy": true,
|
4743 |
"model_max_length": 16384,
|
4744 |
"pad_token": "<|▁pad▁|>",
|
|
|
4735 |
"<|User|>",
|
4736 |
"<|Assistant|>"
|
4737 |
],
|
4738 |
+
"boi_token": "<begin_of_image>",
|
4739 |
"bos_token": "<|begin▁of▁sentence|>",
|
4740 |
"clean_up_tokenization_spaces": false,
|
4741 |
+
"eoi_token": "<end_of_image>",
|
4742 |
"eos_token": "<|end▁of▁sentence|>",
|
4743 |
+
"extra_special_tokens": {
|
4744 |
+
"boi_token": "<begin_of_image>",
|
4745 |
+
"eoi_token": "<end_of_image>",
|
4746 |
+
"image_token": "<image_placeholder>"
|
4747 |
+
},
|
4748 |
+
"image_token": "<image_placeholder>",
|
4749 |
"legacy": true,
|
4750 |
"model_max_length": 16384,
|
4751 |
"pad_token": "<|▁pad▁|>",
|