Upload config.json
Browse files- config.json +16 -22
config.json
CHANGED
@@ -1,23 +1,22 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "Qwen/Qwen-7B",
|
3 |
"architectures": [
|
4 |
"QWenLMHeadModel"
|
5 |
],
|
6 |
-
"attn_dropout_prob": 0.0,
|
7 |
"auto_map": {
|
8 |
-
"AutoConfig": "
|
9 |
-
"AutoModelForCausalLM": "
|
10 |
},
|
11 |
-
"
|
|
|
12 |
"emb_dropout_prob": 0.0,
|
13 |
-
"fp16":
|
14 |
"fp32": false,
|
15 |
"hidden_size": 4096,
|
16 |
-
"initializer_range": 0.02,
|
17 |
"intermediate_size": 22016,
|
|
|
18 |
"kv_channels": 128,
|
19 |
"layer_norm_epsilon": 1e-06,
|
20 |
-
"max_position_embeddings":
|
21 |
"model_type": "qwen",
|
22 |
"no_bias": true,
|
23 |
"num_attention_heads": 32,
|
@@ -25,31 +24,26 @@
|
|
25 |
"onnx_safe": null,
|
26 |
"quantization_config": {
|
27 |
"bits": 4,
|
|
|
28 |
"damp_percent": 0.01,
|
29 |
"desc_act": false,
|
30 |
-
"group_size": 128,
|
31 |
-
"is_marlin_format": false,
|
32 |
-
"model_file_base_name": "gptq_model-4bit-128g",
|
33 |
-
"model_name_or_path": "Qwen-7B-125m-4bit-128g",
|
34 |
-
"quant_method": "gptq",
|
35 |
"static_groups": false,
|
36 |
"sym": true,
|
37 |
-
"true_sequential": true
|
|
|
|
|
|
|
38 |
},
|
39 |
"rotary_emb_base": 10000,
|
40 |
"rotary_pct": 1.0,
|
41 |
"scale_attn_weights": true,
|
42 |
-
"seq_length":
|
43 |
-
"softmax_in_fp32": false,
|
44 |
"tie_word_embeddings": false,
|
45 |
"tokenizer_class": "QWenTokenizer",
|
46 |
-
"
|
47 |
-
"transformers_version": "4.37.2",
|
48 |
"use_cache": true,
|
49 |
-
"use_cache_kernel": false,
|
50 |
-
"use_cache_quantization": false,
|
51 |
"use_dynamic_ntk": true,
|
52 |
-
"use_flash_attn":
|
53 |
"use_logn_attn": true,
|
54 |
"vocab_size": 151936
|
55 |
-
}
|
|
|
1 |
{
|
|
|
2 |
"architectures": [
|
3 |
"QWenLMHeadModel"
|
4 |
],
|
|
|
5 |
"auto_map": {
|
6 |
+
"AutoConfig": "configuration_qwen.QWenConfig",
|
7 |
+
"AutoModelForCausalLM": "modeling_qwen.QWenLMHeadModel"
|
8 |
},
|
9 |
+
"attn_dropout_prob": 0.0,
|
10 |
+
"bf16": false,
|
11 |
"emb_dropout_prob": 0.0,
|
12 |
+
"fp16": true,
|
13 |
"fp32": false,
|
14 |
"hidden_size": 4096,
|
|
|
15 |
"intermediate_size": 22016,
|
16 |
+
"initializer_range": 0.02,
|
17 |
"kv_channels": 128,
|
18 |
"layer_norm_epsilon": 1e-06,
|
19 |
+
"max_position_embeddings": 8192,
|
20 |
"model_type": "qwen",
|
21 |
"no_bias": true,
|
22 |
"num_attention_heads": 32,
|
|
|
24 |
"onnx_safe": null,
|
25 |
"quantization_config": {
|
26 |
"bits": 4,
|
27 |
+
"group_size": 128,
|
28 |
"damp_percent": 0.01,
|
29 |
"desc_act": false,
|
|
|
|
|
|
|
|
|
|
|
30 |
"static_groups": false,
|
31 |
"sym": true,
|
32 |
+
"true_sequential": true,
|
33 |
+
"model_name_or_path": null,
|
34 |
+
"model_file_base_name": "model",
|
35 |
+
"quant_method": "gptq"
|
36 |
},
|
37 |
"rotary_emb_base": 10000,
|
38 |
"rotary_pct": 1.0,
|
39 |
"scale_attn_weights": true,
|
40 |
+
"seq_length": 2048,
|
|
|
41 |
"tie_word_embeddings": false,
|
42 |
"tokenizer_class": "QWenTokenizer",
|
43 |
+
"transformers_version": "4.32.0",
|
|
|
44 |
"use_cache": true,
|
|
|
|
|
45 |
"use_dynamic_ntk": true,
|
46 |
+
"use_flash_attn": "auto",
|
47 |
"use_logn_attn": true,
|
48 |
"vocab_size": 151936
|
49 |
+
}
|