Alignment-Lab-AI
commited on
Commit
•
8fef9f8
1
Parent(s):
c57f440
Update config.json
Browse files- config.json +14 -2
config.json
CHANGED
@@ -11,17 +11,29 @@
|
|
11 |
"hidden_size": 2048,
|
12 |
"initializer_range": 0.02,
|
13 |
"intermediate_size": 5632,
|
14 |
-
"max_position_embeddings":
|
15 |
"model_type": "llama",
|
16 |
"num_attention_heads": 32,
|
17 |
"num_hidden_layers": 22,
|
18 |
"num_key_value_heads": 4,
|
19 |
"pretraining_tp": 1,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
"rms_norm_eps": 1e-05,
|
21 |
"rope_scaling": null,
|
22 |
"rope_theta": 10000.0,
|
23 |
"tie_word_embeddings": false,
|
24 |
-
|
25 |
"transformers_version": "4.36.2",
|
26 |
"use_cache": true,
|
27 |
"vocab_size": 32000
|
|
|
11 |
"hidden_size": 2048,
|
12 |
"initializer_range": 0.02,
|
13 |
"intermediate_size": 5632,
|
14 |
+
"max_position_embeddings": 2048,
|
15 |
"model_type": "llama",
|
16 |
"num_attention_heads": 32,
|
17 |
"num_hidden_layers": 22,
|
18 |
"num_key_value_heads": 4,
|
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": true,
|
24 |
+
"llm_int8_enable_fp32_cpu_offload": false,
|
25 |
+
"llm_int8_has_fp16_weight": false,
|
26 |
+
"llm_int8_skip_modules": null,
|
27 |
+
"llm_int8_threshold": 6.0,
|
28 |
+
"load_in_4bit": true,
|
29 |
+
"load_in_8bit": false,
|
30 |
+
"quant_method": "bitsandbytes"
|
31 |
+
},
|
32 |
"rms_norm_eps": 1e-05,
|
33 |
"rope_scaling": null,
|
34 |
"rope_theta": 10000.0,
|
35 |
"tie_word_embeddings": false,
|
36 |
+
"torch_dtype": "float32",
|
37 |
"transformers_version": "4.36.2",
|
38 |
"use_cache": true,
|
39 |
"vocab_size": 32000
|