Upload ChatGLMForConditionalGeneration
Browse files- config.json +26 -27
- generation_config.json +4 -3
- pytorch_model.bin +2 -2
config.json
CHANGED
@@ -1,34 +1,33 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
-
"activation_function": "gelu_new",
|
4 |
"architectures": [
|
5 |
-
"
|
6 |
],
|
7 |
-
"
|
8 |
-
|
9 |
-
|
10 |
-
|
|
|
|
|
|
|
|
|
|
|
11 |
"initializer_range": 0.02,
|
12 |
-
"
|
13 |
-
"
|
14 |
-
"
|
15 |
-
"
|
16 |
-
"
|
17 |
-
"
|
18 |
-
"
|
19 |
-
"
|
20 |
-
"
|
21 |
-
"
|
22 |
-
"
|
23 |
-
"
|
24 |
-
"
|
25 |
-
"summary_activation": null,
|
26 |
-
"summary_first_dropout": 0.1,
|
27 |
-
"summary_proj_to_labels": true,
|
28 |
-
"summary_type": "cls_index",
|
29 |
-
"summary_use_proj": true,
|
30 |
"torch_dtype": "float32",
|
31 |
-
"transformers_version": "4.
|
32 |
"use_cache": true,
|
33 |
-
"vocab_size":
|
34 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "THUDM/chatglm-6b",
|
|
|
3 |
"architectures": [
|
4 |
+
"ChatGLMForConditionalGeneration"
|
5 |
],
|
6 |
+
"auto_map": {
|
7 |
+
"AutoConfig": "THUDM/chatglm-6b--configuration_chatglm.ChatGLMConfig",
|
8 |
+
"AutoModel": "THUDM/chatglm-6b--modeling_chatglm.ChatGLMForConditionalGeneration",
|
9 |
+
"AutoModelForSeq2SeqLM": "THUDM/chatglm-6b--modeling_chatglm.ChatGLMForConditionalGeneration"
|
10 |
+
},
|
11 |
+
"bos_token_id": 130004,
|
12 |
+
"eos_token_id": 130005,
|
13 |
+
"gmask_token_id": 130001,
|
14 |
+
"hidden_size": 4096,
|
15 |
"initializer_range": 0.02,
|
16 |
+
"initializer_weight": false,
|
17 |
+
"inner_hidden_size": 16384,
|
18 |
+
"layernorm_epsilon": 1e-05,
|
19 |
+
"mask_token_id": 130000,
|
20 |
+
"max_sequence_length": 2048,
|
21 |
+
"model_type": "chatglm",
|
22 |
+
"num_attention_heads": 32,
|
23 |
+
"num_layers": 28,
|
24 |
+
"pad_token_id": 3,
|
25 |
+
"position_encoding_2d": true,
|
26 |
+
"pre_seq_len": null,
|
27 |
+
"prefix_projection": false,
|
28 |
+
"quantization_bit": 8,
|
|
|
|
|
|
|
|
|
|
|
29 |
"torch_dtype": "float32",
|
30 |
+
"transformers_version": "4.29.2",
|
31 |
"use_cache": true,
|
32 |
+
"vocab_size": 130528
|
33 |
}
|
generation_config.json
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
{
|
2 |
"_from_model_config": true,
|
3 |
-
"bos_token_id":
|
4 |
-
"eos_token_id":
|
5 |
-
"
|
|
|
6 |
}
|
|
|
1 |
{
|
2 |
"_from_model_config": true,
|
3 |
+
"bos_token_id": 130004,
|
4 |
+
"eos_token_id": 130005,
|
5 |
+
"pad_token_id": 3,
|
6 |
+
"transformers_version": "4.29.2"
|
7 |
}
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:37005f8bd1873532775706988183339e15900871f370114536ebed98c698ea2e
|
3 |
+
size 7786027413
|