File size: 810 Bytes
36f7606
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ae6679e
36f7606
 
 
 
 
 
 
 
0b80d89
af50f21
36f7606
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
{
    "model": "glm",
    "hidden_act": "gelu_new", 
    "bos_token_id": 130004,
    "eos_token_id": 130005,
    "mask_token_id": 130000,
    "gmask_token_id": 130001,
    "pad_token_id": 3,
    "hidden_size": 4096,
    "intermediate_size": 16384,
    "layer_norm_eps": 1e-05,
    "max_sequence_length": 2048,
    "num_attention_heads": 32,
    "num_hidden_layers": 28,
    "position_encoding_2d": true,
    "rope_scaling": {"type": "glm"},
    "torch_dtype": "float16",
    "vocab_size": 130528,
    "segment_vocab_size": 0,
    "skip_init": true,
    "rope_rank": "updown",
    "quantization_bit": 8,
    "quantization_method": "cpm_kernels",
    "target_modules": ["q", "k", "v", "o", "intermediateDense", "outputDense"],
    "tie_word_embeddings": false,
    "generation_config": {"max_length": 2048}
    }