Update config.json
Browse files- config.json +32 -36
config.json
CHANGED
@@ -1,40 +1,36 @@
|
|
1 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
"model_type": "llama",
|
3 |
-
"architectures": ["LlamaForCausalLM"],
|
4 |
-
"hidden_size": 4096,
|
5 |
"num_attention_heads": 32,
|
6 |
-
"num_hidden_layers":
|
7 |
-
"
|
8 |
-
"
|
9 |
-
"
|
10 |
-
"
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
"quantization": {
|
17 |
-
"enabled": true,
|
18 |
-
"bits": 4,
|
19 |
-
"method": "PTQ",
|
20 |
-
"reduce_precision": true
|
21 |
-
},
|
22 |
-
"training": {
|
23 |
-
"epochs": 3,
|
24 |
-
"batch_size": 16,
|
25 |
-
"learning_rate": 5e-5,
|
26 |
-
"warmup_steps": 100,
|
27 |
-
"weight_decay": 0.01,
|
28 |
-
"logging_steps": 50,
|
29 |
-
"save_steps": 500,
|
30 |
-
"eval_steps": 100
|
31 |
-
},
|
32 |
-
"tokenizer": {
|
33 |
-
"type": "LlamaTokenizer",
|
34 |
-
"model_max_length": 2048
|
35 |
},
|
36 |
-
"
|
37 |
-
"
|
38 |
-
"
|
39 |
-
"
|
40 |
-
|
|
|
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "meta-llama/Llama-3.2-1B",
|
3 |
+
"architectures": [
|
4 |
+
"LlamaForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_bias": false,
|
7 |
+
"attention_dropout": 0.0,
|
8 |
+
"bos_token_id": 128000,
|
9 |
+
"eos_token_id": 128001,
|
10 |
+
"head_dim": 64,
|
11 |
+
"hidden_act": "silu",
|
12 |
+
"hidden_size": 2048,
|
13 |
+
"initializer_range": 0.02,
|
14 |
+
"intermediate_size": 8192,
|
15 |
+
"max_position_embeddings": 131072,
|
16 |
+
"mlp_bias": false,
|
17 |
"model_type": "llama",
|
|
|
|
|
18 |
"num_attention_heads": 32,
|
19 |
+
"num_hidden_layers": 16,
|
20 |
+
"num_key_value_heads": 8,
|
21 |
+
"pretraining_tp": 1,
|
22 |
+
"rms_norm_eps": 1e-05,
|
23 |
+
"rope_scaling": {
|
24 |
+
"factor": 32.0,
|
25 |
+
"high_freq_factor": 4.0,
|
26 |
+
"low_freq_factor": 1.0,
|
27 |
+
"original_max_position_embeddings": 8192,
|
28 |
+
"rope_type": "llama3"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
},
|
30 |
+
"rope_theta": 500000.0,
|
31 |
+
"tie_word_embeddings": true,
|
32 |
+
"torch_dtype": "float32",
|
33 |
+
"transformers_version": "4.46.3",
|
34 |
+
"use_cache": true,
|
35 |
+
"vocab_size": 128256
|
36 |
+
}
|