Guilherme34
commited on
Commit
•
1c5597f
1
Parent(s):
396d17a
Upload folder using huggingface_hub
Browse files- config.json +36 -0
- generation_config.json +14 -0
- model.safetensors +3 -0
config.json
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "./quantized_model",
|
3 |
+
"architectures": [
|
4 |
+
"Qwen2ForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_dropout": 0.0,
|
7 |
+
"bos_token_id": 151643,
|
8 |
+
"eos_token_id": 151645,
|
9 |
+
"hidden_act": "silu",
|
10 |
+
"hidden_size": 896,
|
11 |
+
"initializer_range": 0.02,
|
12 |
+
"intermediate_size": 4864,
|
13 |
+
"max_position_embeddings": 32768,
|
14 |
+
"max_window_layers": 24,
|
15 |
+
"model_type": "qwen2",
|
16 |
+
"num_attention_heads": 14,
|
17 |
+
"num_hidden_layers": 24,
|
18 |
+
"num_key_value_heads": 2,
|
19 |
+
"quantization_config": {
|
20 |
+
"bits": 4,
|
21 |
+
"group_size": 128,
|
22 |
+
"modules_to_not_convert": null,
|
23 |
+
"quant_method": "awq",
|
24 |
+
"version": "gemm",
|
25 |
+
"zero_point": true
|
26 |
+
},
|
27 |
+
"rms_norm_eps": 1e-06,
|
28 |
+
"rope_theta": 1000000.0,
|
29 |
+
"sliding_window": null,
|
30 |
+
"tie_word_embeddings": true,
|
31 |
+
"torch_dtype": "bfloat16",
|
32 |
+
"transformers_version": "4.44.2",
|
33 |
+
"use_cache": false,
|
34 |
+
"use_sliding_window": false,
|
35 |
+
"vocab_size": 151936
|
36 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token_id": 151643,
|
3 |
+
"do_sample": true,
|
4 |
+
"eos_token_id": [
|
5 |
+
151645,
|
6 |
+
151643
|
7 |
+
],
|
8 |
+
"pad_token_id": 151643,
|
9 |
+
"repetition_penalty": 1.1,
|
10 |
+
"temperature": 0.7,
|
11 |
+
"top_k": 20,
|
12 |
+
"top_p": 0.8,
|
13 |
+
"transformers_version": "4.44.2"
|
14 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cc98f52bd1b0ca32997b0723f0cac6607f98d9e072deac13941b0caeaf92de4a
|
3 |
+
size 730652296
|