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

Model: MathLLMs/MathCoder-CL-7B
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-05-23 13:25:12 +08:00
commit d30ad87364
13 changed files with 572 additions and 0 deletions

27
config.json Normal file
View File

@@ -0,0 +1,27 @@
{
"_name_or_path": "/mnt/cache/sharemath/codellama/CodeLlama-7b-Instruct-hf",
"architectures": [
"LlamaForCausalLM"
],
"bos_token_id": 1,
"eos_token_id": 2,
"hidden_act": "silu",
"hidden_size": 4096,
"initializer_range": 0.02,
"intermediate_size": 11008,
"max_position_embeddings": 16384,
"model_type": "llama",
"num_attention_heads": 32,
"num_hidden_layers": 32,
"num_key_value_heads": 32,
"pad_token_id": 0,
"pretraining_tp": 1,
"rms_norm_eps": 1e-05,
"rope_scaling": null,
"rope_theta": 10000,
"tie_word_embeddings": false,
"torch_dtype": "bfloat16",
"transformers_version": "4.31.0",
"use_cache": true,
"vocab_size": 32024
}