File size: 1,227 Bytes
c8ec6ef
8bc2996
 
c8ec6ef
 
 
 
8bc2996
c8ec6ef
 
 
 
 
 
 
 
 
 
 
 
 
8bc2996
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
c8ec6ef
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
  "_attn_implementation_autoset": true,
  "_name_or_path": "/tmp/models/tmpphwma9oi/tmpyo9n14wg",
  "architectures": [
    "BaiChuanForCausalLM"
  ],
  "auto_map": {
    "AutoConfig": "configuration_baichuan.BaiChuanConfig",
    "AutoModelForCausalLM": "baichuan-inc/Baichuan-7B--modeling_baichuan.BaiChuanForCausalLM"
  },
  "bos_token_id": 1,
  "eos_token_id": 2,
  "hidden_act": "silu",
  "hidden_size": 4096,
  "initializer_range": 0.02,
  "intermediate_size": 11008,
  "max_position_embeddings": 4096,
  "model_type": "baichuan",
  "num_attention_heads": 32,
  "num_hidden_layers": 32,
  "pad_token_id": 0,
  "quantization_config": {
    "quant_config": {
      "offload_meta": false,
      "scale_quant_params": null,
      "weight_quant_params": {
        "axis": 1,
        "channel_wise": true,
        "group_size": 64,
        "nbits": 4,
        "optimize": true,
        "round_zero": true,
        "view_as_float": false
      },
      "zero_quant_params": null
    },
    "quant_method": "hqq",
    "skip_modules": [
      "lm_head"
    ]
  },
  "rms_norm_eps": 1e-06,
  "tie_word_embeddings": false,
  "torch_dtype": "float32",
  "transformers_version": "4.48.2",
  "use_cache": true,
  "vocab_size": 64000
}