Commit ·
d5e2e9c
1
Parent(s): 018dab3
fix: processor class
Browse files- config.json +1 -2
- preprocessor_config.json +0 -1
- processor_config.json +3 -0
config.json
CHANGED
|
@@ -9,8 +9,7 @@
|
|
| 9 |
"AutoModel": "modeling_vila.VILAForCausalLM",
|
| 10 |
"AutoModelForCausalLM": "modeling_vila.VILAForCausalLM",
|
| 11 |
"AutoModelForImageTextToText": "modeling_vila.VILAForConditionalGeneration",
|
| 12 |
-
"AutoModelForVision2Seq": "modeling_vila.VILAForConditionalGeneration"
|
| 13 |
-
"AutoProcessor": "auto_processor.VILAProcessor"
|
| 14 |
},
|
| 15 |
"chat_template": null,
|
| 16 |
"drop_path_rate": 0.0,
|
|
|
|
| 9 |
"AutoModel": "modeling_vila.VILAForCausalLM",
|
| 10 |
"AutoModelForCausalLM": "modeling_vila.VILAForCausalLM",
|
| 11 |
"AutoModelForImageTextToText": "modeling_vila.VILAForConditionalGeneration",
|
| 12 |
+
"AutoModelForVision2Seq": "modeling_vila.VILAForConditionalGeneration"
|
|
|
|
| 13 |
},
|
| 14 |
"chat_template": null,
|
| 15 |
"drop_path_rate": 0.0,
|
preprocessor_config.json
CHANGED
|
@@ -14,7 +14,6 @@
|
|
| 14 |
0.5,
|
| 15 |
0.5
|
| 16 |
],
|
| 17 |
-
"processor_class": "SiglipProcessor",
|
| 18 |
"resample": 3,
|
| 19 |
"rescale_factor": 0.00392156862745098,
|
| 20 |
"size": {
|
|
|
|
| 14 |
0.5,
|
| 15 |
0.5
|
| 16 |
],
|
|
|
|
| 17 |
"resample": 3,
|
| 18 |
"rescale_factor": 0.00392156862745098,
|
| 19 |
"size": {
|
processor_config.json
CHANGED
|
@@ -1,4 +1,7 @@
|
|
| 1 |
{
|
|
|
|
|
|
|
|
|
|
| 2 |
"max_tiles": 12,
|
| 3 |
"min_tiles": 1
|
| 4 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"auto_map": {
|
| 3 |
+
"AutoProcessor": "processing_vila.VILAProcessor"
|
| 4 |
+
},
|
| 5 |
"max_tiles": 12,
|
| 6 |
"min_tiles": 1
|
| 7 |
}
|