yongseonlee
commited on
Commit
•
89ea2ec
1
Parent(s):
efa0ca5
Upload MistralForCausalLM
Browse files- config.json +12 -14
- generation_config.json +1 -0
- model.safetensors +2 -2
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"architectures": [
|
4 |
"MistralForCausalLM"
|
5 |
],
|
@@ -15,26 +15,24 @@
|
|
15 |
"num_attention_heads": 32,
|
16 |
"num_hidden_layers": 32,
|
17 |
"num_key_value_heads": 8,
|
18 |
-
"pad_token_id": 0,
|
19 |
"quantization_config": {
|
20 |
-
"
|
21 |
-
"
|
22 |
-
"
|
23 |
-
"
|
24 |
-
"
|
25 |
-
"
|
26 |
-
"
|
27 |
-
"
|
28 |
-
"
|
29 |
-
"
|
30 |
},
|
31 |
"rms_norm_eps": 1e-05,
|
32 |
"rope_theta": 1000000.0,
|
33 |
"sliding_window": null,
|
34 |
"tie_word_embeddings": false,
|
35 |
-
"torch_dtype": "
|
36 |
"transformers_version": "4.38.2",
|
37 |
-
"unsloth_version": "2024.4",
|
38 |
"use_cache": true,
|
39 |
"vocab_size": 32000
|
40 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "quant-awq",
|
3 |
"architectures": [
|
4 |
"MistralForCausalLM"
|
5 |
],
|
|
|
15 |
"num_attention_heads": 32,
|
16 |
"num_hidden_layers": 32,
|
17 |
"num_key_value_heads": 8,
|
|
|
18 |
"quantization_config": {
|
19 |
+
"backend": "autoawq",
|
20 |
+
"bits": 4,
|
21 |
+
"do_fuse": false,
|
22 |
+
"fuse_max_seq_len": null,
|
23 |
+
"group_size": 128,
|
24 |
+
"modules_to_fuse": null,
|
25 |
+
"modules_to_not_convert": null,
|
26 |
+
"quant_method": "awq",
|
27 |
+
"version": "gemm",
|
28 |
+
"zero_point": true
|
29 |
},
|
30 |
"rms_norm_eps": 1e-05,
|
31 |
"rope_theta": 1000000.0,
|
32 |
"sliding_window": null,
|
33 |
"tie_word_embeddings": false,
|
34 |
+
"torch_dtype": "float16",
|
35 |
"transformers_version": "4.38.2",
|
|
|
36 |
"use_cache": true,
|
37 |
"vocab_size": 32000
|
38 |
}
|
generation_config.json
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
{
|
2 |
"_from_model_config": true,
|
3 |
"bos_token_id": 1,
|
|
|
4 |
"eos_token_id": 2,
|
5 |
"transformers_version": "4.38.2"
|
6 |
}
|
|
|
1 |
{
|
2 |
"_from_model_config": true,
|
3 |
"bos_token_id": 1,
|
4 |
+
"do_sample": true,
|
5 |
"eos_token_id": 2,
|
6 |
"transformers_version": "4.38.2"
|
7 |
}
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dd6722c35d4396fc352363e28f9bb9ad05475aa1d72f1134a23e3c924d6d7ebf
|
3 |
+
size 4150880232
|