Upload folder using huggingface_hub
Browse files- config.json +42 -0
- pytorch_model.bin.bin +3 -0
- quantize_config.json +11 -0
config.json
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "Qwen/Qwen-14B",
|
3 |
+
"architectures": [
|
4 |
+
"QWenLMHeadModel"
|
5 |
+
],
|
6 |
+
"attn_dropout_prob": 0.0,
|
7 |
+
"auto_map": {
|
8 |
+
"AutoConfig": "Qwen/Qwen-14B--configuration_qwen.QWenConfig",
|
9 |
+
"AutoModelForCausalLM": "Qwen/Qwen-14B--modeling_qwen.QWenLMHeadModel"
|
10 |
+
},
|
11 |
+
"bf16": true,
|
12 |
+
"emb_dropout_prob": 0.0,
|
13 |
+
"fp16": false,
|
14 |
+
"fp32": false,
|
15 |
+
"hidden_size": 5120,
|
16 |
+
"initializer_range": 0.02,
|
17 |
+
"intermediate_size": 27392,
|
18 |
+
"kv_channels": 128,
|
19 |
+
"layer_norm_epsilon": 1e-06,
|
20 |
+
"max_position_embeddings": 8192,
|
21 |
+
"model_type": "qwen",
|
22 |
+
"no_bias": true,
|
23 |
+
"num_attention_heads": 40,
|
24 |
+
"num_hidden_layers": 40,
|
25 |
+
"onnx_safe": null,
|
26 |
+
"rotary_emb_base": 10000,
|
27 |
+
"rotary_pct": 1.0,
|
28 |
+
"scale_attn_weights": true,
|
29 |
+
"seq_length": 2048,
|
30 |
+
"softmax_in_fp32": false,
|
31 |
+
"tie_word_embeddings": false,
|
32 |
+
"tokenizer_class": "QWenTokenizer",
|
33 |
+
"torch_dtype": "float16",
|
34 |
+
"transformers_version": "4.32.0",
|
35 |
+
"use_cache": true,
|
36 |
+
"use_cache_kernel": false,
|
37 |
+
"use_cache_quantization": false,
|
38 |
+
"use_dynamic_ntk": true,
|
39 |
+
"use_flash_attn": true,
|
40 |
+
"use_logn_attn": true,
|
41 |
+
"vocab_size": 152064
|
42 |
+
}
|
pytorch_model.bin.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cd3f1e669764bd161c6eeebc0cc70659173e4bb7c011474efcd9f2d47d1c880d
|
3 |
+
size 16029839536
|
quantize_config.json
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bits": 8,
|
3 |
+
"group_size": 128,
|
4 |
+
"damp_percent": 0.01,
|
5 |
+
"desc_act": false,
|
6 |
+
"static_groups": false,
|
7 |
+
"sym": true,
|
8 |
+
"true_sequential": true,
|
9 |
+
"model_name_or_path": null,
|
10 |
+
"model_file_base_name": "pytorch_model.bin"
|
11 |
+
}
|