初始化项目,由ModelHub XC社区提供模型
Model: Shanghai_AI_Laboratory/internlm3-8b-instruct-awq Source: Original Platform
This commit is contained in:
45
config.json
Normal file
45
config.json
Normal file
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"_name_or_path": "/mnt/141/develop_internlm3_open_source_hf_0110v1/20250109095225_hf-080_open_source_hf",
|
||||
"architectures": [
|
||||
"InternLM3ForCausalLM"
|
||||
],
|
||||
"attention_dropout": 0.0,
|
||||
"auto_map": {
|
||||
"AutoConfig": "configuration_internlm3.InternLM3Config",
|
||||
"AutoModel": "modeling_internlm3.InternLM3Model",
|
||||
"AutoModelForCausalLM": "modeling_internlm3.InternLM3ForCausalLM"
|
||||
},
|
||||
"bias": false,
|
||||
"bos_token_id": 1,
|
||||
"eos_token_id": 2,
|
||||
"head_dim": 128,
|
||||
"hidden_act": "silu",
|
||||
"hidden_size": 4096,
|
||||
"initializer_range": 0.02,
|
||||
"intermediate_size": 10240,
|
||||
"max_position_embeddings": 32768,
|
||||
"model_type": "internlm3",
|
||||
"num_attention_heads": 32,
|
||||
"num_hidden_layers": 48,
|
||||
"num_key_value_heads": 2,
|
||||
"pad_token_id": 2,
|
||||
"qkv_bias": false,
|
||||
"quantization_config": {
|
||||
"bits": 4,
|
||||
"group_size": 128,
|
||||
"quant_method": "awq",
|
||||
"version": "gemm",
|
||||
"zero_point": true
|
||||
},
|
||||
"rms_norm_eps": 1e-05,
|
||||
"rope_scaling": {
|
||||
"factor": 6.0,
|
||||
"rope_type": "dynamic"
|
||||
},
|
||||
"rope_theta": 50000000,
|
||||
"tie_word_embeddings": false,
|
||||
"torch_dtype": "float16",
|
||||
"transformers_version": "4.47.0",
|
||||
"use_cache": false,
|
||||
"vocab_size": 128512
|
||||
}
|
||||
Reference in New Issue
Block a user