Create config.json
Browse files- config.json +47 -0
config.json
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "meta-llama/Llama-2-7b-hf",
|
3 |
+
"architectures": [
|
4 |
+
"LlamaForCausalLM"
|
5 |
+
],
|
6 |
+
"bos_token_id": 1,
|
7 |
+
"eos_token_id": 2,
|
8 |
+
"hidden_act": "silu",
|
9 |
+
"hidden_size": 4096,
|
10 |
+
"initializer_range": 0.02,
|
11 |
+
"intermediate_size": 11008,
|
12 |
+
"max_position_embeddings": 2048,
|
13 |
+
"model_type": "llama",
|
14 |
+
"num_attention_heads": 32,
|
15 |
+
"num_hidden_layers": 32,
|
16 |
+
"num_key_value_heads": 32,
|
17 |
+
"pad_token_id": 0,
|
18 |
+
"pretraining_tp": 1,
|
19 |
+
"rms_norm_eps": 1e-05,
|
20 |
+
"rope_scaling": null,
|
21 |
+
"tie_word_embeddings": false,
|
22 |
+
"torch_dtype": "float32",
|
23 |
+
"transformers_version": "4.29.2",
|
24 |
+
"use_cache": true,
|
25 |
+
"vocab_size": 32000,
|
26 |
+
"lora": {
|
27 |
+
"alpha_pattern": {},
|
28 |
+
"auto_mapping": null,
|
29 |
+
"bias": "none",
|
30 |
+
"fan_in_fan_out": false,
|
31 |
+
"inference_mode": true,
|
32 |
+
"init_lora_weights": true,
|
33 |
+
"layers_pattern": null,
|
34 |
+
"layers_to_transform": null,
|
35 |
+
"lora_alpha": 32,
|
36 |
+
"lora_dropout": 0.05,
|
37 |
+
"modules_to_save": null,
|
38 |
+
"peft_type": "LORA",
|
39 |
+
"r": 16,
|
40 |
+
"rank_pattern": {},
|
41 |
+
"target_modules": [
|
42 |
+
"q_proj",
|
43 |
+
"v_proj"
|
44 |
+
],
|
45 |
+
"task_type": "CAUSAL_LM"
|
46 |
+
}
|
47 |
+
}
|