musashihinck
commited on
Commit
•
6e532d5
1
Parent(s):
7de365f
Converting weights
Browse files- .gitattributes +1 -0
- added_tokens.json +3 -0
- preprocessor_config.json +45 -0
- special_tokens_map.json +7 -1
- tokenizer.json +3 -0
- tokenizer_config.json +11 -3
.gitattributes
CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
added_tokens.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"<image>": 256000
|
3 |
+
}
|
preprocessor_config.json
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_valid_processor_keys": [
|
3 |
+
"images",
|
4 |
+
"do_resize",
|
5 |
+
"size",
|
6 |
+
"resample",
|
7 |
+
"do_center_crop",
|
8 |
+
"crop_size",
|
9 |
+
"do_rescale",
|
10 |
+
"rescale_factor",
|
11 |
+
"do_normalize",
|
12 |
+
"image_mean",
|
13 |
+
"image_std",
|
14 |
+
"do_convert_rgb",
|
15 |
+
"return_tensors",
|
16 |
+
"data_format",
|
17 |
+
"input_data_format"
|
18 |
+
],
|
19 |
+
"crop_size": {
|
20 |
+
"height": 336,
|
21 |
+
"width": 336
|
22 |
+
},
|
23 |
+
"do_center_crop": true,
|
24 |
+
"do_convert_rgb": true,
|
25 |
+
"do_normalize": true,
|
26 |
+
"do_rescale": true,
|
27 |
+
"do_resize": true,
|
28 |
+
"image_mean": [
|
29 |
+
0.48145466,
|
30 |
+
0.4578275,
|
31 |
+
0.40821073
|
32 |
+
],
|
33 |
+
"image_processor_type": "CLIPImageProcessor",
|
34 |
+
"image_std": [
|
35 |
+
0.26862954,
|
36 |
+
0.26130258,
|
37 |
+
0.27577711
|
38 |
+
],
|
39 |
+
"processor_class": "LlavaGemmaProcessor",
|
40 |
+
"resample": 3,
|
41 |
+
"rescale_factor": 0.00392156862745098,
|
42 |
+
"size": {
|
43 |
+
"shortest_edge": 336
|
44 |
+
}
|
45 |
+
}
|
special_tokens_map.json
CHANGED
@@ -17,7 +17,13 @@
|
|
17 |
"rstrip": false,
|
18 |
"single_word": false
|
19 |
},
|
20 |
-
"pad_token":
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
"unk_token": {
|
22 |
"content": "<unk>",
|
23 |
"lstrip": false,
|
|
|
17 |
"rstrip": false,
|
18 |
"single_word": false
|
19 |
},
|
20 |
+
"pad_token": {
|
21 |
+
"content": "<pad>",
|
22 |
+
"lstrip": false,
|
23 |
+
"normalized": false,
|
24 |
+
"rstrip": false,
|
25 |
+
"single_word": false
|
26 |
+
},
|
27 |
"unk_token": {
|
28 |
"content": "<unk>",
|
29 |
"lstrip": false,
|
tokenizer.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ff3488032b3b615f80411104f84e694e60bc23ccb4b6011836173b43f828fed8
|
3 |
+
size 17478113
|
tokenizer_config.json
CHANGED
@@ -49,6 +49,14 @@
|
|
49 |
"rstrip": false,
|
50 |
"single_word": false,
|
51 |
"special": true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
52 |
}
|
53 |
},
|
54 |
"additional_special_tokens": [
|
@@ -60,9 +68,9 @@
|
|
60 |
"clean_up_tokenization_spaces": false,
|
61 |
"eos_token": "<eos>",
|
62 |
"legacy": null,
|
63 |
-
"model_max_length":
|
64 |
-
"pad_token": "<
|
65 |
-
"
|
66 |
"sp_model_kwargs": {},
|
67 |
"spaces_between_special_tokens": false,
|
68 |
"tokenizer_class": "GemmaTokenizer",
|
|
|
49 |
"rstrip": false,
|
50 |
"single_word": false,
|
51 |
"special": true
|
52 |
+
},
|
53 |
+
"256000": {
|
54 |
+
"content": "<image>",
|
55 |
+
"lstrip": false,
|
56 |
+
"normalized": false,
|
57 |
+
"rstrip": false,
|
58 |
+
"single_word": false,
|
59 |
+
"special": true
|
60 |
}
|
61 |
},
|
62 |
"additional_special_tokens": [
|
|
|
68 |
"clean_up_tokenization_spaces": false,
|
69 |
"eos_token": "<eos>",
|
70 |
"legacy": null,
|
71 |
+
"model_max_length": 1000000000000000019884624838656,
|
72 |
+
"pad_token": "<pad>",
|
73 |
+
"processor_class": "LlavaGemmaProcessor",
|
74 |
"sp_model_kwargs": {},
|
75 |
"spaces_between_special_tokens": false,
|
76 |
"tokenizer_class": "GemmaTokenizer",
|