Update config.json
Browse files- config.json +10 -11
config.json
CHANGED
@@ -1,31 +1,30 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"architectures": [
|
4 |
-
"
|
5 |
],
|
6 |
"auto_map": {
|
7 |
-
"AutoConfig": "
|
8 |
-
"AutoModel": "
|
9 |
-
"AutoModelForSeq2SeqLM": "
|
10 |
},
|
11 |
"bos_token_id": 130004,
|
12 |
"eos_token_id": 130005,
|
|
|
13 |
"gmask_token_id": 130001,
|
|
|
14 |
"hidden_size": 4096,
|
15 |
"inner_hidden_size": 16384,
|
16 |
"layernorm_epsilon": 1e-05,
|
17 |
-
"mask_token_id": 130000,
|
18 |
"max_sequence_length": 2048,
|
19 |
"model_type": "chatglm",
|
20 |
"num_attention_heads": 32,
|
21 |
"num_layers": 28,
|
22 |
-
"pad_token_id": 3,
|
23 |
"position_encoding_2d": true,
|
24 |
-
"pre_seq_len": null,
|
25 |
-
"prefix_projection": false,
|
26 |
"quantization_bit": 4,
|
|
|
27 |
"torch_dtype": "float16",
|
28 |
-
"transformers_version": "4.
|
29 |
"use_cache": true,
|
30 |
"vocab_size": 130528
|
31 |
-
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "THUDM/chatglm-6b-int4",
|
3 |
"architectures": [
|
4 |
+
"ChatGLMModel"
|
5 |
],
|
6 |
"auto_map": {
|
7 |
+
"AutoConfig": "configuration_chatglm.ChatGLMConfig",
|
8 |
+
"AutoModel": "modeling_chatglm.ChatGLMForConditionalGeneration",
|
9 |
+
"AutoModelForSeq2SeqLM": "modeling_chatglm.ChatGLMForConditionalGeneration"
|
10 |
},
|
11 |
"bos_token_id": 130004,
|
12 |
"eos_token_id": 130005,
|
13 |
+
"mask_token_id": 130000,
|
14 |
"gmask_token_id": 130001,
|
15 |
+
"pad_token_id": 3,
|
16 |
"hidden_size": 4096,
|
17 |
"inner_hidden_size": 16384,
|
18 |
"layernorm_epsilon": 1e-05,
|
|
|
19 |
"max_sequence_length": 2048,
|
20 |
"model_type": "chatglm",
|
21 |
"num_attention_heads": 32,
|
22 |
"num_layers": 28,
|
|
|
23 |
"position_encoding_2d": true,
|
|
|
|
|
24 |
"quantization_bit": 4,
|
25 |
+
"quantization_embeddings": false,
|
26 |
"torch_dtype": "float16",
|
27 |
+
"transformers_version": "4.27.1",
|
28 |
"use_cache": true,
|
29 |
"vocab_size": 130528
|
30 |
+
}
|