Commit ·
40cc9e9
1
Parent(s): e642fe4
add auto_map
Browse files- config.json +4 -0
- preprocessor_config.json +3 -0
config.json
CHANGED
|
@@ -338,5 +338,9 @@
|
|
| 338 |
"typical_p": 1.0,
|
| 339 |
"use_bfloat16": false,
|
| 340 |
"use_swiglu_ffn": false
|
|
|
|
|
|
|
|
|
|
|
|
|
| 341 |
}
|
| 342 |
}
|
|
|
|
| 338 |
"typical_p": 1.0,
|
| 339 |
"use_bfloat16": false,
|
| 340 |
"use_swiglu_ffn": false
|
| 341 |
+
},
|
| 342 |
+
"auto_map": {
|
| 343 |
+
"AutoConfig": "configuration_m4cxr.MllmConfig",
|
| 344 |
+
"AutoModelForCausalLM": "modeling_m4cxr.MllmForConditionalGeneration"
|
| 345 |
}
|
| 346 |
}
|
preprocessor_config.json
CHANGED
|
@@ -40,5 +40,8 @@
|
|
| 40 |
"rescale_factor": 0.00392156862745098,
|
| 41 |
"size": {
|
| 42 |
"shortest_edge": 518
|
|
|
|
|
|
|
|
|
|
| 43 |
}
|
| 44 |
}
|
|
|
|
| 40 |
"rescale_factor": 0.00392156862745098,
|
| 41 |
"size": {
|
| 42 |
"shortest_edge": 518
|
| 43 |
+
},
|
| 44 |
+
"auto_map": {
|
| 45 |
+
"AutoProcessor": "processing_m4cxr.MllmProcessor"
|
| 46 |
}
|
| 47 |
}
|