Upload config.json with huggingface_hub
Browse files- config.json +5 -1
config.json
CHANGED
@@ -12,13 +12,17 @@
|
|
12 |
"initializer_range": 0.02,
|
13 |
"intermediate_size": 14336,
|
14 |
"max_position_embeddings": 8192,
|
|
|
15 |
"model_type": "llama",
|
16 |
"num_attention_heads": 32,
|
17 |
"num_hidden_layers": 32,
|
18 |
"num_key_value_heads": 8,
|
19 |
"pretraining_tp": 1,
|
20 |
"quantization_config": {
|
|
|
|
|
21 |
"bnb_4bit_compute_dtype": "float16",
|
|
|
22 |
"bnb_4bit_quant_type": "nf4",
|
23 |
"bnb_4bit_use_double_quant": false,
|
24 |
"llm_int8_enable_fp32_cpu_offload": false,
|
@@ -34,7 +38,7 @@
|
|
34 |
"rope_theta": 500000.0,
|
35 |
"tie_word_embeddings": false,
|
36 |
"torch_dtype": "float32",
|
37 |
-
"transformers_version": "4.
|
38 |
"use_cache": false,
|
39 |
"vocab_size": 128256
|
40 |
}
|
|
|
12 |
"initializer_range": 0.02,
|
13 |
"intermediate_size": 14336,
|
14 |
"max_position_embeddings": 8192,
|
15 |
+
"mlp_bias": false,
|
16 |
"model_type": "llama",
|
17 |
"num_attention_heads": 32,
|
18 |
"num_hidden_layers": 32,
|
19 |
"num_key_value_heads": 8,
|
20 |
"pretraining_tp": 1,
|
21 |
"quantization_config": {
|
22 |
+
"_load_in_4bit": true,
|
23 |
+
"_load_in_8bit": false,
|
24 |
"bnb_4bit_compute_dtype": "float16",
|
25 |
+
"bnb_4bit_quant_storage": "uint8",
|
26 |
"bnb_4bit_quant_type": "nf4",
|
27 |
"bnb_4bit_use_double_quant": false,
|
28 |
"llm_int8_enable_fp32_cpu_offload": false,
|
|
|
38 |
"rope_theta": 500000.0,
|
39 |
"tie_word_embeddings": false,
|
40 |
"torch_dtype": "float32",
|
41 |
+
"transformers_version": "4.44.0",
|
42 |
"use_cache": false,
|
43 |
"vocab_size": 128256
|
44 |
}
|