Initial commit of LLaVA model and processor
Browse files- added_tokens.json +1 -2
- model-00001-of-00003.safetensors +1 -1
- preprocessor_config.json +25 -1
- special_tokens_map.json +1 -1
- tokenizer.json +0 -0
- tokenizer_config.json +5 -13
added_tokens.json
CHANGED
@@ -1,4 +1,3 @@
|
|
1 |
{
|
2 |
-
"<image>": 32000
|
3 |
-
"<pad>": 32001
|
4 |
}
|
|
|
1 |
{
|
2 |
+
"<image>": 32000
|
|
|
3 |
}
|
model-00001-of-00003.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 4911157672
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3066cb515d0af97d6c1a8662582cb60ee136552b6b3c54423c86283d6950a59c
|
3 |
size 4911157672
|
preprocessor_config.json
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
{
|
|
|
2 |
"crop_size": {
|
3 |
"height": 336,
|
4 |
"width": 336
|
@@ -6,14 +7,37 @@
|
|
6 |
"do_center_crop": true,
|
7 |
"do_convert_rgb": true,
|
8 |
"do_normalize": true,
|
|
|
9 |
"do_rescale": true,
|
10 |
"do_resize": true,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
"image_mean": [
|
12 |
0.48145466,
|
13 |
0.4578275,
|
14 |
0.40821073
|
15 |
],
|
16 |
-
"image_processor_type": "
|
17 |
"image_std": [
|
18 |
0.26862954,
|
19 |
0.26130258,
|
|
|
1 |
{
|
2 |
+
"aspect_ratio_setting": "anyres",
|
3 |
"crop_size": {
|
4 |
"height": 336,
|
5 |
"width": 336
|
|
|
7 |
"do_center_crop": true,
|
8 |
"do_convert_rgb": true,
|
9 |
"do_normalize": true,
|
10 |
+
"do_pad": true,
|
11 |
"do_rescale": true,
|
12 |
"do_resize": true,
|
13 |
+
"image_grid_pinpoints": [
|
14 |
+
[
|
15 |
+
336,
|
16 |
+
672
|
17 |
+
],
|
18 |
+
[
|
19 |
+
672,
|
20 |
+
336
|
21 |
+
],
|
22 |
+
[
|
23 |
+
672,
|
24 |
+
672
|
25 |
+
],
|
26 |
+
[
|
27 |
+
1008,
|
28 |
+
336
|
29 |
+
],
|
30 |
+
[
|
31 |
+
336,
|
32 |
+
1008
|
33 |
+
]
|
34 |
+
],
|
35 |
"image_mean": [
|
36 |
0.48145466,
|
37 |
0.4578275,
|
38 |
0.40821073
|
39 |
],
|
40 |
+
"image_processor_type": "LlavaNextImageProcessor",
|
41 |
"image_std": [
|
42 |
0.26862954,
|
43 |
0.26130258,
|
special_tokens_map.json
CHANGED
@@ -15,7 +15,7 @@
|
|
15 |
},
|
16 |
"image_token": "<image>",
|
17 |
"pad_token": {
|
18 |
-
"content": "<
|
19 |
"lstrip": false,
|
20 |
"normalized": false,
|
21 |
"rstrip": false,
|
|
|
15 |
},
|
16 |
"image_token": "<image>",
|
17 |
"pad_token": {
|
18 |
+
"content": "<unk>",
|
19 |
"lstrip": false,
|
20 |
"normalized": false,
|
21 |
"rstrip": false,
|
tokenizer.json
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
{
|
2 |
"add_bos_token": true,
|
3 |
"add_eos_token": false,
|
4 |
-
"add_prefix_space":
|
5 |
"added_tokens_decoder": {
|
6 |
"0": {
|
7 |
"content": "<unk>",
|
@@ -34,14 +34,6 @@
|
|
34 |
"rstrip": false,
|
35 |
"single_word": false,
|
36 |
"special": true
|
37 |
-
},
|
38 |
-
"32001": {
|
39 |
-
"content": "<pad>",
|
40 |
-
"lstrip": false,
|
41 |
-
"normalized": false,
|
42 |
-
"rstrip": false,
|
43 |
-
"single_word": false,
|
44 |
-
"special": true
|
45 |
}
|
46 |
},
|
47 |
"bos_token": "<s>",
|
@@ -52,13 +44,13 @@
|
|
52 |
},
|
53 |
"image_token": "<image>",
|
54 |
"legacy": false,
|
55 |
-
"model_max_length":
|
56 |
-
"pad_token": "<
|
57 |
-
"padding_side": "
|
58 |
"processor_class": "LlavaNextProcessor",
|
59 |
"sp_model_kwargs": {},
|
|
|
60 |
"tokenizer_class": "LlamaTokenizer",
|
61 |
-
"trust_remote_code": false,
|
62 |
"unk_token": "<unk>",
|
63 |
"use_default_system_prompt": false
|
64 |
}
|
|
|
1 |
{
|
2 |
"add_bos_token": true,
|
3 |
"add_eos_token": false,
|
4 |
+
"add_prefix_space": true,
|
5 |
"added_tokens_decoder": {
|
6 |
"0": {
|
7 |
"content": "<unk>",
|
|
|
34 |
"rstrip": false,
|
35 |
"single_word": false,
|
36 |
"special": true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
}
|
38 |
},
|
39 |
"bos_token": "<s>",
|
|
|
44 |
},
|
45 |
"image_token": "<image>",
|
46 |
"legacy": false,
|
47 |
+
"model_max_length": 4096,
|
48 |
+
"pad_token": "<unk>",
|
49 |
+
"padding_side": "right",
|
50 |
"processor_class": "LlavaNextProcessor",
|
51 |
"sp_model_kwargs": {},
|
52 |
+
"spaces_between_special_tokens": false,
|
53 |
"tokenizer_class": "LlamaTokenizer",
|
|
|
54 |
"unk_token": "<unk>",
|
55 |
"use_default_system_prompt": false
|
56 |
}
|