初始化项目,由ModelHub XC社区提供模型

Model: OpenBMB/MiniCPM5-2B-Midtrain
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-09-19 08:11:13 +08:00
commit cf2c0e2192
11 changed files with 5478 additions and 0 deletions

27
config.json Normal file
View File

@@ -0,0 +1,27 @@
{
"_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
}