| { |
| "_name_or_path": "mPLUG/DocOwl2", |
| "architectures": [ |
| "MPLUGDocOwl2" |
| ], |
| "attention_bias": false, |
| "auto_map": { |
| "AutoConfig": "mPLUG/DocOwl2--configuration_mplug_docowl.MPLUGDocOwlConfig", |
| "AutoModel": "mPLUG/DocOwl2--modeling_mplug_docowl.MPLUGDocOwl2", |
| "AutoModelForCausalLM": "mPLUG/DocOwl2--modeling_mplug_docowl.MPLUGDocOwl2" |
| }, |
| "bos_token_id": 1, |
| "eos_token_id": 2, |
| "hidden_act": "silu", |
| "hidden_size": 4096, |
| "initializer_range": 0.02, |
| "intermediate_size": 11008, |
| "max_position_embeddings": 2048, |
| "model_type": "mplug_docowl", |
| "num_attention_heads": 32, |
| "num_hidden_layers": 32, |
| "num_key_value_heads": 32, |
| "pretraining_tp": 1, |
| "rms_norm_eps": 1e-06, |
| "rope_scaling": null, |
| "rope_theta": 10000.0, |
| "tie_word_embeddings": false, |
| "torch_dtype": "float16", |
| "transformers_version": "4.48.0", |
| "use_cache": true, |
| "visual_config": { |
| "visual_hrcompressor": { |
| "high_reso_cross_dropout": 0.0, |
| "high_reso_cross_hid_size": 4096, |
| "high_reso_cross_num_att_heads": 16, |
| "layer": 2 |
| }, |
| "visual_hreducer": { |
| "conv_shape": "1x4", |
| "hidden_size": 1024 |
| }, |
| "visual_model": { |
| "attention_dropout": 0.0, |
| "hidden_act": "quick_gelu", |
| "hidden_size": 1024, |
| "image_size": 504, |
| "initializer_factor": 1.0, |
| "initializer_range": 0.02, |
| "intermediate_size": 4096, |
| "layer_norm_eps": 1e-06, |
| "model_type": "mplug_owl_vision_model", |
| "num_attention_heads": 16, |
| "num_channels": 3, |
| "num_hidden_layers": 24, |
| "patch_size": 14, |
| "projection_dim": 768, |
| "use_flash_attn": false |
| } |
| }, |
| "vocab_size": 32000 |
| } |
|
|