MiniCPM5-2B-ONNX / config.json
Mike0021's picture
Publish independently converted and validated MiniCPM5-2B q4f16
04a6c49 verified
Raw History Blame Contribute Delete
822 Bytes
{
"_name_or_path": "openbmb/MiniCPM5-2B",
"architectures": [
"LlamaForCausalLM"
],
"bos_token_id": 0,
"eos_token_id": [
1,
130073
],
"pad_token_id": 1,
"hidden_act": "silu",
"hidden_size": 2048,
"initializer_range": 0.02,
"intermediate_size": 6144,
"max_position_embeddings": 131072,
"model_type": "llama",
"num_attention_heads": 16,
"num_hidden_layers": 42,
"num_key_value_heads": 2,
"head_dim": 128,
"rms_norm_eps": 1e-06,
"rope_theta": 5000000,
"rope_scaling": null,
"tie_word_embeddings": false,
"torch_dtype": "bfloat16",
"transformers_version": "5.6.2",
"use_cache": true,
"vocab_size": 130560,
"transformers.js_config": {
"kv_cache_dtype": {
"q4f16": "float16"
},
"use_external_data_format": {
"model_q4f16.onnx": 7
}
}
}