Upload ChatGLMForConditionalGeneration
Browse files- config.json +11 -10
- pytorch_model.bin +1 -1
config.json
CHANGED
@@ -1,30 +1,31 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "THUDM/chatglm-6b
|
3 |
"architectures": [
|
4 |
-
"
|
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.
|
28 |
"use_cache": true,
|
29 |
"vocab_size": 130528
|
30 |
-
}
|
|
|
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 |
"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.30.2",
|
29 |
"use_cache": true,
|
30 |
"vocab_size": 130528
|
31 |
+
}
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 3893079817
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1988efb7ca7aac23601af3675755636f881392a132dd542dba7104f45fe46abb
|
3 |
size 3893079817
|