plutokokoa
commited on
Commit
•
c41cbee
1
Parent(s):
f9e1ba2
upload params
Browse files- config.json +47 -0
- generation_config.json +6 -0
- model-001.safetensors +3 -0
- special_tokens_map.json +1 -0
- tokenizer.model +3 -0
- tokenizer_config.json +18 -0
config.json
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "dwdcth/chatglm3-6b-int4",
|
3 |
+
"add_bias_linear": false,
|
4 |
+
"add_qkv_bias": true,
|
5 |
+
"apply_query_key_layer_scaling": true,
|
6 |
+
"apply_residual_connection_post_layernorm": false,
|
7 |
+
"architectures": [
|
8 |
+
"ChatGLMForConditionalGeneration"
|
9 |
+
],
|
10 |
+
"attention_dropout": 0.0,
|
11 |
+
"attention_softmax_in_fp32": true,
|
12 |
+
"auto_map": {
|
13 |
+
"AutoConfig": "THUDM/chatglm3-6b--configuration_chatglm.ChatGLMConfig",
|
14 |
+
"AutoModel": "THUDM/chatglm3-6b--modeling_chatglm.ChatGLMForConditionalGeneration",
|
15 |
+
"AutoModelForCausalLM": "THUDM/chatglm3-6b--modeling_chatglm.ChatGLMForConditionalGeneration",
|
16 |
+
"AutoModelForSeq2SeqLM": "THUDM/chatglm3-6b--modeling_chatglm.ChatGLMForConditionalGeneration",
|
17 |
+
"AutoModelForSequenceClassification": "THUDM/chatglm3-6b--modeling_chatglm.ChatGLMForSequenceClassification"
|
18 |
+
},
|
19 |
+
"bias_dropout_fusion": true,
|
20 |
+
"classifier_dropout": null,
|
21 |
+
"eos_token_id": 2,
|
22 |
+
"ffn_hidden_size": 13696,
|
23 |
+
"fp32_residual_connection": false,
|
24 |
+
"hidden_dropout": 0.0,
|
25 |
+
"hidden_size": 4096,
|
26 |
+
"kv_channels": 128,
|
27 |
+
"layernorm_epsilon": 1e-05,
|
28 |
+
"model_type": "chatglm",
|
29 |
+
"multi_query_attention": true,
|
30 |
+
"multi_query_group_num": 2,
|
31 |
+
"num_attention_heads": 32,
|
32 |
+
"num_layers": 28,
|
33 |
+
"original_rope": true,
|
34 |
+
"pad_token_id": 0,
|
35 |
+
"padded_vocab_size": 65024,
|
36 |
+
"post_layer_norm": true,
|
37 |
+
"pre_seq_len": null,
|
38 |
+
"prefix_projection": false,
|
39 |
+
"quantization_bit": 4,
|
40 |
+
"rmsnorm": true,
|
41 |
+
"seq_length": 8192,
|
42 |
+
"tie_word_embeddings": false,
|
43 |
+
"torch_dtype": "float16",
|
44 |
+
"transformers_version": "4.37.2",
|
45 |
+
"use_cache": true,
|
46 |
+
"vocab_size": 65024
|
47 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"eos_token_id": 2,
|
4 |
+
"pad_token_id": 0,
|
5 |
+
"transformers_version": "4.37.2"
|
6 |
+
}
|
model-001.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d25c7b1e2182faafe31537b3297f6b2d1c5d4d486c5cbbdc41c41e2378092838
|
3 |
+
size 3923643088
|
special_tokens_map.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{}
|
tokenizer.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e7dc4c393423b76e4373e5157ddc34803a0189ba96b21ddbb40269d31468a6f2
|
3 |
+
size 1018370
|
tokenizer_config.json
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {},
|
3 |
+
"auto_map": {
|
4 |
+
"AutoTokenizer": [
|
5 |
+
"dwdcth/chatglm3-6b-int4--tokenization_chatglm.ChatGLMTokenizer",
|
6 |
+
null
|
7 |
+
]
|
8 |
+
},
|
9 |
+
"clean_up_tokenization_spaces": false,
|
10 |
+
"do_lower_case": false,
|
11 |
+
"eos_token": "</s>",
|
12 |
+
"model_max_length": 1000000000000000019884624838656,
|
13 |
+
"pad_token": "<unk>",
|
14 |
+
"padding_side": "left",
|
15 |
+
"remove_space": false,
|
16 |
+
"tokenizer_class": "ChatGLMTokenizer",
|
17 |
+
"unk_token": "<unk>"
|
18 |
+
}
|