Upload 2 files
Browse files- config.json +2 -2
- preprocessor_config.json +7 -2
config.json
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
"SmolVLMForConditionalGeneration"
|
5 |
],
|
6 |
"image_token_id": 49190,
|
7 |
-
"model_type": "
|
8 |
"pad_token_id": 128002,
|
9 |
"scale_factor": 4,
|
10 |
"text_config": {
|
@@ -130,7 +130,7 @@
|
|
130 |
"max_image_size": {
|
131 |
"longest_edge": 512
|
132 |
},
|
133 |
-
"model_type": "
|
134 |
"num_attention_heads": 12,
|
135 |
"patch_size": 16,
|
136 |
"size": {
|
|
|
4 |
"SmolVLMForConditionalGeneration"
|
5 |
],
|
6 |
"image_token_id": 49190,
|
7 |
+
"model_type": "smolvlm",
|
8 |
"pad_token_id": 128002,
|
9 |
"scale_factor": 4,
|
10 |
"text_config": {
|
|
|
130 |
"max_image_size": {
|
131 |
"longest_edge": 512
|
132 |
},
|
133 |
+
"model_type": "smolvlm_vision",
|
134 |
"num_attention_heads": 12,
|
135 |
"patch_size": 16,
|
136 |
"size": {
|
preprocessor_config.json
CHANGED
@@ -19,10 +19,15 @@
|
|
19 |
"max_image_size": {
|
20 |
"longest_edge": 512
|
21 |
},
|
22 |
-
"
|
|
|
|
|
|
|
|
|
|
|
23 |
"resample": 1,
|
24 |
"rescale_factor": 0.00392156862745098,
|
25 |
"size": {
|
26 |
"longest_edge": 2048
|
27 |
}
|
28 |
-
}
|
|
|
19 |
"max_image_size": {
|
20 |
"longest_edge": 512
|
21 |
},
|
22 |
+
"video_sampling": {
|
23 |
+
"fps": 1,
|
24 |
+
"max_frames": 64,
|
25 |
+
"video_size": {"longest_edge": 384}
|
26 |
+
},
|
27 |
+
"processor_class": "SmolVLMProcessor",
|
28 |
"resample": 1,
|
29 |
"rescale_factor": 0.00392156862745098,
|
30 |
"size": {
|
31 |
"longest_edge": 2048
|
32 |
}
|
33 |
+
}
|