codesbyusman commited on
Commit
b8946ae
1 Parent(s): bceb199

Upload config

Browse files
Files changed (1) hide show
  1. config.json +56 -0
config.json ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "codesbyusman/codellama7bvulnerabilitymitigator",
3
+ "alpha_pattern": {},
4
+ "attention_bias": false,
5
+ "attention_dropout": 0.0,
6
+ "auto_mapping": null,
7
+ "base_model_name_or_path": "unsloth/codellama-7b-bnb-4bit",
8
+ "bias": "none",
9
+ "bos_token_id": 1,
10
+ "eos_token_id": 2,
11
+ "fan_in_fan_out": false,
12
+ "hidden_act": "silu",
13
+ "hidden_size": 4096,
14
+ "inference_mode": true,
15
+ "init_lora_weights": true,
16
+ "initializer_range": 0.02,
17
+ "intermediate_size": 11008,
18
+ "layer_replication": null,
19
+ "layers_pattern": null,
20
+ "layers_to_transform": null,
21
+ "loftq_config": {},
22
+ "lora_alpha": 16,
23
+ "lora_dropout": 0,
24
+ "max_position_embeddings": 2048,
25
+ "megatron_config": null,
26
+ "megatron_core": "megatron.core",
27
+ "model_type": "llama",
28
+ "modules_to_save": null,
29
+ "num_attention_heads": 32,
30
+ "num_hidden_layers": 32,
31
+ "num_key_value_heads": 32,
32
+ "peft_type": "LORA",
33
+ "pretraining_tp": 1,
34
+ "r": 16,
35
+ "rank_pattern": {},
36
+ "revision": "unsloth",
37
+ "rms_norm_eps": 1e-06,
38
+ "rope_scaling": null,
39
+ "rope_theta": 10000.0,
40
+ "target_modules": [
41
+ "k_proj",
42
+ "down_proj",
43
+ "v_proj",
44
+ "gate_proj",
45
+ "q_proj",
46
+ "up_proj",
47
+ "o_proj"
48
+ ],
49
+ "task_type": "CAUSAL_LM",
50
+ "tie_word_embeddings": false,
51
+ "transformers_version": "4.40.1",
52
+ "use_cache": true,
53
+ "use_dora": false,
54
+ "use_rslora": false,
55
+ "vocab_size": 32000
56
+ }