Upload ChatGLMForConditionalGeneration
Browse files- config.json +31 -0
- generation_config.json +7 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": 2,
|
22 |
+
"pad_token_id": 3,
|
23 |
+
"position_encoding_2d": true,
|
24 |
+
"pre_seq_len": null,
|
25 |
+
"prefix_projection": false,
|
26 |
+
"quantization_bit": 0,
|
27 |
+
"torch_dtype": "float16",
|
28 |
+
"transformers_version": "4.31.0",
|
29 |
+
"use_cache": true,
|
30 |
+
"vocab_size": 130528
|
31 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.31.0"
|
7 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:731396a689c7823552f6d7ff7bd68d93bd2e2c7e23a1bc2874f796ecbcaf91f8
|
3 |
+
size 1874912520
|