|
{ |
|
"_name_or_path": "/models//cogvlm2-llama3-chat-19B", |
|
"architectures": [ |
|
"CogVLMForCausalLM" |
|
], |
|
"auto_map": { |
|
"AutoConfig": "configuration_cogvlm.CogVLMConfig", |
|
"AutoModelForCausalLM": "modeling_cogvlm.CogVLMForCausalLM" |
|
}, |
|
"bos_token_id": 128000, |
|
"eos_token_id": [ |
|
128001, |
|
128009 |
|
], |
|
"hidden_act": "silu", |
|
"hidden_size": 4096, |
|
"initializer_range": 0.02, |
|
"intermediate_size": 14336, |
|
"max_position_embeddings": 8192, |
|
"num_attention_heads": 32, |
|
"num_hidden_layers": 32, |
|
"num_multi_query_heads": 8, |
|
"pad_token_id": 128002, |
|
"quantization_config": { |
|
"amp": true, |
|
"autoround_version": "0.4.0.dev", |
|
"backend": "auto_round:gptq:exllamav2", |
|
"batch_size": 1, |
|
"bits": 4, |
|
"data_type": "int", |
|
"dataset": "liuhaotian/llava_conv_58k", |
|
"enable_minmax_tuning": true, |
|
"enable_norm_bias_tuning": false, |
|
"enable_quanted_input": true, |
|
"gradient_accumulate_steps": 4, |
|
"group_size": 128, |
|
"iters": 200, |
|
"low_gpu_mem_usage": false, |
|
"lr": 0.005, |
|
"minmax_lr": 0.005, |
|
"nsamples": 128, |
|
"quant_method": "intel/auto-round", |
|
"scale_dtype": "torch.float16", |
|
"seqlen": 512, |
|
"sym": true, |
|
"to_quant_block_names": [ |
|
[ |
|
"model.layers.0", |
|
"model.layers.1", |
|
"model.layers.2", |
|
"model.layers.3", |
|
"model.layers.4", |
|
"model.layers.5", |
|
"model.layers.6", |
|
"model.layers.7", |
|
"model.layers.8", |
|
"model.layers.9", |
|
"model.layers.10", |
|
"model.layers.11", |
|
"model.layers.12", |
|
"model.layers.13", |
|
"model.layers.14", |
|
"model.layers.15", |
|
"model.layers.16", |
|
"model.layers.17", |
|
"model.layers.18", |
|
"model.layers.19", |
|
"model.layers.20", |
|
"model.layers.21", |
|
"model.layers.22", |
|
"model.layers.23", |
|
"model.layers.24", |
|
"model.layers.25", |
|
"model.layers.26", |
|
"model.layers.27", |
|
"model.layers.28", |
|
"model.layers.29", |
|
"model.layers.30", |
|
"model.layers.31" |
|
], |
|
[ |
|
"model.vision.transformer.layers.0", |
|
"model.vision.transformer.layers.1", |
|
"model.vision.transformer.layers.2", |
|
"model.vision.transformer.layers.3", |
|
"model.vision.transformer.layers.4", |
|
"model.vision.transformer.layers.5", |
|
"model.vision.transformer.layers.6", |
|
"model.vision.transformer.layers.7", |
|
"model.vision.transformer.layers.8", |
|
"model.vision.transformer.layers.9", |
|
"model.vision.transformer.layers.10", |
|
"model.vision.transformer.layers.11", |
|
"model.vision.transformer.layers.12", |
|
"model.vision.transformer.layers.13", |
|
"model.vision.transformer.layers.14", |
|
"model.vision.transformer.layers.15", |
|
"model.vision.transformer.layers.16", |
|
"model.vision.transformer.layers.17", |
|
"model.vision.transformer.layers.18", |
|
"model.vision.transformer.layers.19", |
|
"model.vision.transformer.layers.20", |
|
"model.vision.transformer.layers.21", |
|
"model.vision.transformer.layers.22", |
|
"model.vision.transformer.layers.23", |
|
"model.vision.transformer.layers.24", |
|
"model.vision.transformer.layers.25", |
|
"model.vision.transformer.layers.26", |
|
"model.vision.transformer.layers.27", |
|
"model.vision.transformer.layers.28", |
|
"model.vision.transformer.layers.29", |
|
"model.vision.transformer.layers.30", |
|
"model.vision.transformer.layers.31", |
|
"model.vision.transformer.layers.32", |
|
"model.vision.transformer.layers.33", |
|
"model.vision.transformer.layers.34", |
|
"model.vision.transformer.layers.35", |
|
"model.vision.transformer.layers.36", |
|
"model.vision.transformer.layers.37", |
|
"model.vision.transformer.layers.38", |
|
"model.vision.transformer.layers.39", |
|
"model.vision.transformer.layers.40", |
|
"model.vision.transformer.layers.41", |
|
"model.vision.transformer.layers.42", |
|
"model.vision.transformer.layers.43", |
|
"model.vision.transformer.layers.44", |
|
"model.vision.transformer.layers.45", |
|
"model.vision.transformer.layers.46", |
|
"model.vision.transformer.layers.47", |
|
"model.vision.transformer.layers.48", |
|
"model.vision.transformer.layers.49", |
|
"model.vision.transformer.layers.50", |
|
"model.vision.transformer.layers.51", |
|
"model.vision.transformer.layers.52", |
|
"model.vision.transformer.layers.53", |
|
"model.vision.transformer.layers.54", |
|
"model.vision.transformer.layers.55", |
|
"model.vision.transformer.layers.56", |
|
"model.vision.transformer.layers.57", |
|
"model.vision.transformer.layers.58", |
|
"model.vision.transformer.layers.59", |
|
"model.vision.transformer.layers.60", |
|
"model.vision.transformer.layers.61", |
|
"model.vision.transformer.layers.62" |
|
] |
|
] |
|
}, |
|
"rms_norm_eps": 1e-05, |
|
"template_version": "chat", |
|
"tie_word_embeddings": false, |
|
"torch_dtype": "bfloat16", |
|
"transformers_version": "4.46.2", |
|
"use_cache": true, |
|
"vision_config": { |
|
"dropout_prob": 0.0, |
|
"hidden_act": "gelu", |
|
"hidden_size": 1792, |
|
"image_size": 1344, |
|
"in_channels": 3, |
|
"intermediate_size": 15360, |
|
"layer_norm_eps": 1e-06, |
|
"num_heads": 16, |
|
"num_hidden_layers": 63, |
|
"num_positions": 9217, |
|
"patch_size": 14 |
|
}, |
|
"vocab_size": 128256 |
|
} |
|
|