catlove007
commited on
Commit
·
663960a
1
Parent(s):
19decd4
Upload 3 files
Browse files- config.json +47 -0
- generation_config.json +7 -0
- ice_text.model +3 -0
config.json
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/mnt/dolphinfs/hdd_pool/docker/user/hadoop-mtai/users/tianhao/ChatGLM-Efficient-Tuning-old/chatglm6b",
|
3 |
+
"architectures": [
|
4 |
+
"ChatGLMForConditionalGeneration"
|
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 |
+
"gmask_token_id": 130001,
|
14 |
+
"hidden_size": 4096,
|
15 |
+
"id2label": {
|
16 |
+
"0": "LABEL_0",
|
17 |
+
"1": "LABEL_1",
|
18 |
+
"2": "LABEL_2",
|
19 |
+
"3": "LABEL_3",
|
20 |
+
"4": "LABEL_4",
|
21 |
+
"5": "LABEL_5"
|
22 |
+
},
|
23 |
+
"inner_hidden_size": 16384,
|
24 |
+
"label2id": {
|
25 |
+
"LABEL_0": 0,
|
26 |
+
"LABEL_1": 1,
|
27 |
+
"LABEL_2": 2,
|
28 |
+
"LABEL_3": 3,
|
29 |
+
"LABEL_4": 4,
|
30 |
+
"LABEL_5": 5
|
31 |
+
},
|
32 |
+
"layernorm_epsilon": 1e-05,
|
33 |
+
"mask_token_id": 130000,
|
34 |
+
"max_sequence_length": 2048,
|
35 |
+
"model_type": "chatglm",
|
36 |
+
"num_attention_heads": 32,
|
37 |
+
"num_layers": 28,
|
38 |
+
"pad_token_id": 3,
|
39 |
+
"position_encoding_2d": true,
|
40 |
+
"pre_seq_len": null,
|
41 |
+
"prefix_projection": false,
|
42 |
+
"quantization_bit": 0,
|
43 |
+
"torch_dtype": "float16",
|
44 |
+
"transformers_version": "4.29.1",
|
45 |
+
"use_cache": true,
|
46 |
+
"vocab_size": 130528
|
47 |
+
}
|
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.29.1"
|
7 |
+
}
|
ice_text.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5e974d9a69c242ce014c88c2b26089270f6198f3c0b700a887666cd3e816f17e
|
3 |
+
size 2706249
|