Upload 6 files
Browse files- config.json +55 -0
- gptq_model-4bit-128g.bin +3 -0
- quantize_config.json +13 -0
- qwen.tiktoken +0 -0
- special_tokens_map.json +1 -0
- tokenizer_config.json +12 -0
config.json
ADDED
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "Qwen/Qwen-1_8B",
|
3 |
+
"architectures": [
|
4 |
+
"QWenLMHeadModel"
|
5 |
+
],
|
6 |
+
"attn_dropout_prob": 0.0,
|
7 |
+
"auto_map": {
|
8 |
+
"AutoConfig": "Qwen/Qwen-1_8B--configuration_qwen.QWenConfig",
|
9 |
+
"AutoModelForCausalLM": "Qwen/Qwen-1_8B--modeling_qwen.QWenLMHeadModel"
|
10 |
+
},
|
11 |
+
"bf16": true,
|
12 |
+
"emb_dropout_prob": 0.0,
|
13 |
+
"fp16": false,
|
14 |
+
"fp32": false,
|
15 |
+
"hidden_size": 2048,
|
16 |
+
"initializer_range": 0.02,
|
17 |
+
"intermediate_size": 11008,
|
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": 16,
|
24 |
+
"num_hidden_layers": 24,
|
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": null,
|
33 |
+
"model_name_or_path": null,
|
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": 8192,
|
43 |
+
"softmax_in_fp32": false,
|
44 |
+
"tie_word_embeddings": false,
|
45 |
+
"tokenizer_class": "QWenTokenizer",
|
46 |
+
"torch_dtype": "float16",
|
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": true,
|
53 |
+
"use_logn_attn": true,
|
54 |
+
"vocab_size": 151936
|
55 |
+
}
|
gptq_model-4bit-128g.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e20becf7892165f8047bb4269b30ed5ccfad3bed1bbd7a339bd57019faf0532e
|
3 |
+
size 1878259231
|
quantize_config.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bits": 4,
|
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": null,
|
11 |
+
"is_marlin_format": false,
|
12 |
+
"quant_method": "gptq"
|
13 |
+
}
|
qwen.tiktoken
ADDED
The diff for this file is too large to render.
See raw diff
|
|
special_tokens_map.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{}
|
tokenizer_config.json
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {},
|
3 |
+
"auto_map": {
|
4 |
+
"AutoTokenizer": [
|
5 |
+
"Qwen/Qwen-1_8B--tokenization_qwen.QWenTokenizer",
|
6 |
+
null
|
7 |
+
]
|
8 |
+
},
|
9 |
+
"clean_up_tokenization_spaces": true,
|
10 |
+
"model_max_length": 8192,
|
11 |
+
"tokenizer_class": "QWenTokenizer"
|
12 |
+
}
|